mirror of
https://github.com/vale981/master-thesis
synced 2025-03-05 18:11:42 -05:00
be a little gentler on the memory
This commit is contained in:
parent
bb531bf72d
commit
ebfcbb5137
2 changed files with 24 additions and 16 deletions
|
@ -177,22 +177,22 @@ model, Δ, (τ_mod, τ_c, τ_bath, cycles, model.ω_s, ω_0, τ_s, τ_off, n, Δ
|
|||
Δ=5,
|
||||
ε=.7,
|
||||
ω_c=1,
|
||||
ε_couple=0.7,
|
||||
ε_couple=0.6,
|
||||
n=1,
|
||||
detune=-0.8,
|
||||
ω_0=20,
|
||||
T_c=8,
|
||||
T_h=40,
|
||||
δ=[1.5, 1],
|
||||
δ=[1, 1],
|
||||
γ=5 / 10,
|
||||
switch_cycles=1,
|
||||
therm_initial_state=False,
|
||||
s=[1]*2,
|
||||
ε_init=.002,
|
||||
ε_init=.2,
|
||||
terms = 6,
|
||||
dt=.001
|
||||
)
|
||||
model.k_max = 4
|
||||
model.k_max = 2
|
||||
# model, params = anti_zeno_engine(ε=1/2, ε_couple=1e-4, n=1, detune=.5, δ=[.1,.1])
|
||||
|
||||
cycles
|
||||
|
@ -216,7 +216,7 @@ vs = np.linspace(0.1, 10, 100)
|
|||
plt.plot(vs, chi(vs, ω_0))
|
||||
plt.plot(vs, G_h(vs))
|
||||
|
||||
aux.integrate(model, 10_000)
|
||||
aux.integrate(model, 1)
|
||||
|
||||
_, ax = fs.plot_energy_overview(model, markersize=1, ensemble_args=dict(gc_sleep=0.05))
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ Init ray and silence stocproc.
|
|||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
: RayContext(dashboard_url='', python_version='3.9.13', ray_version='1.13.0', ray_commit='e4ce38d001dbbe09cd21c497fedd03d692b2be3e', address_info={'node_ip_address': '192.168.44.161', 'raylet_ip_address': '192.168.44.161', 'redis_address': None, 'object_store_address': '/tmp/ray/session_2022-07-08_20-42-13_086230_9177/sockets/plasma_store', 'raylet_socket_name': '/tmp/ray/session_2022-07-08_20-42-13_086230_9177/sockets/raylet', 'webui_url': '', 'session_dir': '/tmp/ray/session_2022-07-08_20-42-13_086230_9177', 'metrics_export_port': 55982, 'gcs_address': '192.168.44.161:47906', 'address': '192.168.44.161:47906', 'node_id': '777d215ec577f3f3be74131851c2e58a4b7823c8ee0ee1c0daf64b26'})
|
||||
: RayContext(dashboard_url='', python_version='3.9.13', ray_version='1.13.0', ray_commit='e4ce38d001dbbe09cd21c497fedd03d692b2be3e', address_info={'node_ip_address': '192.168.0.2', 'raylet_ip_address': '192.168.0.2', 'redis_address': None, 'object_store_address': '/tmp/ray/session_2022-07-10_08-42-14_430812_11515/sockets/plasma_store', 'raylet_socket_name': '/tmp/ray/session_2022-07-10_08-42-14_430812_11515/sockets/raylet', 'webui_url': '', 'session_dir': '/tmp/ray/session_2022-07-10_08-42-14_430812_11515', 'metrics_export_port': 54053, 'gcs_address': '192.168.0.2:63089', 'address': '192.168.0.2:63089', 'node_id': 'f2c9d5d1ea6cd5cb7ec31dcdeed48c2e50da495e6198df52b28aa382'})
|
||||
|
||||
#+begin_src jupyter-python :results none
|
||||
from hops.util.logging_setup import logging_setup
|
||||
|
@ -197,22 +197,22 @@ Init ray and silence stocproc.
|
|||
Δ=5,
|
||||
ε=.7,
|
||||
ω_c=1,
|
||||
ε_couple=0.7,
|
||||
ε_couple=0.6,
|
||||
n=1,
|
||||
detune=-0.8,
|
||||
ω_0=20,
|
||||
T_c=8,
|
||||
T_h=40,
|
||||
δ=[1.5, 1],
|
||||
δ=[1, 1],
|
||||
γ=5 / 10,
|
||||
switch_cycles=1,
|
||||
therm_initial_state=False,
|
||||
s=[1]*2,
|
||||
ε_init=.002,
|
||||
ε_init=.2,
|
||||
terms = 6,
|
||||
dt=.001
|
||||
)
|
||||
model.k_max = 4
|
||||
model.k_max = 2
|
||||
# model, params = anti_zeno_engine(ε=1/2, ε_couple=1e-4, n=1, detune=.5, δ=[.1,.1])
|
||||
#+end_src
|
||||
|
||||
|
@ -225,7 +225,7 @@ Let's test the assumptions of the paper.
|
|||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
: 4
|
||||
: 6
|
||||
|
||||
** BCFs and Modulations
|
||||
#+begin_src jupyter-python :tangle nil
|
||||
|
@ -241,8 +241,8 @@ Let's test the assumptions of the paper.
|
|||
|
||||
#+RESULTS:
|
||||
:RESULTS:
|
||||
| <matplotlib.lines.Line2D | at | 0x7fecc7b29e20> |
|
||||
[[file:./.ob-jupyter/b0d33f3fad98f2fde187cfc60838954fa59483ac.svg]]
|
||||
| <matplotlib.lines.Line2D | at | 0x7fefdd4cb340> |
|
||||
[[file:./.ob-jupyter/eae242a4196381ee5756a3b8324809ecd2e45aa7.svg]]
|
||||
:END:
|
||||
|
||||
#+begin_src jupyter-python :tangle nil
|
||||
|
@ -260,8 +260,8 @@ Let's test the assumptions of the paper.
|
|||
|
||||
#+RESULTS:
|
||||
:RESULTS:
|
||||
| <matplotlib.lines.Line2D | at | 0x7fecc7b87250> |
|
||||
[[file:./.ob-jupyter/8e50fb3d967104841dc709500f726167c22a846d.svg]]
|
||||
| <matplotlib.lines.Line2D | at | 0x7fefdd8a7670> |
|
||||
[[file:./.ob-jupyter/89fa9d020cfafcb0ae5f7de1a41babd430954a82.svg]]
|
||||
:END:
|
||||
|
||||
#+begin_src jupyter-python
|
||||
|
@ -314,9 +314,17 @@ Let's test the assumptions of the paper.
|
|||
|
||||
** TODO Integration
|
||||
#+begin_src jupyter-python
|
||||
aux.integrate(model, 10_000)
|
||||
aux.integrate(model, 1)
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
: [INFO hops.core.integration 11515] Choosing the nonlinear integrator.
|
||||
: [INFO hops.core.integration 11515] Using 4 integrators.
|
||||
: [INFO hops.core.integration 11515] Some 1 trajectories have to be integrated.
|
||||
: [INFO hops.core.integration 11515] Using 6188 hierarchy states.
|
||||
: 0% 0/1 [00:00<?, ?it/s][INFO hops.core.signal_delay 11515] caught sig 'SIGINT'
|
||||
: [INFO hops.core.signal_delay 11515] caught sig 'SIGINT'
|
||||
|
||||
|
||||
#+begin_src jupyter-python
|
||||
_, ax = fs.plot_energy_overview(model, markersize=1, ensemble_args=dict(gc_sleep=0.05))
|
||||
|
|
Loading…
Add table
Reference in a new issue