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 (
BasicSample
):BasicSample
object with drive detuning.Added in version 1.0.3.
Changed in version 2.0.0: changed from old
Sample
class toBasicSample
.- Type:
string
- Calculate()
Calculates the class method. Also callable via operator
()
.- Returns:
2D array of Jones vectors.
- Return type:
ndarray
- Velocity()
Returns the velocity detuning of the measurement in units of mm/s.
- Returns:
Velocity detuning (mm/s).
- Return type:
ndarray