finesse.simulations.base module
- class finesse.simulations.base.ModelSettings[source]
Bases:
objectA class used to represent the settings of a model.
Attributes
- phase_configPhaseConfig
The configuration of the phase.
- homs_viewndarray
A view on the higher order modes (HOMs).
- max_nint
The maximum n value in the HOMs.
- max_mint
The maximum m value in the HOMs.
- num_HOMsint
The number of HOMs.
- lambda0float
The wavelength.
- f0float
The frequency, calculated as the speed of light divided by the wavelength.
- k0float
The wave number, calculated as 2*pi divided by the wavelength.
Methods
- __reduce__()
Returns a tuple that can be used to rebuild the object using rebuild_model_settings.
- set_lambda0(value)
Sets the wavelength and updates the frequency and wave number accordingly.
- EPSILON0_C
EPSILON0_C: ‘double’
- UNIT_VACUUM
UNIT_VACUUM: ‘double’
- f0
f0: ‘double’
- fsig
fsig: ‘double’
- homs_view
homs_view: ‘int[:, ::1]’
- is_modal
is_modal: ‘bool’
- k0
k0: ‘double’
- lambda0
lambda0: ‘double’
- max_m
max_m: ‘int’
- max_n
max_n: ‘int’
- num_HOMs
num_HOMs: ‘int’
- phase_config
phase_config: finesse.simulations.base.PhaseConfig
- set_lambda0(self, value)[source]
Sets the wavelength and updates the frequency and wave number accordingly.
Parameters
- valuefloat
The new wavelength.
- x_scale
x_scale: ‘double’