EnergyTimeAmplitude
- class nexus.EnergyTimeAmplitude(experiment, time_length=200, time_step=0.2, mode='i', electronic=False, id='')
Bases:
Measurement
Constructor for the
EnergyTimeAmplitude
class. Class to calculate the energy and time-dependent Jones vector of the experiment. One sample has to have a drive detuning.- Parameters:
id (string) – User identifier.
experiment (
Experiment
) – Experiment.time_length (float) – Length of the calculation in nanoseconds.
time_step (float) – Step size of the calculation in nanoseconds.
mode (string) –
Identifier for the calculation mode.
i
Interpolate detuning values. Fast mode.f
Full calculation via change of the isomer shift. Slow mode.
electronic (bool) – If
True
electronic scattering is also included.
- id
User identifier.
- Type:
string
- experiment
Experiment
- Type:
- time_length
Length of the calculation in nanoseconds.
- Type:
float
- time_step
Step size of the calculation in nanoseconds.
- Type:
float
- electronic
If True electronic scattering is also included.
- Type:
bool
- mode
Identifier for the calculation mode.
i
: interpolate detuning values, fast mode.f
: full calculation via change of the isomer shift.
result (array): Array of Jones vectors in units of (\(\sqrt(\Gamma/ns)\)). drive_sample (
Sample
):Sample
object with drive detuning.New in version 1.0.3.
- Type:
string
- Calculate()
Calculates the class method. Also callable via operator
()
.- Returns:
2D array of Jones vectors.
- Return type:
ndarray