Interface NXbeam

All Superinterfaces:
GroupNode, Iterable<NodeLink>, Node, NXobject

public interface NXbeam extends NXobject
Properties of the neutron or X-ray beam at a given location. This group is intended to be referenced by beamline component groups within the :ref:`NXinstrument` group or by the :ref:`NXsample` group. This group is especially valuable in storing the results of instrument simulations in which it is useful to specify the beam profile, time distribution etc. at each beamline component. Otherwise, its most likely use is in the :ref:`NXsample` group in which it defines the results of the neutron scattering by the sample, e.g., energy transfer, polarizations. Finally, There are cases where the beam is considered as a beamline component and this group may be defined as a subgroup directly inside :ref:`NXinstrument`, in which case it is recommended that the position of the beam is specified by an :ref:`NXtransformations` group, unless the beam is at the origin (which is the sample). Note that ``incident_wavelength``, ``incident_energy``, and related fields can be a scalar values or arrays, depending on the use case. To support these use cases, the explicit dimensionality of these fields is not specified, but it can be inferred by the presence of and shape of accompanying fields, such as incident_wavelength_weights for a polychromatic beam.

Symbols: These symbols coordinate datasets with the same shape.

  • nP Number of scan points.
  • m Number of channels in the incident beam spectrum, if known
  • c Number of moments representing beam divergence (x, y, xy, etc.)

  • Field Details

  • Method Details

    • getDistance

      org.eclipse.january.dataset.Dataset getDistance()
      Distance from sample. Note, it is recommended to use NXtransformations instead.

      Type: NX_FLOAT Units: NX_LENGTH

      Returns:
      the value.
    • setDistance

      DataNode setDistance(org.eclipse.january.dataset.IDataset distanceDataset)
      Distance from sample. Note, it is recommended to use NXtransformations instead.

      Type: NX_FLOAT Units: NX_LENGTH

      Parameters:
      distanceDataset - the distanceDataset
    • getDistanceScalar

      Double getDistanceScalar()
      Distance from sample. Note, it is recommended to use NXtransformations instead.

      Type: NX_FLOAT Units: NX_LENGTH

      Returns:
      the value.
    • setDistanceScalar

      DataNode setDistanceScalar(Double distanceValue)
      Distance from sample. Note, it is recommended to use NXtransformations instead.

      Type: NX_FLOAT Units: NX_LENGTH

      Parameters:
      distance - the distance
    • getIncident_energy

      org.eclipse.january.dataset.Dataset getIncident_energy()
      Energy carried by each particle of the beam on entering the given location. Several use cases are permitted, depending on the presence or absence of other ``incident_energy_X`` fields. The usage should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Returns:
      the value.
    • setIncident_energy

      DataNode setIncident_energy(org.eclipse.january.dataset.IDataset incident_energyDataset)
      Energy carried by each particle of the beam on entering the given location. Several use cases are permitted, depending on the presence or absence of other ``incident_energy_X`` fields. The usage should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Parameters:
      incident_energyDataset - the incident_energyDataset
    • getIncident_energyScalar

      Double getIncident_energyScalar()
      Energy carried by each particle of the beam on entering the given location. Several use cases are permitted, depending on the presence or absence of other ``incident_energy_X`` fields. The usage should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Returns:
      the value.
    • setIncident_energyScalar

      DataNode setIncident_energyScalar(Double incident_energyValue)
      Energy carried by each particle of the beam on entering the given location. Several use cases are permitted, depending on the presence or absence of other ``incident_energy_X`` fields. The usage should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Parameters:
      incident_energy - the incident_energy
    • getIncident_energy_spread

      org.eclipse.january.dataset.Dataset getIncident_energy_spread()
      The energy spread FWHM for the corresponding energy(ies) in incident_energy. The usage of this field should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_NUMBER Units: NX_ENERGY

      Returns:
      the value.
    • setIncident_energy_spread

      DataNode setIncident_energy_spread(org.eclipse.january.dataset.IDataset incident_energy_spreadDataset)
      The energy spread FWHM for the corresponding energy(ies) in incident_energy. The usage of this field should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_NUMBER Units: NX_ENERGY

      Parameters:
      incident_energy_spreadDataset - the incident_energy_spreadDataset
    • getIncident_energy_spreadScalar

      Number getIncident_energy_spreadScalar()
      The energy spread FWHM for the corresponding energy(ies) in incident_energy. The usage of this field should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_NUMBER Units: NX_ENERGY

      Returns:
      the value.
    • setIncident_energy_spreadScalar

      DataNode setIncident_energy_spreadScalar(Number incident_energy_spreadValue)
      The energy spread FWHM for the corresponding energy(ies) in incident_energy. The usage of this field should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_NUMBER Units: NX_ENERGY

      Parameters:
      incident_energy_spread - the incident_energy_spread
    • getIncident_energy_weights

      org.eclipse.january.dataset.Dataset getIncident_energy_weights()
      Relative weights of the corresponding energies in ``incident_energy``. The usage of this field should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_NUMBER Units: NX_ENERGY

      Returns:
      the value.
    • setIncident_energy_weights

      DataNode setIncident_energy_weights(org.eclipse.january.dataset.IDataset incident_energy_weightsDataset)
      Relative weights of the corresponding energies in ``incident_energy``. The usage of this field should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_NUMBER Units: NX_ENERGY

      Parameters:
      incident_energy_weightsDataset - the incident_energy_weightsDataset
    • getIncident_energy_weightsScalar

      Number getIncident_energy_weightsScalar()
      Relative weights of the corresponding energies in ``incident_energy``. The usage of this field should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_NUMBER Units: NX_ENERGY

      Returns:
      the value.
    • setIncident_energy_weightsScalar

      DataNode setIncident_energy_weightsScalar(Number incident_energy_weightsValue)
      Relative weights of the corresponding energies in ``incident_energy``. The usage of this field should follow that of :ref:`incident_wavelength invalid input: '<'/NXbeam/incident_wavelength-field>`.

      Type: NX_NUMBER Units: NX_ENERGY

      Parameters:
      incident_energy_weights - the incident_energy_weights
    • getFinal_energy

      org.eclipse.january.dataset.Dataset getFinal_energy()
      Energy carried by each particle of the beam on leaving the given location

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Returns:
      the value.
    • setFinal_energy

      DataNode setFinal_energy(org.eclipse.january.dataset.IDataset final_energyDataset)
      Energy carried by each particle of the beam on leaving the given location

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Parameters:
      final_energyDataset - the final_energyDataset
    • getFinal_energyScalar

      Double getFinal_energyScalar()
      Energy carried by each particle of the beam on leaving the given location

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Returns:
      the value.
    • setFinal_energyScalar

      DataNode setFinal_energyScalar(Double final_energyValue)
      Energy carried by each particle of the beam on leaving the given location

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Parameters:
      final_energy - the final_energy
    • getEnergy_transfer

      org.eclipse.january.dataset.Dataset getEnergy_transfer()
      Change in particle energy caused by the beamline component

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Returns:
      the value.
    • setEnergy_transfer

      DataNode setEnergy_transfer(org.eclipse.january.dataset.IDataset energy_transferDataset)
      Change in particle energy caused by the beamline component

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Parameters:
      energy_transferDataset - the energy_transferDataset
    • getEnergy_transferScalar

      Double getEnergy_transferScalar()
      Change in particle energy caused by the beamline component

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Returns:
      the value.
    • setEnergy_transferScalar

      DataNode setEnergy_transferScalar(Double energy_transferValue)
      Change in particle energy caused by the beamline component

      Type: NX_FLOAT Units: NX_ENERGY Dimensions: 1: m;

      Parameters:
      energy_transfer - the energy_transfer
    • getIncident_wavelength

      org.eclipse.january.dataset.Dataset getIncident_wavelength()
      In the case of a monochromatic beam this is the scalar wavelength. Several other use cases are permitted, depending on the presence or absence of other incident_wavelength_X fields. In the case of a polychromatic beam this is an array of length **m** of wavelengths, with the relative weights in ``incident_wavelength_weights``. In the case of a monochromatic beam that varies shot- to-shot, this is an array of wavelengths, one for each recorded shot. Here, ``incident_wavelength_weights`` and incident_wavelength_spread are not set. In the case of a polychromatic beam that varies shot-to- shot, this is an array of length **m** with the relative weights in ``incident_wavelength_weights`` as a 2D array. In the case of a polychromatic beam that varies shot-to- shot and where the channels also vary, this is a 2D array of dimensions **nP** by **m** (slow to fast) with the relative weights in ``incident_wavelength_weights`` as a 2D array. Note, :ref:`variants invalid input: '<'Design-Variants>` are a good way to represent several of these use cases in a single dataset, e.g. if a calibrated, single-value wavelength value is available along with the original spectrum from which it was calibrated. Wavelength on entering beamline component

      Type: NX_FLOAT Units: NX_WAVELENGTH

      Returns:
      the value.
    • setIncident_wavelength

      DataNode setIncident_wavelength(org.eclipse.january.dataset.IDataset incident_wavelengthDataset)
      In the case of a monochromatic beam this is the scalar wavelength. Several other use cases are permitted, depending on the presence or absence of other incident_wavelength_X fields. In the case of a polychromatic beam this is an array of length **m** of wavelengths, with the relative weights in ``incident_wavelength_weights``. In the case of a monochromatic beam that varies shot- to-shot, this is an array of wavelengths, one for each recorded shot. Here, ``incident_wavelength_weights`` and incident_wavelength_spread are not set. In the case of a polychromatic beam that varies shot-to- shot, this is an array of length **m** with the relative weights in ``incident_wavelength_weights`` as a 2D array. In the case of a polychromatic beam that varies shot-to- shot and where the channels also vary, this is a 2D array of dimensions **nP** by **m** (slow to fast) with the relative weights in ``incident_wavelength_weights`` as a 2D array. Note, :ref:`variants invalid input: '<'Design-Variants>` are a good way to represent several of these use cases in a single dataset, e.g. if a calibrated, single-value wavelength value is available along with the original spectrum from which it was calibrated. Wavelength on entering beamline component

      Type: NX_FLOAT Units: NX_WAVELENGTH

      Parameters:
      incident_wavelengthDataset - the incident_wavelengthDataset
    • getIncident_wavelengthScalar

      Double getIncident_wavelengthScalar()
      In the case of a monochromatic beam this is the scalar wavelength. Several other use cases are permitted, depending on the presence or absence of other incident_wavelength_X fields. In the case of a polychromatic beam this is an array of length **m** of wavelengths, with the relative weights in ``incident_wavelength_weights``. In the case of a monochromatic beam that varies shot- to-shot, this is an array of wavelengths, one for each recorded shot. Here, ``incident_wavelength_weights`` and incident_wavelength_spread are not set. In the case of a polychromatic beam that varies shot-to- shot, this is an array of length **m** with the relative weights in ``incident_wavelength_weights`` as a 2D array. In the case of a polychromatic beam that varies shot-to- shot and where the channels also vary, this is a 2D array of dimensions **nP** by **m** (slow to fast) with the relative weights in ``incident_wavelength_weights`` as a 2D array. Note, :ref:`variants invalid input: '<'Design-Variants>` are a good way to represent several of these use cases in a single dataset, e.g. if a calibrated, single-value wavelength value is available along with the original spectrum from which it was calibrated. Wavelength on entering beamline component

      Type: NX_FLOAT Units: NX_WAVELENGTH

      Returns:
      the value.
    • setIncident_wavelengthScalar

      DataNode setIncident_wavelengthScalar(Double incident_wavelengthValue)
      In the case of a monochromatic beam this is the scalar wavelength. Several other use cases are permitted, depending on the presence or absence of other incident_wavelength_X fields. In the case of a polychromatic beam this is an array of length **m** of wavelengths, with the relative weights in ``incident_wavelength_weights``. In the case of a monochromatic beam that varies shot- to-shot, this is an array of wavelengths, one for each recorded shot. Here, ``incident_wavelength_weights`` and incident_wavelength_spread are not set. In the case of a polychromatic beam that varies shot-to- shot, this is an array of length **m** with the relative weights in ``incident_wavelength_weights`` as a 2D array. In the case of a polychromatic beam that varies shot-to- shot and where the channels also vary, this is a 2D array of dimensions **nP** by **m** (slow to fast) with the relative weights in ``incident_wavelength_weights`` as a 2D array. Note, :ref:`variants invalid input: '<'Design-Variants>` are a good way to represent several of these use cases in a single dataset, e.g. if a calibrated, single-value wavelength value is available along with the original spectrum from which it was calibrated. Wavelength on entering beamline component

      Type: NX_FLOAT Units: NX_WAVELENGTH

      Parameters:
      incident_wavelength - the incident_wavelength
    • getIncident_wavelength_weights

      org.eclipse.january.dataset.Dataset getIncident_wavelength_weights()
      In the case of a polychromatic beam this is an array of length **m** of the relative weights of the corresponding wavelengths in ``incident_wavelength``. In the case of a polychromatic beam that varies shot-to- shot, this is a 2D array of dimensions **nP** by **m** (slow to fast) of the relative weights of the corresponding wavelengths in ``incident_wavelength``.

      Type: NX_FLOAT

      Returns:
      the value.
    • setIncident_wavelength_weights

      DataNode setIncident_wavelength_weights(org.eclipse.january.dataset.IDataset incident_wavelength_weightsDataset)
      In the case of a polychromatic beam this is an array of length **m** of the relative weights of the corresponding wavelengths in ``incident_wavelength``. In the case of a polychromatic beam that varies shot-to- shot, this is a 2D array of dimensions **nP** by **m** (slow to fast) of the relative weights of the corresponding wavelengths in ``incident_wavelength``.

      Type: NX_FLOAT

      Parameters:
      incident_wavelength_weightsDataset - the incident_wavelength_weightsDataset
    • getIncident_wavelength_weightsScalar

      Double getIncident_wavelength_weightsScalar()
      In the case of a polychromatic beam this is an array of length **m** of the relative weights of the corresponding wavelengths in ``incident_wavelength``. In the case of a polychromatic beam that varies shot-to- shot, this is a 2D array of dimensions **nP** by **m** (slow to fast) of the relative weights of the corresponding wavelengths in ``incident_wavelength``.

      Type: NX_FLOAT

      Returns:
      the value.
    • setIncident_wavelength_weightsScalar

      DataNode setIncident_wavelength_weightsScalar(Double incident_wavelength_weightsValue)
      In the case of a polychromatic beam this is an array of length **m** of the relative weights of the corresponding wavelengths in ``incident_wavelength``. In the case of a polychromatic beam that varies shot-to- shot, this is a 2D array of dimensions **nP** by **m** (slow to fast) of the relative weights of the corresponding wavelengths in ``incident_wavelength``.

      Type: NX_FLOAT

      Parameters:
      incident_wavelength_weights - the incident_wavelength_weights
    • getIncident_wavelength_spread

      org.eclipse.january.dataset.Dataset getIncident_wavelength_spread()
      The wavelength spread FWHM for the corresponding wavelength(s) in incident_wavelength. In the case of shot-to-shot variation in the wavelength spread, this is a 2D array of dimension **nP** by **m** (slow to fast) of the spreads of the corresponding wavelengths in incident_wavelength.

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: nP;

      Returns:
      the value.
    • setIncident_wavelength_spread

      DataNode setIncident_wavelength_spread(org.eclipse.january.dataset.IDataset incident_wavelength_spreadDataset)
      The wavelength spread FWHM for the corresponding wavelength(s) in incident_wavelength. In the case of shot-to-shot variation in the wavelength spread, this is a 2D array of dimension **nP** by **m** (slow to fast) of the spreads of the corresponding wavelengths in incident_wavelength.

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: nP;

      Parameters:
      incident_wavelength_spreadDataset - the incident_wavelength_spreadDataset
    • getIncident_wavelength_spreadScalar

      Double getIncident_wavelength_spreadScalar()
      The wavelength spread FWHM for the corresponding wavelength(s) in incident_wavelength. In the case of shot-to-shot variation in the wavelength spread, this is a 2D array of dimension **nP** by **m** (slow to fast) of the spreads of the corresponding wavelengths in incident_wavelength.

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: nP;

      Returns:
      the value.
    • setIncident_wavelength_spreadScalar

      DataNode setIncident_wavelength_spreadScalar(Double incident_wavelength_spreadValue)
      The wavelength spread FWHM for the corresponding wavelength(s) in incident_wavelength. In the case of shot-to-shot variation in the wavelength spread, this is a 2D array of dimension **nP** by **m** (slow to fast) of the spreads of the corresponding wavelengths in incident_wavelength.

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: nP;

      Parameters:
      incident_wavelength_spread - the incident_wavelength_spread
    • getIncident_beam_divergence

      org.eclipse.january.dataset.Dataset getIncident_beam_divergence()
      Beam crossfire in degrees parallel to the laboratory X axis The dimension **c** is a series of moments of that represent the standard uncertainty (e.s.d.) of the directions of of the beam. The first and second moments are in the XZ and YZ planes around the mean source beam direction, respectively. Further moments in **c** characterize co-variance terms, so the next moment is the product of the first two, and so on.

      Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: nP; 2: c;

      Returns:
      the value.
    • setIncident_beam_divergence

      DataNode setIncident_beam_divergence(org.eclipse.january.dataset.IDataset incident_beam_divergenceDataset)
      Beam crossfire in degrees parallel to the laboratory X axis The dimension **c** is a series of moments of that represent the standard uncertainty (e.s.d.) of the directions of of the beam. The first and second moments are in the XZ and YZ planes around the mean source beam direction, respectively. Further moments in **c** characterize co-variance terms, so the next moment is the product of the first two, and so on.

      Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: nP; 2: c;

      Parameters:
      incident_beam_divergenceDataset - the incident_beam_divergenceDataset
    • getIncident_beam_divergenceScalar

      Double getIncident_beam_divergenceScalar()
      Beam crossfire in degrees parallel to the laboratory X axis The dimension **c** is a series of moments of that represent the standard uncertainty (e.s.d.) of the directions of of the beam. The first and second moments are in the XZ and YZ planes around the mean source beam direction, respectively. Further moments in **c** characterize co-variance terms, so the next moment is the product of the first two, and so on.

      Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: nP; 2: c;

      Returns:
      the value.
    • setIncident_beam_divergenceScalar

      DataNode setIncident_beam_divergenceScalar(Double incident_beam_divergenceValue)
      Beam crossfire in degrees parallel to the laboratory X axis The dimension **c** is a series of moments of that represent the standard uncertainty (e.s.d.) of the directions of of the beam. The first and second moments are in the XZ and YZ planes around the mean source beam direction, respectively. Further moments in **c** characterize co-variance terms, so the next moment is the product of the first two, and so on.

      Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: nP; 2: c;

      Parameters:
      incident_beam_divergence - the incident_beam_divergence
    • getExtent

      org.eclipse.january.dataset.Dataset getExtent()
      Size of the beam entering this component. Note this represents a rectangular beam aperture, and values represent FWHM. If applicable, the first dimension shall represent the extent in the direction parallel to the azimuthal reference plane (by default it is [1,0,0]), and the second dimension shall be the normal to the reference plane (by default it is [0,1,0]).

      Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: nP; 2: 2;

      Returns:
      the value.
    • setExtent

      DataNode setExtent(org.eclipse.january.dataset.IDataset extentDataset)
      Size of the beam entering this component. Note this represents a rectangular beam aperture, and values represent FWHM. If applicable, the first dimension shall represent the extent in the direction parallel to the azimuthal reference plane (by default it is [1,0,0]), and the second dimension shall be the normal to the reference plane (by default it is [0,1,0]).

      Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: nP; 2: 2;

      Parameters:
      extentDataset - the extentDataset
    • getExtentScalar

      Double getExtentScalar()
      Size of the beam entering this component. Note this represents a rectangular beam aperture, and values represent FWHM. If applicable, the first dimension shall represent the extent in the direction parallel to the azimuthal reference plane (by default it is [1,0,0]), and the second dimension shall be the normal to the reference plane (by default it is [0,1,0]).

      Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: nP; 2: 2;

      Returns:
      the value.
    • setExtentScalar

      DataNode setExtentScalar(Double extentValue)
      Size of the beam entering this component. Note this represents a rectangular beam aperture, and values represent FWHM. If applicable, the first dimension shall represent the extent in the direction parallel to the azimuthal reference plane (by default it is [1,0,0]), and the second dimension shall be the normal to the reference plane (by default it is [0,1,0]).

      Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: nP; 2: 2;

      Parameters:
      extent - the extent
    • getFinal_wavelength

      org.eclipse.january.dataset.Dataset getFinal_wavelength()
      Wavelength on leaving beamline component

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: m;

      Returns:
      the value.
    • setFinal_wavelength

      DataNode setFinal_wavelength(org.eclipse.january.dataset.IDataset final_wavelengthDataset)
      Wavelength on leaving beamline component

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: m;

      Parameters:
      final_wavelengthDataset - the final_wavelengthDataset
    • getFinal_wavelengthScalar

      Double getFinal_wavelengthScalar()
      Wavelength on leaving beamline component

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: m;

      Returns:
      the value.
    • setFinal_wavelengthScalar

      DataNode setFinal_wavelengthScalar(Double final_wavelengthValue)
      Wavelength on leaving beamline component

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: m;

      Parameters:
      final_wavelength - the final_wavelength
    • getIncident_polarization

      org.eclipse.january.dataset.Dataset getIncident_polarization()
      Polarization vector on entering beamline component

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 2;

      Returns:
      the value.
    • setIncident_polarization

      DataNode setIncident_polarization(org.eclipse.january.dataset.IDataset incident_polarizationDataset)
      Polarization vector on entering beamline component

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 2;

      Parameters:
      incident_polarizationDataset - the incident_polarizationDataset
    • getIncident_polarizationScalar

      Number getIncident_polarizationScalar()
      Polarization vector on entering beamline component

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 2;

      Returns:
      the value.
    • setIncident_polarizationScalar

      DataNode setIncident_polarizationScalar(Number incident_polarizationValue)
      Polarization vector on entering beamline component

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 2;

      Parameters:
      incident_polarization - the incident_polarization
    • getFinal_polarization

      org.eclipse.january.dataset.Dataset getFinal_polarization()
      Polarization vector on leaving beamline component

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 2;

      Returns:
      the value.
    • setFinal_polarization

      DataNode setFinal_polarization(org.eclipse.january.dataset.IDataset final_polarizationDataset)
      Polarization vector on leaving beamline component

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 2;

      Parameters:
      final_polarizationDataset - the final_polarizationDataset
    • getFinal_polarizationScalar

      Number getFinal_polarizationScalar()
      Polarization vector on leaving beamline component

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 2;

      Returns:
      the value.
    • setFinal_polarizationScalar

      DataNode setFinal_polarizationScalar(Number final_polarizationValue)
      Polarization vector on leaving beamline component

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 2;

      Parameters:
      final_polarization - the final_polarization
    • getIncident_polarization_stokes

      org.eclipse.january.dataset.Dataset getIncident_polarization_stokes()
      Polarization vector on entering beamline component using Stokes notation The Stokes parameters are four components labelled I,Q,U,V or S_0,S_1,S_2,S_3. These are defined with the standard Nexus coordinate frame unless it is overridden by an NXtransformations field pointed to by a depends_on attribute. The last component, describing the circular polarization state, is positive for a right-hand circular state - that is the electric field vector rotates clockwise at the sample and over time when observed from the source. I (S_0) is the beam intensity (often normalized to 1). Q, U, and V scale linearly with the total degree of polarization, and indicate the relative magnitudes of the pure linear and circular orientation contributions. Q (S_1) is linearly polarized along the x axis (Q > 0) or y axis (Q invalid input: '<' 0). U (S_2) is linearly polarized along the x==y axis (U > 0) or the -x==y axis (U invalid input: '<' 0). V (S_3) is circularly polarized. V > 0 when the electric field vector rotates clockwise at the sample with respect to time when observed from the source; V invalid input: '<' 0 indicates the opposite rotation.

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 4;

      Returns:
      the value.
    • setIncident_polarization_stokes

      DataNode setIncident_polarization_stokes(org.eclipse.january.dataset.IDataset incident_polarization_stokesDataset)
      Polarization vector on entering beamline component using Stokes notation The Stokes parameters are four components labelled I,Q,U,V or S_0,S_1,S_2,S_3. These are defined with the standard Nexus coordinate frame unless it is overridden by an NXtransformations field pointed to by a depends_on attribute. The last component, describing the circular polarization state, is positive for a right-hand circular state - that is the electric field vector rotates clockwise at the sample and over time when observed from the source. I (S_0) is the beam intensity (often normalized to 1). Q, U, and V scale linearly with the total degree of polarization, and indicate the relative magnitudes of the pure linear and circular orientation contributions. Q (S_1) is linearly polarized along the x axis (Q > 0) or y axis (Q invalid input: '<' 0). U (S_2) is linearly polarized along the x==y axis (U > 0) or the -x==y axis (U invalid input: '<' 0). V (S_3) is circularly polarized. V > 0 when the electric field vector rotates clockwise at the sample with respect to time when observed from the source; V invalid input: '<' 0 indicates the opposite rotation.

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 4;

      Parameters:
      incident_polarization_stokesDataset - the incident_polarization_stokesDataset
    • getIncident_polarization_stokesScalar

      Number getIncident_polarization_stokesScalar()
      Polarization vector on entering beamline component using Stokes notation The Stokes parameters are four components labelled I,Q,U,V or S_0,S_1,S_2,S_3. These are defined with the standard Nexus coordinate frame unless it is overridden by an NXtransformations field pointed to by a depends_on attribute. The last component, describing the circular polarization state, is positive for a right-hand circular state - that is the electric field vector rotates clockwise at the sample and over time when observed from the source. I (S_0) is the beam intensity (often normalized to 1). Q, U, and V scale linearly with the total degree of polarization, and indicate the relative magnitudes of the pure linear and circular orientation contributions. Q (S_1) is linearly polarized along the x axis (Q > 0) or y axis (Q invalid input: '<' 0). U (S_2) is linearly polarized along the x==y axis (U > 0) or the -x==y axis (U invalid input: '<' 0). V (S_3) is circularly polarized. V > 0 when the electric field vector rotates clockwise at the sample with respect to time when observed from the source; V invalid input: '<' 0 indicates the opposite rotation.

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 4;

      Returns:
      the value.
    • setIncident_polarization_stokesScalar

      DataNode setIncident_polarization_stokesScalar(Number incident_polarization_stokesValue)
      Polarization vector on entering beamline component using Stokes notation The Stokes parameters are four components labelled I,Q,U,V or S_0,S_1,S_2,S_3. These are defined with the standard Nexus coordinate frame unless it is overridden by an NXtransformations field pointed to by a depends_on attribute. The last component, describing the circular polarization state, is positive for a right-hand circular state - that is the electric field vector rotates clockwise at the sample and over time when observed from the source. I (S_0) is the beam intensity (often normalized to 1). Q, U, and V scale linearly with the total degree of polarization, and indicate the relative magnitudes of the pure linear and circular orientation contributions. Q (S_1) is linearly polarized along the x axis (Q > 0) or y axis (Q invalid input: '<' 0). U (S_2) is linearly polarized along the x==y axis (U > 0) or the -x==y axis (U invalid input: '<' 0). V (S_3) is circularly polarized. V > 0 when the electric field vector rotates clockwise at the sample with respect to time when observed from the source; V invalid input: '<' 0 indicates the opposite rotation.

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 4;

      Parameters:
      incident_polarization_stokes - the incident_polarization_stokes
    • getFinal_polarization_stokes

      org.eclipse.january.dataset.Dataset getFinal_polarization_stokes()
      Polarization vector on leaving beamline component using Stokes notation (see incident_polarization_stokes).

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 4;

      Returns:
      the value.
    • setFinal_polarization_stokes

      DataNode setFinal_polarization_stokes(org.eclipse.january.dataset.IDataset final_polarization_stokesDataset)
      Polarization vector on leaving beamline component using Stokes notation (see incident_polarization_stokes).

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 4;

      Parameters:
      final_polarization_stokesDataset - the final_polarization_stokesDataset
    • getFinal_polarization_stokesScalar

      Number getFinal_polarization_stokesScalar()
      Polarization vector on leaving beamline component using Stokes notation (see incident_polarization_stokes).

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 4;

      Returns:
      the value.
    • setFinal_polarization_stokesScalar

      DataNode setFinal_polarization_stokesScalar(Number final_polarization_stokesValue)
      Polarization vector on leaving beamline component using Stokes notation (see incident_polarization_stokes).

      Type: NX_NUMBER Units: NX_ANY Dimensions: 1: nP; 2: 4;

      Parameters:
      final_polarization_stokes - the final_polarization_stokes
    • getFinal_wavelength_spread

      org.eclipse.january.dataset.Dataset getFinal_wavelength_spread()
      Wavelength spread FWHM of beam leaving this component

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: m;

      Returns:
      the value.
    • setFinal_wavelength_spread

      DataNode setFinal_wavelength_spread(org.eclipse.january.dataset.IDataset final_wavelength_spreadDataset)
      Wavelength spread FWHM of beam leaving this component

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: m;

      Parameters:
      final_wavelength_spreadDataset - the final_wavelength_spreadDataset
    • getFinal_wavelength_spreadScalar

      Double getFinal_wavelength_spreadScalar()
      Wavelength spread FWHM of beam leaving this component

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: m;

      Returns:
      the value.
    • setFinal_wavelength_spreadScalar

      DataNode setFinal_wavelength_spreadScalar(Double final_wavelength_spreadValue)
      Wavelength spread FWHM of beam leaving this component

      Type: NX_FLOAT Units: NX_WAVELENGTH Dimensions: 1: m;

      Parameters:
      final_wavelength_spread - the final_wavelength_spread
    • getFinal_beam_divergence

      org.eclipse.january.dataset.Dataset getFinal_beam_divergence()
      Divergence FWHM of beam leaving this component

      Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: nP; 2: 2;

      Returns:
      the value.
    • setFinal_beam_divergence

      DataNode setFinal_beam_divergence(org.eclipse.january.dataset.IDataset final_beam_divergenceDataset)
      Divergence FWHM of beam leaving this component

      Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: nP; 2: 2;

      Parameters:
      final_beam_divergenceDataset - the final_beam_divergenceDataset
    • getFinal_beam_divergenceScalar

      Double getFinal_beam_divergenceScalar()
      Divergence FWHM of beam leaving this component

      Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: nP; 2: 2;

      Returns:
      the value.
    • setFinal_beam_divergenceScalar

      DataNode setFinal_beam_divergenceScalar(Double final_beam_divergenceValue)
      Divergence FWHM of beam leaving this component

      Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: nP; 2: 2;

      Parameters:
      final_beam_divergence - the final_beam_divergence
    • getFlux

      org.eclipse.january.dataset.Dataset getFlux()
      flux incident on beam plane area

      Type: NX_FLOAT Units: NX_FLUX Dimensions: 1: nP;

      Returns:
      the value.
    • setFlux

      DataNode setFlux(org.eclipse.january.dataset.IDataset fluxDataset)
      flux incident on beam plane area

      Type: NX_FLOAT Units: NX_FLUX Dimensions: 1: nP;

      Parameters:
      fluxDataset - the fluxDataset
    • getFluxScalar

      Double getFluxScalar()
      flux incident on beam plane area

      Type: NX_FLOAT Units: NX_FLUX Dimensions: 1: nP;

      Returns:
      the value.
    • setFluxScalar

      DataNode setFluxScalar(Double fluxValue)
      flux incident on beam plane area

      Type: NX_FLOAT Units: NX_FLUX Dimensions: 1: nP;

      Parameters:
      flux - the flux
    • getPulse_energy

      org.eclipse.january.dataset.Dataset getPulse_energy()
      Energy of a single pulse at the given location.

      Type: NX_FLOAT Units: NX_ENERGY

      Returns:
      the value.
    • setPulse_energy

      DataNode setPulse_energy(org.eclipse.january.dataset.IDataset pulse_energyDataset)
      Energy of a single pulse at the given location.

      Type: NX_FLOAT Units: NX_ENERGY

      Parameters:
      pulse_energyDataset - the pulse_energyDataset
    • getPulse_energyScalar

      Double getPulse_energyScalar()
      Energy of a single pulse at the given location.

      Type: NX_FLOAT Units: NX_ENERGY

      Returns:
      the value.
    • setPulse_energyScalar

      DataNode setPulse_energyScalar(Double pulse_energyValue)
      Energy of a single pulse at the given location.

      Type: NX_FLOAT Units: NX_ENERGY

      Parameters:
      pulse_energy - the pulse_energy
    • getAverage_power

      org.eclipse.january.dataset.Dataset getAverage_power()
      Average power at the at the given location.

      Type: NX_FLOAT Units: NX_POWER

      Returns:
      the value.
    • setAverage_power

      DataNode setAverage_power(org.eclipse.january.dataset.IDataset average_powerDataset)
      Average power at the at the given location.

      Type: NX_FLOAT Units: NX_POWER

      Parameters:
      average_powerDataset - the average_powerDataset
    • getAverage_powerScalar

      Double getAverage_powerScalar()
      Average power at the at the given location.

      Type: NX_FLOAT Units: NX_POWER

      Returns:
      the value.
    • setAverage_powerScalar

      DataNode setAverage_powerScalar(Double average_powerValue)
      Average power at the at the given location.

      Type: NX_FLOAT Units: NX_POWER

      Parameters:
      average_power - the average_power
    • getFluence

      org.eclipse.january.dataset.Dataset getFluence()
      Incident energy fluence at the given location.

      Type: NX_FLOAT Units: mJ/cm^2

      Returns:
      the value.
    • setFluence

      DataNode setFluence(org.eclipse.january.dataset.IDataset fluenceDataset)
      Incident energy fluence at the given location.

      Type: NX_FLOAT Units: mJ/cm^2

      Parameters:
      fluenceDataset - the fluenceDataset
    • getFluenceScalar

      Double getFluenceScalar()
      Incident energy fluence at the given location.

      Type: NX_FLOAT Units: mJ/cm^2

      Returns:
      the value.
    • setFluenceScalar

      DataNode setFluenceScalar(Double fluenceValue)
      Incident energy fluence at the given location.

      Type: NX_FLOAT Units: mJ/cm^2

      Parameters:
      fluence - the fluence
    • getPulse_duration

      org.eclipse.january.dataset.Dataset getPulse_duration()
      FWHM duration of the pulses at the given location.

      Type: NX_FLOAT Units: NX_TIME

      Returns:
      the value.
    • setPulse_duration

      DataNode setPulse_duration(org.eclipse.january.dataset.IDataset pulse_durationDataset)
      FWHM duration of the pulses at the given location.

      Type: NX_FLOAT Units: NX_TIME

      Parameters:
      pulse_durationDataset - the pulse_durationDataset
    • getPulse_durationScalar

      Double getPulse_durationScalar()
      FWHM duration of the pulses at the given location.

      Type: NX_FLOAT Units: NX_TIME

      Returns:
      the value.
    • setPulse_durationScalar

      DataNode setPulse_durationScalar(Double pulse_durationValue)
      FWHM duration of the pulses at the given location.

      Type: NX_FLOAT Units: NX_TIME

      Parameters:
      pulse_duration - the pulse_duration
    • getPulse_delay

      org.eclipse.january.dataset.Dataset getPulse_delay()
      Delay time between two pulses of a pulsed beam.

      Type: NX_FLOAT Units: NX_TIME

      Returns:
      the value.
    • setPulse_delay

      DataNode setPulse_delay(org.eclipse.january.dataset.IDataset pulse_delayDataset)
      Delay time between two pulses of a pulsed beam.

      Type: NX_FLOAT Units: NX_TIME

      Parameters:
      pulse_delayDataset - the pulse_delayDataset
    • getPulse_delayScalar

      Double getPulse_delayScalar()
      Delay time between two pulses of a pulsed beam.

      Type: NX_FLOAT Units: NX_TIME

      Returns:
      the value.
    • setPulse_delayScalar

      DataNode setPulse_delayScalar(Double pulse_delayValue)
      Delay time between two pulses of a pulsed beam.

      Type: NX_FLOAT Units: NX_TIME

      Parameters:
      pulse_delay - the pulse_delay
    • getPulse_delayAttributeReference_beam

      String getPulse_delayAttributeReference_beam()
      A reference to the beam in relation to which the delay is. This should be the path to another instance of ``NXbeam``. The use of this attribute should be similar to that of the :ref:`depends_on attribute invalid input: '<'/NXtransformations/AXISNAME@depends_on-attribute>`. in NXtransformations.
      Returns:
      the value.
    • setPulse_delayAttributeReference_beam

      void setPulse_delayAttributeReference_beam(String reference_beamValue)
      A reference to the beam in relation to which the delay is. This should be the path to another instance of ``NXbeam``. The use of this attribute should be similar to that of the :ref:`depends_on attribute invalid input: '<'/NXtransformations/AXISNAME@depends_on-attribute>`. in NXtransformations.
      Parameters:
      reference_beamValue - the reference_beamValue
    • getFrog_trace

      org.eclipse.january.dataset.Dataset getFrog_trace()
      FROG (frequency-resolved optical gating) trace of the pulse. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Dimensions: 1: nx; 2: ny;

      Returns:
      the value.
    • setFrog_trace

      DataNode setFrog_trace(org.eclipse.january.dataset.IDataset frog_traceDataset)
      FROG (frequency-resolved optical gating) trace of the pulse. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Dimensions: 1: nx; 2: ny;

      Parameters:
      frog_traceDataset - the frog_traceDataset
    • getFrog_traceScalar

      Double getFrog_traceScalar()
      FROG (frequency-resolved optical gating) trace of the pulse. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Dimensions: 1: nx; 2: ny;

      Returns:
      the value.
    • setFrog_traceScalar

      DataNode setFrog_traceScalar(Double frog_traceValue)
      FROG (frequency-resolved optical gating) trace of the pulse. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Dimensions: 1: nx; 2: ny;

      Parameters:
      frog_trace - the frog_trace
    • getFrog_delays

      org.eclipse.january.dataset.Dataset getFrog_delays()
      Horizontal axis of a FROG trace, i.e. delay. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Units: NX_TIME Dimensions: 1: nx;

      Returns:
      the value.
    • setFrog_delays

      DataNode setFrog_delays(org.eclipse.january.dataset.IDataset frog_delaysDataset)
      Horizontal axis of a FROG trace, i.e. delay. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Units: NX_TIME Dimensions: 1: nx;

      Parameters:
      frog_delaysDataset - the frog_delaysDataset
    • getFrog_delaysScalar

      Double getFrog_delaysScalar()
      Horizontal axis of a FROG trace, i.e. delay. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Units: NX_TIME Dimensions: 1: nx;

      Returns:
      the value.
    • setFrog_delaysScalar

      DataNode setFrog_delaysScalar(Double frog_delaysValue)
      Horizontal axis of a FROG trace, i.e. delay. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Units: NX_TIME Dimensions: 1: nx;

      Parameters:
      frog_delays - the frog_delays
    • getFrog_frequencies

      org.eclipse.january.dataset.Dataset getFrog_frequencies()
      Vertical axis of a FROG trace, i.e. frequency. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Units: NX_FREQUENCY Dimensions: 1: ny;

      Returns:
      the value.
    • setFrog_frequencies

      DataNode setFrog_frequencies(org.eclipse.january.dataset.IDataset frog_frequenciesDataset)
      Vertical axis of a FROG trace, i.e. frequency. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Units: NX_FREQUENCY Dimensions: 1: ny;

      Parameters:
      frog_frequenciesDataset - the frog_frequenciesDataset
    • getFrog_frequenciesScalar

      Double getFrog_frequenciesScalar()
      Vertical axis of a FROG trace, i.e. frequency. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Units: NX_FREQUENCY Dimensions: 1: ny;

      Returns:
      the value.
    • setFrog_frequenciesScalar

      DataNode setFrog_frequenciesScalar(Double frog_frequenciesValue)
      Vertical axis of a FROG trace, i.e. frequency. This is to be used for ultrashort laser pulses in a FROG (frequency-resolved optical gating) setup.

      Type: NX_FLOAT Units: NX_FREQUENCY Dimensions: 1: ny;

      Parameters:
      frog_frequencies - the frog_frequencies
    • getChirp_type

      org.eclipse.january.dataset.Dataset getChirp_type()
      The type of chirp implemented

      Type: NX_CHAR

      Returns:
      the value.
    • setChirp_type

      DataNode setChirp_type(org.eclipse.january.dataset.IDataset chirp_typeDataset)
      The type of chirp implemented

      Type: NX_CHAR

      Parameters:
      chirp_typeDataset - the chirp_typeDataset
    • getChirp_typeScalar

      String getChirp_typeScalar()
      The type of chirp implemented

      Type: NX_CHAR

      Returns:
      the value.
    • setChirp_typeScalar

      DataNode setChirp_typeScalar(String chirp_typeValue)
      The type of chirp implemented

      Type: NX_CHAR

      Parameters:
      chirp_type - the chirp_type
    • getChirp_gdd

      org.eclipse.january.dataset.Dataset getChirp_gdd()
      Group delay dispersion of the pulse for linear chirp

      Type: NX_FLOAT Units: NX_TIME

      Returns:
      the value.
    • setChirp_gdd

      DataNode setChirp_gdd(org.eclipse.january.dataset.IDataset chirp_gddDataset)
      Group delay dispersion of the pulse for linear chirp

      Type: NX_FLOAT Units: NX_TIME

      Parameters:
      chirp_gddDataset - the chirp_gddDataset
    • getChirp_gddScalar

      Double getChirp_gddScalar()
      Group delay dispersion of the pulse for linear chirp

      Type: NX_FLOAT Units: NX_TIME

      Returns:
      the value.
    • setChirp_gddScalar

      DataNode setChirp_gddScalar(Double chirp_gddValue)
      Group delay dispersion of the pulse for linear chirp

      Type: NX_FLOAT Units: NX_TIME

      Parameters:
      chirp_gdd - the chirp_gdd
    • getData

      NXdata getData()
      Distribution of beam with respect to relevant variable e.g. wavelength. This is mainly useful for simulations which need to store plottable information at each beamline component.
      Returns:
      the value.
    • setData

      void setData(NXdata dataGroup)
      Distribution of beam with respect to relevant variable e.g. wavelength. This is mainly useful for simulations which need to store plottable information at each beamline component.
      Parameters:
      dataGroup - the dataGroup
    • getData

      NXdata getData(String name)
      Get a NXdata node by name:
      • Distribution of beam with respect to relevant variable e.g. wavelength. This is mainly useful for simulations which need to store plottable information at each beamline component.
      Parameters:
      name - the name of the node.
      Returns:
      a map from node names to the NXdata for that node.
    • setData

      void setData(String name, NXdata data)
      Set a NXdata node by name:
      • Distribution of beam with respect to relevant variable e.g. wavelength. This is mainly useful for simulations which need to store plottable information at each beamline component.
      Parameters:
      name - the name of the node
      data - the value to set
    • getAllData

      Map<String,NXdata> getAllData()
      Get all NXdata nodes:
      • Distribution of beam with respect to relevant variable e.g. wavelength. This is mainly useful for simulations which need to store plottable information at each beamline component.
      Returns:
      a map from node names to the NXdata for that node.
    • setAllData

      void setAllData(Map<String,NXdata> data)
      Set multiple child nodes of a particular type.
      • Distribution of beam with respect to relevant variable e.g. wavelength. This is mainly useful for simulations which need to store plottable information at each beamline component.
      Parameters:
      data - the child nodes to add
    • getDepends_on

      org.eclipse.january.dataset.Dataset getDepends_on()
      The NeXus coordinate system defines the Z axis to be along the nominal beam direction. This is the same as the McStas coordinate system (see :ref:`Design-CoordinateSystem`). However, the additional transformations needed to represent an altered beam direction can be provided using this depends_on field that contains the path to a NXtransformations group. This could represent redirection of the beam, or a refined beam direction.

      Type: NX_CHAR

      Returns:
      the value.
    • setDepends_on

      DataNode setDepends_on(org.eclipse.january.dataset.IDataset depends_onDataset)
      The NeXus coordinate system defines the Z axis to be along the nominal beam direction. This is the same as the McStas coordinate system (see :ref:`Design-CoordinateSystem`). However, the additional transformations needed to represent an altered beam direction can be provided using this depends_on field that contains the path to a NXtransformations group. This could represent redirection of the beam, or a refined beam direction.

      Type: NX_CHAR

      Parameters:
      depends_onDataset - the depends_onDataset
    • getDepends_onScalar

      String getDepends_onScalar()
      The NeXus coordinate system defines the Z axis to be along the nominal beam direction. This is the same as the McStas coordinate system (see :ref:`Design-CoordinateSystem`). However, the additional transformations needed to represent an altered beam direction can be provided using this depends_on field that contains the path to a NXtransformations group. This could represent redirection of the beam, or a refined beam direction.

      Type: NX_CHAR

      Returns:
      the value.
    • setDepends_onScalar

      DataNode setDepends_onScalar(String depends_onValue)
      The NeXus coordinate system defines the Z axis to be along the nominal beam direction. This is the same as the McStas coordinate system (see :ref:`Design-CoordinateSystem`). However, the additional transformations needed to represent an altered beam direction can be provided using this depends_on field that contains the path to a NXtransformations group. This could represent redirection of the beam, or a refined beam direction.

      Type: NX_CHAR

      Parameters:
      depends_on - the depends_on
    • getTransformations

      NXtransformations getTransformations()
      Direction (and location) for the beam. The location of the beam can be given by any point which it passes through as its offset attribute.
      Returns:
      the value.
    • setTransformations

      void setTransformations(NXtransformations transformationsGroup)
      Direction (and location) for the beam. The location of the beam can be given by any point which it passes through as its offset attribute.
      Parameters:
      transformationsGroup - the transformationsGroup
    • getTransformations

      NXtransformations getTransformations(String name)
      Get a NXtransformations node by name:
      • Direction (and location) for the beam. The location of the beam can be given by any point which it passes through as its offset attribute.
      Parameters:
      name - the name of the node.
      Returns:
      a map from node names to the NXtransformations for that node.
    • setTransformations

      void setTransformations(String name, NXtransformations transformations)
      Set a NXtransformations node by name:
      • Direction (and location) for the beam. The location of the beam can be given by any point which it passes through as its offset attribute.
      Parameters:
      name - the name of the node
      transformations - the value to set
    • getAllTransformations

      Map<String,NXtransformations> getAllTransformations()
      Get all NXtransformations nodes:
      • Direction (and location) for the beam. The location of the beam can be given by any point which it passes through as its offset attribute.
      Returns:
      a map from node names to the NXtransformations for that node.
    • setAllTransformations

      void setAllTransformations(Map<String,NXtransformations> transformations)
      Set multiple child nodes of a particular type.
      • Direction (and location) for the beam. The location of the beam can be given by any point which it passes through as its offset attribute.
      Parameters:
      transformations - the child nodes to add