All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.docs.javadoc.org.eclipse.dawnsci.nexus.NXmonochromator.html Maven / Gradle / Ivy






NXmonochromator (h5jan API)












org.eclipse.dawnsci.nexus

Interface NXmonochromator

  • All Superinterfaces:
    GroupNode, java.lang.Iterable<NodeLink>, Node, NXobject
    All Known Implementing Classes:
    NXmonochromatorImpl


    public interface NXmonochromator
    extends NXobject
    A wavelength defining device. This is a base class for everything which selects a wavelength or energy, be it a monochromator crystal, a velocity selector, an undulator or whatever. The expected units are: * wavelength: angstrom * energy: eV
    • Method Detail

      • getWavelength

        IDataset getWavelength()
        wavelength selected

        Type: NX_FLOAT Units: NX_WAVELENGTH

        Returns:
        the value.
      • setWavelength

        DataNode setWavelength(IDataset wavelength)
        wavelength selected

        Type: NX_FLOAT Units: NX_WAVELENGTH

        Parameters:
        wavelength - the wavelength
      • getWavelengthScalar

        java.lang.Double getWavelengthScalar()
        wavelength selected

        Type: NX_FLOAT Units: NX_WAVELENGTH

        Returns:
        the value.
      • setWavelengthScalar

        DataNode setWavelengthScalar(java.lang.Double wavelength)
        wavelength selected

        Type: NX_FLOAT Units: NX_WAVELENGTH

        Parameters:
        wavelength - the wavelength
      • getWavelength_error

        IDataset getWavelength_error()
        wavelength standard deviation

        Type: NX_FLOAT Units: NX_WAVELENGTH

        Returns:
        the value.
      • setWavelength_error

        DataNode setWavelength_error(IDataset wavelength_error)
        wavelength standard deviation

        Type: NX_FLOAT Units: NX_WAVELENGTH

        Parameters:
        wavelength_error - the wavelength_error
      • getWavelength_errorScalar

        java.lang.Double getWavelength_errorScalar()
        wavelength standard deviation

        Type: NX_FLOAT Units: NX_WAVELENGTH

        Returns:
        the value.
      • setWavelength_errorScalar

        DataNode setWavelength_errorScalar(java.lang.Double wavelength_error)
        wavelength standard deviation

        Type: NX_FLOAT Units: NX_WAVELENGTH

        Parameters:
        wavelength_error - the wavelength_error
      • getEnergy

        IDataset getEnergy()
        energy selected

        Type: NX_FLOAT Units: NX_ENERGY

        Returns:
        the value.
      • setEnergy

        DataNode setEnergy(IDataset energy)
        energy selected

        Type: NX_FLOAT Units: NX_ENERGY

        Parameters:
        energy - the energy
      • getEnergyScalar

        java.lang.Double getEnergyScalar()
        energy selected

        Type: NX_FLOAT Units: NX_ENERGY

        Returns:
        the value.
      • setEnergyScalar

        DataNode setEnergyScalar(java.lang.Double energy)
        energy selected

        Type: NX_FLOAT Units: NX_ENERGY

        Parameters:
        energy - the energy
      • getEnergy_error

        IDataset getEnergy_error()
        energy standard deviation

        Type: NX_FLOAT Units: NX_ENERGY

        Returns:
        the value.
      • setEnergy_error

        DataNode setEnergy_error(IDataset energy_error)
        energy standard deviation

        Type: NX_FLOAT Units: NX_ENERGY

        Parameters:
        energy_error - the energy_error
      • getEnergy_errorScalar

        java.lang.Double getEnergy_errorScalar()
        energy standard deviation

        Type: NX_FLOAT Units: NX_ENERGY

        Returns:
        the value.
      • setEnergy_errorScalar

        DataNode setEnergy_errorScalar(java.lang.Double energy_error)
        energy standard deviation

        Type: NX_FLOAT Units: NX_ENERGY

        Parameters:
        energy_error - the energy_error
      • getDistribution

        NXdata getDistribution()
        Returns:
        the value.
      • setDistribution

        void setDistribution(NXdata distribution)
        Parameters:
        distribution - the distribution
      • getGeometry

        NXgeometry getGeometry()
        Returns:
        the value.
      • setGeometry

        void setGeometry(NXgeometry geometry)
        Parameters:
        geometry - the geometry
      • getCrystal

        NXcrystal getCrystal()
        Use as many crystals as necessary to describe
        Returns:
        the value.
      • setCrystal

        void setCrystal(NXcrystal crystal)
        Use as many crystals as necessary to describe
        Parameters:
        crystal - the crystal
      • getCrystal

        NXcrystal getCrystal(java.lang.String name)
        Get a NXcrystal node by name:
        • Use as many crystals as necessary to describe
        Parameters:
        name - the name of the node.
        Returns:
        a map from node names to the NXcrystal for that node.
      • setCrystal

        void setCrystal(java.lang.String name,
                        NXcrystal crystal)
        Set a NXcrystal node by name:
        • Use as many crystals as necessary to describe
        Parameters:
        name - the name of the node
        crystal - the value to set
      • getAllCrystal

        java.util.Map<java.lang.String,NXcrystal> getAllCrystal()
        Get all NXcrystal nodes:
        • Use as many crystals as necessary to describe
        Returns:
        a map from node names to the NXcrystal for that node.
      • setAllCrystal

        void setAllCrystal(java.util.Map<java.lang.String,NXcrystal> crystal)
        Set multiple child nodes of a particular type.
        • Use as many crystals as necessary to describe
        Parameters:
        crystal - the child nodes to add
      • setVelocity_selector

        void setVelocity_selector(NXvelocity_selector velocity_selector)
        Parameters:
        velocity_selector - the velocity_selector
      • getVelocity_selector

        NXvelocity_selector getVelocity_selector(java.lang.String name)
        Get a NXvelocity_selector node by name:
        Parameters:
        name - the name of the node.
        Returns:
        a map from node names to the NXvelocity_selector for that node.
      • setVelocity_selector

        void setVelocity_selector(java.lang.String name,
                                  NXvelocity_selector velocity_selector)
        Set a NXvelocity_selector node by name:
        Parameters:
        name - the name of the node
        velocity_selector - the value to set
      • getAllVelocity_selector

        java.util.Map<java.lang.String,NXvelocity_selector> getAllVelocity_selector()
        Get all NXvelocity_selector nodes:
        Returns:
        a map from node names to the NXvelocity_selector for that node.
      • setAllVelocity_selector

        void setAllVelocity_selector(java.util.Map<java.lang.String,NXvelocity_selector> velocity_selector)
        Set multiple child nodes of a particular type.
        Parameters:
        velocity_selector - the child nodes to add
      • getGrating

        NXgrating getGrating()
        For diffraction grating based monochromators
        Returns:
        the value.
      • setGrating

        void setGrating(NXgrating grating)
        For diffraction grating based monochromators
        Parameters:
        grating - the grating
      • getGrating

        NXgrating getGrating(java.lang.String name)
        Get a NXgrating node by name:
        • For diffraction grating based monochromators
        Parameters:
        name - the name of the node.
        Returns:
        a map from node names to the NXgrating for that node.
      • setGrating

        void setGrating(java.lang.String name,
                        NXgrating grating)
        Set a NXgrating node by name:
        • For diffraction grating based monochromators
        Parameters:
        name - the name of the node
        grating - the value to set
      • getAllGrating

        java.util.Map<java.lang.String,NXgrating> getAllGrating()
        Get all NXgrating nodes:
        • For diffraction grating based monochromators
        Returns:
        a map from node names to the NXgrating for that node.
      • setAllGrating

        void setAllGrating(java.util.Map<java.lang.String,NXgrating> grating)
        Set multiple child nodes of a particular type.
        • For diffraction grating based monochromators
        Parameters:
        grating - the child nodes to add




© 2015 - 2024 Weber Informatics LLC | Privacy Policy