TransmissionAmplitude

class nexus.TransmissionAmplitude(experiment, sample, energy, angles, id='')

Bases: Measurement

Constructor for the TransmissionAmplitude class. Calculates the amplitude of the experiment for one sample whose incidence angle is changed in grazing-incidence transmission geometry. No beam profile correction is applied.

Parameters:
  • id (string) – User identifier.

  • experiment (Experiment) – Experiment.

  • sample (GrazingSample) –

    Sample of the Experiment whose angle is changed.

    Changed in version 2.0.0: changed from old Sample class to GrazingSample.

  • energy (float) – X-ray energy in eV.

  • angles (list) – List of the angles.

id

User identifier.

Type:

string

experiment

Experiment.

Type:

Experiment

sample

Sample of the Experiment whose angle is changed.

Changed in version 2.0.0: changed from old Sample class to GrazingSample.

Type:

GrazingSample

energy

X-ray energy in eV.

Type:

float

angles

List of the angles.

Type:

list

result

List of intensity values.

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