tnfr 3.0.2__py3-none-any.whl → 3.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tnfr might be problematic. Click here for more details.
- tnfr/__init__.py +20 -16
- {tnfr-3.0.2.dist-info → tnfr-3.0.3.dist-info}/METADATA +1 -1
- {tnfr-3.0.2.dist-info → tnfr-3.0.3.dist-info}/RECORD +6 -6
- {tnfr-3.0.2.dist-info → tnfr-3.0.3.dist-info}/WHEEL +0 -0
- {tnfr-3.0.2.dist-info → tnfr-3.0.3.dist-info}/licenses/LICENSE.txt +0 -0
- {tnfr-3.0.2.dist-info → tnfr-3.0.3.dist-info}/top_level.txt +0 -0
tnfr/__init__.py
CHANGED
|
@@ -7,39 +7,43 @@ Ecuación nodal:
|
|
|
7
7
|
∂EPI/∂t = νf · ΔNFR(t)
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
__version__ = "3.0.
|
|
11
|
-
|
|
12
|
-
# -------------------------------------------------------------------
|
|
13
|
-
# 1) Registrar alias en sys.modules ANTES de cargar submódulos que
|
|
14
|
-
# hacen imports absolutos (p.ej. `from constants import ...`).
|
|
15
|
-
# Orden: constants -> helpers -> operators -> observers
|
|
16
|
-
# Luego: dynamics / ontosim (que dependen de los anteriores)
|
|
17
|
-
# -------------------------------------------------------------------
|
|
10
|
+
__version__ = "3.0.3"
|
|
11
|
+
|
|
18
12
|
import sys as _sys
|
|
19
13
|
|
|
20
|
-
#
|
|
14
|
+
# ------------------------------------------------------------
|
|
15
|
+
# 1) Crear alias para módulos con imports absolutos entre sí
|
|
16
|
+
# (los submódulos usan cosas tipo `from constants import ...`)
|
|
17
|
+
# Por eso registramos primero: constants → helpers → operators → observers
|
|
18
|
+
# ------------------------------------------------------------
|
|
21
19
|
from . import constants as _constants
|
|
22
20
|
_sys.modules.setdefault("constants", _constants)
|
|
23
21
|
|
|
24
|
-
# 1.b helpers (usa: from constants import ...)
|
|
25
22
|
from . import helpers as _helpers
|
|
26
23
|
_sys.modules.setdefault("helpers", _helpers)
|
|
27
24
|
|
|
28
|
-
# 1.c operators (usa: from constants/helpers import ...)
|
|
29
25
|
from . import operators as _operators
|
|
30
26
|
_sys.modules.setdefault("operators", _operators)
|
|
31
27
|
|
|
32
|
-
# 1.d observers (usa: from constants/helpers import ...)
|
|
33
28
|
from . import observers as _observers
|
|
34
29
|
_sys.modules.setdefault("observers", _observers)
|
|
35
30
|
|
|
36
|
-
#
|
|
31
|
+
# ------------------------------------------------------------
|
|
32
|
+
# 2) IMPORTAR dynamics y ALIAS antes de ontosim
|
|
33
|
+
# (porque ontosim hace `from dynamics import ...`)
|
|
34
|
+
# ------------------------------------------------------------
|
|
37
35
|
from . import dynamics as _dynamics
|
|
38
|
-
from . import ontosim as _ontosim
|
|
39
36
|
_sys.modules.setdefault("dynamics", _dynamics)
|
|
40
|
-
_sys.modules.setdefault("ontosim", _ontosim)
|
|
41
37
|
|
|
42
|
-
#
|
|
38
|
+
# ------------------------------------------------------------
|
|
39
|
+
# 3) Ahora sí, importar ontosim y alias
|
|
40
|
+
# ------------------------------------------------------------
|
|
41
|
+
from . import ontosim as _ontosim
|
|
42
|
+
_sys.modules.setdefault("ontosim", _ontosim)
|
|
43
|
+
|
|
44
|
+
# ------------------------------------------------------------
|
|
45
|
+
# 4) Re-exports de la API pública
|
|
46
|
+
# ------------------------------------------------------------
|
|
43
47
|
from .dynamics import step, run, set_delta_nfr_hook
|
|
44
48
|
from .ontosim import preparar_red
|
|
45
49
|
from .observers import attach_standard_observer, coherencia_global, orden_kuramoto
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tnfr/__init__.py,sha256=
|
|
1
|
+
tnfr/__init__.py,sha256=TRSH_QpQJthBeGIUFVmxTBNyth5KqRrRfRBnTeGzA40,2012
|
|
2
2
|
tnfr/constants.py,sha256=_775sPHussR9vgkWRCLC6dzwgk_1_lLnSlWT8sBWR3U,7677
|
|
3
3
|
tnfr/dynamics.py,sha256=7B38c9SVKLVFBrKHeJ1nXbghoRHfDs8Nl9CqUmCcAyI,23260
|
|
4
4
|
tnfr/helpers.py,sha256=tZJsDXc8k9HIfg8BA9cVUEFKBoX1Rfnuhurl2Fvxsy0,6017
|
|
@@ -6,8 +6,8 @@ tnfr/main.py,sha256=TEngteuC9MD7Ec9bNGuCC9ym-2ohbh202-HGArCR4tk,1506
|
|
|
6
6
|
tnfr/observers.py,sha256=MoC-xLJuMP-UYj8cpIVlgSbXDsE1Uj70Zy51PSH3AJY,5192
|
|
7
7
|
tnfr/ontosim.py,sha256=U0IeNVF8rFNhnmWWux91xDc0djTDZQkqRRosP6Z7FmE,5485
|
|
8
8
|
tnfr/operators.py,sha256=M6ahJL8IuB2y4qiEalge5EufCz0eEbhw-O4xfh3NpwE,12146
|
|
9
|
-
tnfr-3.0.
|
|
10
|
-
tnfr-3.0.
|
|
11
|
-
tnfr-3.0.
|
|
12
|
-
tnfr-3.0.
|
|
13
|
-
tnfr-3.0.
|
|
9
|
+
tnfr-3.0.3.dist-info/licenses/LICENSE.txt,sha256=xTjBNhy3N8pomFljrCkD1d34SmAEWv8hyJMMOjNMH0M,1071
|
|
10
|
+
tnfr-3.0.3.dist-info/METADATA,sha256=aZbWmWTeChR9K_uZSOizMzwggsi5Kv2pQ6Apu58ut8I,1325
|
|
11
|
+
tnfr-3.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
12
|
+
tnfr-3.0.3.dist-info/top_level.txt,sha256=Q2HJnvc5Rt2VHwVvyBTnNPT4SfmJWnCj7XUxxEvQa7c,5
|
|
13
|
+
tnfr-3.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|