Amplitudes
- class nexus.Amplitudes(experiment, energy, id='')
Bases:
Measurement
Constructor for the
Amplitudes
class. Calculates the complex electronic field amplitudes after each object of the experiment.- Parameters:
id (string) – User identifier.
experiment (
Experiment
) – Experiment for the calculation.energy (float) – X-ray energy (eV).
- id
User identifier.
- Type:
string
- experiment
Experiment for the calculation.
- Type:
- energy
X-ray energy (eV).
- Type:
float
- result
List of complex scattering amplitudes.
- Type:
list
- Calculate()
Calculates the class method. Also callable via operator
()
.- Returns:
Array of complex values.
- Return type:
ndarray
- Velocity()
Returns the velocity detuning of the measurement in units of mm/s.
- Returns:
Velocity detuning (mm/s).
- Return type:
ndarray
Matrices
- class nexus.Matrices(experiment, energy, id='')
Bases:
Measurement
Constructor for the
Matrices
class. Calculates the complex electronic scattering matrix after each object of the experiment.- Parameters:
id (string) – User identifier.
experiment (
Experiment
) – Experiment for the calculation.energy (float) – X-ray energy (eV).
- id
User identifier.
- Type:
string
- experiment
Experiment for the calculation.
- Type:
- energy
X-ray energy (eV).
- Type:
float
- result
List of complex scattering amplitudes.
- Type:
list
- Velocity()
Returns the velocity detuning of the measurement in units of mm/s.
- Returns:
Velocity detuning (mm/s).
- Return type:
ndarray
JonesVectors
- class nexus.JonesVectors(experiment, energy, id='')
Bases:
Measurement
Constructor for the
JonesVectors
class. Calculates the complex electronic Jones vector after each object of the experiment.- Parameters:
id (string) – User identifier.
experiment (
Experiment
) – Experiment for the calculation.energy (float) – X-ray energy (eV).
- id
User identifier.
- Type:
string
- experiment
Experiment for the calculation.
- Type:
- energy
X-ray energy (eV).
- Type:
float
- result
List of complex scattering amplitudes.
- Type:
list
- Velocity()
Returns the velocity detuning of the measurement in units of mm/s.
- Returns:
Velocity detuning (mm/s).
- Return type:
ndarray
Intensities
- class nexus.Intensities(experiment, energy, id='')
Bases:
Measurement
Constructor for the
Matrices
class. Calculates the intensities after each object from the polarization dependent scattering matrix of the experiment.- Parameters:
id (string) – User identifier.
experiment (
Experiment
) – Experiment for the calculation.energy (float) – X-ray energy (eV).
- id
User identifier.
- Type:
string
- experiment
Experiment for the calculation.
- Type:
- energy
X-ray energy (eV).
- Type:
float
- result
List of complex scattering amplitudes.
- Type:
list
- Velocity()
Returns the velocity detuning of the measurement in units of mm/s.
- Returns:
Velocity detuning (mm/s).
- Return type:
ndarray