mirror of
https://github.com/vale981/fibre_walk_project_code
synced 2025-03-04 17:31:39 -05:00
FIX: correct scaling for coupling strength
This commit is contained in:
parent
7a64746820
commit
5ea6684b1c
1 changed files with 5 additions and 2 deletions
|
@ -142,7 +142,10 @@ class Params:
|
||||||
|
|
||||||
|
|
||||||
class RuntimeParams:
|
class RuntimeParams:
|
||||||
"""Secondary Parameters that are required to run the simulation."""
|
"""Secondary Parameters that are required to run the simulation.
|
||||||
|
|
||||||
|
Here, every frequency is an *angular frequency.*
|
||||||
|
"""
|
||||||
|
|
||||||
def __init__(self, params: Params):
|
def __init__(self, params: Params):
|
||||||
self.params = params
|
self.params = params
|
||||||
|
@ -191,7 +194,7 @@ class RuntimeParams:
|
||||||
if norm > 0:
|
if norm > 0:
|
||||||
self.g *= params.g_0 / norm
|
self.g *= params.g_0 / norm
|
||||||
|
|
||||||
self.g *= 2 * np.pi
|
self.g *= params.Ω * 2 * np.pi
|
||||||
self.Ωs = Ωs
|
self.Ωs = Ωs
|
||||||
|
|
||||||
self.ε = (
|
self.ε = (
|
||||||
|
|
Loading…
Add table
Reference in a new issue