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

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






NXgratingImpl (h5jan API)












org.eclipse.dawnsci.nexus.impl

Class NXgratingImpl

    • Field Detail

      • PERMITTED_CHILD_GROUP_CLASSES

        public static final java.util.Set<NexusBaseClass> PERMITTED_CHILD_GROUP_CLASSES
    • Constructor Detail

      • NXgratingImpl

        public NXgratingImpl()
      • NXgratingImpl

        public NXgratingImpl(long oid)
    • Method Detail

      • getNXclass

        public java.lang.Class<? extends NXobject> getNXclass()
        Description copied from interface: NXobject
        Java Class object of the interface for this base class, e.g. NXsample.class.
        Specified by:
        getNXclass in interface NXobject
        Returns:
        name of Nexus class
      • getAngles

        public IDataset getAngles()
        Description copied from interface: NXgrating
        Blaze or trapezoidal angles, with the angle of the upstream facing edge listed first. Blazed gratings can be identified by the low value of the first-listed angle.

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

        Specified by:
        getAngles in interface NXgrating
        Returns:
        the value.
      • getAnglesScalar

        public java.lang.Double getAnglesScalar()
        Description copied from interface: NXgrating
        Blaze or trapezoidal angles, with the angle of the upstream facing edge listed first. Blazed gratings can be identified by the low value of the first-listed angle.

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

        Specified by:
        getAnglesScalar in interface NXgrating
        Returns:
        the value.
      • setAngles

        public DataNode setAngles(IDataset angles)
        Description copied from interface: NXgrating
        Blaze or trapezoidal angles, with the angle of the upstream facing edge listed first. Blazed gratings can be identified by the low value of the first-listed angle.

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

        Specified by:
        setAngles in interface NXgrating
        Parameters:
        angles - the angles
      • setAnglesScalar

        public DataNode setAnglesScalar(java.lang.Double angles)
        Description copied from interface: NXgrating
        Blaze or trapezoidal angles, with the angle of the upstream facing edge listed first. Blazed gratings can be identified by the low value of the first-listed angle.

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

        Specified by:
        setAnglesScalar in interface NXgrating
        Parameters:
        angles - the angles
      • getPeriod

        public IDataset getPeriod()
        Description copied from interface: NXgrating
        List of polynomial coefficients describing the spatial separation of lines/grooves as a function of position along the grating, in increasing powers of position. Gratings which do not have variable line spacing will only have a single coefficient (constant).

        Type: NX_FLOAT Units: NX_LENGTH Dimensions:

        Specified by:
        getPeriod in interface NXgrating
        Returns:
        the value.
      • getPeriodScalar

        public java.lang.Double getPeriodScalar()
        Description copied from interface: NXgrating
        List of polynomial coefficients describing the spatial separation of lines/grooves as a function of position along the grating, in increasing powers of position. Gratings which do not have variable line spacing will only have a single coefficient (constant).

        Type: NX_FLOAT Units: NX_LENGTH Dimensions:

        Specified by:
        getPeriodScalar in interface NXgrating
        Returns:
        the value.
      • setPeriod

        public DataNode setPeriod(IDataset period)
        Description copied from interface: NXgrating
        List of polynomial coefficients describing the spatial separation of lines/grooves as a function of position along the grating, in increasing powers of position. Gratings which do not have variable line spacing will only have a single coefficient (constant).

        Type: NX_FLOAT Units: NX_LENGTH Dimensions:

        Specified by:
        setPeriod in interface NXgrating
        Parameters:
        period - the period
      • setPeriodScalar

        public DataNode setPeriodScalar(java.lang.Double period)
        Description copied from interface: NXgrating
        List of polynomial coefficients describing the spatial separation of lines/grooves as a function of position along the grating, in increasing powers of position. Gratings which do not have variable line spacing will only have a single coefficient (constant).

        Type: NX_FLOAT Units: NX_LENGTH Dimensions:

        Specified by:
        setPeriodScalar in interface NXgrating
        Parameters:
        period - the period
      • getDuty_cycle

        public IDataset getDuty_cycle()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_UNITLESS

        Specified by:
        getDuty_cycle in interface NXgrating
        Returns:
        the value.
      • getDuty_cycleScalar

        public java.lang.Double getDuty_cycleScalar()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_UNITLESS

        Specified by:
        getDuty_cycleScalar in interface NXgrating
        Returns:
        the value.
      • setDuty_cycle

        public DataNode setDuty_cycle(IDataset duty_cycle)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_UNITLESS

        Specified by:
        setDuty_cycle in interface NXgrating
        Parameters:
        duty_cycle - the duty_cycle
      • setDuty_cycleScalar

        public DataNode setDuty_cycleScalar(java.lang.Double duty_cycle)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_UNITLESS

        Specified by:
        setDuty_cycleScalar in interface NXgrating
        Parameters:
        duty_cycle - the duty_cycle
      • getDepth

        public IDataset getDepth()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getDepth in interface NXgrating
        Returns:
        the value.
      • getDepthScalar

        public java.lang.Double getDepthScalar()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getDepthScalar in interface NXgrating
        Returns:
        the value.
      • setDepth

        public DataNode setDepth(IDataset depth)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setDepth in interface NXgrating
        Parameters:
        depth - the depth
      • setDepthScalar

        public DataNode setDepthScalar(java.lang.Double depth)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setDepthScalar in interface NXgrating
        Parameters:
        depth - the depth
      • getDiffraction_order

        public IDataset getDiffraction_order()
        Description copied from interface: NXgrating

        Type: NX_INT Units: NX_UNITLESS

        Specified by:
        getDiffraction_order in interface NXgrating
        Returns:
        the value.
      • getDiffraction_orderScalar

        public java.lang.Long getDiffraction_orderScalar()
        Description copied from interface: NXgrating

        Type: NX_INT Units: NX_UNITLESS

        Specified by:
        getDiffraction_orderScalar in interface NXgrating
        Returns:
        the value.
      • setDiffraction_order

        public DataNode setDiffraction_order(IDataset diffraction_order)
        Description copied from interface: NXgrating

        Type: NX_INT Units: NX_UNITLESS

        Specified by:
        setDiffraction_order in interface NXgrating
        Parameters:
        diffraction_order - the diffraction_order
      • setDiffraction_orderScalar

        public DataNode setDiffraction_orderScalar(java.lang.Long diffraction_order)
        Description copied from interface: NXgrating

        Type: NX_INT Units: NX_UNITLESS

        Specified by:
        setDiffraction_orderScalar in interface NXgrating
        Parameters:
        diffraction_order - the diffraction_order
      • getDeflection_angle

        public IDataset getDeflection_angle()
        Description copied from interface: NXgrating
        Angle between the incident beam and the utilised outgoing beam.

        Type: NX_FLOAT Units: NX_ANGLE

        Specified by:
        getDeflection_angle in interface NXgrating
        Returns:
        the value.
      • getDeflection_angleScalar

        public java.lang.Double getDeflection_angleScalar()
        Description copied from interface: NXgrating
        Angle between the incident beam and the utilised outgoing beam.

        Type: NX_FLOAT Units: NX_ANGLE

        Specified by:
        getDeflection_angleScalar in interface NXgrating
        Returns:
        the value.
      • setDeflection_angle

        public DataNode setDeflection_angle(IDataset deflection_angle)
        Description copied from interface: NXgrating
        Angle between the incident beam and the utilised outgoing beam.

        Type: NX_FLOAT Units: NX_ANGLE

        Specified by:
        setDeflection_angle in interface NXgrating
        Parameters:
        deflection_angle - the deflection_angle
      • setDeflection_angleScalar

        public DataNode setDeflection_angleScalar(java.lang.Double deflection_angle)
        Description copied from interface: NXgrating
        Angle between the incident beam and the utilised outgoing beam.

        Type: NX_FLOAT Units: NX_ANGLE

        Specified by:
        setDeflection_angleScalar in interface NXgrating
        Parameters:
        deflection_angle - the deflection_angle
      • getInterior_atmosphere

        public IDataset getInterior_atmosphere()
        Description copied from interface: NXgrating

        Enumeration:

        • vacuum
        • helium
        • argon

        Specified by:
        getInterior_atmosphere in interface NXgrating
        Returns:
        the value.
      • getInterior_atmosphereScalar

        public java.lang.String getInterior_atmosphereScalar()
        Description copied from interface: NXgrating

        Enumeration:

        • vacuum
        • helium
        • argon

        Specified by:
        getInterior_atmosphereScalar in interface NXgrating
        Returns:
        the value.
      • setInterior_atmosphere

        public DataNode setInterior_atmosphere(IDataset interior_atmosphere)
        Description copied from interface: NXgrating

        Enumeration:

        • vacuum
        • helium
        • argon

        Specified by:
        setInterior_atmosphere in interface NXgrating
        Parameters:
        interior_atmosphere - the interior_atmosphere
      • setInterior_atmosphereScalar

        public DataNode setInterior_atmosphereScalar(java.lang.String interior_atmosphere)
        Description copied from interface: NXgrating

        Enumeration:

        • vacuum
        • helium
        • argon

        Specified by:
        setInterior_atmosphereScalar in interface NXgrating
        Parameters:
        interior_atmosphere - the interior_atmosphere
      • setSubstrate_material

        public DataNode setSubstrate_material(IDataset substrate_material)
        Specified by:
        setSubstrate_material in interface NXgrating
        Parameters:
        substrate_material - the substrate_material
      • setSubstrate_materialScalar

        public DataNode setSubstrate_materialScalar(java.lang.String substrate_material)
        Specified by:
        setSubstrate_materialScalar in interface NXgrating
        Parameters:
        substrate_material - the substrate_material
      • getSubstrate_density

        public IDataset getSubstrate_density()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_MASS_DENSITY

        Specified by:
        getSubstrate_density in interface NXgrating
        Returns:
        the value.
      • getSubstrate_densityScalar

        public java.lang.Double getSubstrate_densityScalar()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_MASS_DENSITY

        Specified by:
        getSubstrate_densityScalar in interface NXgrating
        Returns:
        the value.
      • setSubstrate_density

        public DataNode setSubstrate_density(IDataset substrate_density)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_MASS_DENSITY

        Specified by:
        setSubstrate_density in interface NXgrating
        Parameters:
        substrate_density - the substrate_density
      • setSubstrate_densityScalar

        public DataNode setSubstrate_densityScalar(java.lang.Double substrate_density)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_MASS_DENSITY

        Specified by:
        setSubstrate_densityScalar in interface NXgrating
        Parameters:
        substrate_density - the substrate_density
      • getSubstrate_thickness

        public IDataset getSubstrate_thickness()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getSubstrate_thickness in interface NXgrating
        Returns:
        the value.
      • getSubstrate_thicknessScalar

        public java.lang.Double getSubstrate_thicknessScalar()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getSubstrate_thicknessScalar in interface NXgrating
        Returns:
        the value.
      • setSubstrate_thickness

        public DataNode setSubstrate_thickness(IDataset substrate_thickness)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setSubstrate_thickness in interface NXgrating
        Parameters:
        substrate_thickness - the substrate_thickness
      • setSubstrate_thicknessScalar

        public DataNode setSubstrate_thicknessScalar(java.lang.Double substrate_thickness)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setSubstrate_thicknessScalar in interface NXgrating
        Parameters:
        substrate_thickness - the substrate_thickness
      • getCoating_material

        public IDataset getCoating_material()
        Specified by:
        getCoating_material in interface NXgrating
        Returns:
        the value.
      • setCoating_material

        public DataNode setCoating_material(IDataset coating_material)
        Specified by:
        setCoating_material in interface NXgrating
        Parameters:
        coating_material - the coating_material
      • setCoating_materialScalar

        public DataNode setCoating_materialScalar(java.lang.String coating_material)
        Specified by:
        setCoating_materialScalar in interface NXgrating
        Parameters:
        coating_material - the coating_material
      • getSubstrate_roughness

        public IDataset getSubstrate_roughness()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getSubstrate_roughness in interface NXgrating
        Returns:
        the value.
      • getSubstrate_roughnessScalar

        public java.lang.Double getSubstrate_roughnessScalar()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getSubstrate_roughnessScalar in interface NXgrating
        Returns:
        the value.
      • setSubstrate_roughness

        public DataNode setSubstrate_roughness(IDataset substrate_roughness)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setSubstrate_roughness in interface NXgrating
        Parameters:
        substrate_roughness - the substrate_roughness
      • setSubstrate_roughnessScalar

        public DataNode setSubstrate_roughnessScalar(java.lang.Double substrate_roughness)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setSubstrate_roughnessScalar in interface NXgrating
        Parameters:
        substrate_roughness - the substrate_roughness
      • getCoating_roughness

        public IDataset getCoating_roughness()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getCoating_roughness in interface NXgrating
        Returns:
        the value.
      • getCoating_roughnessScalar

        public java.lang.Double getCoating_roughnessScalar()
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getCoating_roughnessScalar in interface NXgrating
        Returns:
        the value.
      • setCoating_roughness

        public DataNode setCoating_roughness(IDataset coating_roughness)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setCoating_roughness in interface NXgrating
        Parameters:
        coating_roughness - the coating_roughness
      • setCoating_roughnessScalar

        public DataNode setCoating_roughnessScalar(java.lang.Double coating_roughness)
        Description copied from interface: NXgrating

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setCoating_roughnessScalar in interface NXgrating
        Parameters:
        coating_roughness - the coating_roughness
      • getLayer_thickness

        public IDataset getLayer_thickness()
        Description copied from interface: NXgrating
        An array describing the thickness of each layer

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getLayer_thickness in interface NXgrating
        Returns:
        the value.
      • getLayer_thicknessScalar

        public java.lang.Double getLayer_thicknessScalar()
        Description copied from interface: NXgrating
        An array describing the thickness of each layer

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        getLayer_thicknessScalar in interface NXgrating
        Returns:
        the value.
      • setLayer_thickness

        public DataNode setLayer_thickness(IDataset layer_thickness)
        Description copied from interface: NXgrating
        An array describing the thickness of each layer

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setLayer_thickness in interface NXgrating
        Parameters:
        layer_thickness - the layer_thickness
      • setLayer_thicknessScalar

        public DataNode setLayer_thicknessScalar(java.lang.Double layer_thickness)
        Description copied from interface: NXgrating
        An array describing the thickness of each layer

        Type: NX_FLOAT Units: NX_LENGTH

        Specified by:
        setLayer_thicknessScalar in interface NXgrating
        Parameters:
        layer_thickness - the layer_thickness
      • getShape

        public NXshape getShape()
        Description copied from interface: NXgrating
        A NXshape group describing the shape of the mirror
        Specified by:
        getShape in interface NXgrating
        Returns:
        the value.
      • setShape

        public void setShape(NXshape shape)
        Description copied from interface: NXgrating
        A NXshape group describing the shape of the mirror
        Specified by:
        setShape in interface NXgrating
        Parameters:
        shape - the shape
      • getFigure_data

        public NXdata getFigure_data()
        Description copied from interface: NXgrating
        Numerical description of the surface figure of the mirror.
        Specified by:
        getFigure_data in interface NXgrating
        Returns:
        the value.
      • setFigure_data

        public void setFigure_data(NXdata figure_data)
        Description copied from interface: NXgrating
        Numerical description of the surface figure of the mirror.
        Specified by:
        setFigure_data in interface NXgrating
        Parameters:
        figure_data - the figure_data
      • setTransformations

        public void setTransformations(NXtransformations transformations)
        Description copied from interface: NXgrating
        "Engineering" position of the grating
        Specified by:
        setTransformations in interface NXgrating
        Parameters:
        transformations - the transformations
      • getTransformations

        public NXtransformations getTransformations(java.lang.String name)
        Description copied from interface: NXgrating
        Get a NXtransformations node by name:
        • "Engineering" position of the grating
        Specified by:
        getTransformations in interface NXgrating
        Parameters:
        name - the name of the node.
        Returns:
        a map from node names to the NXtransformations for that node.
      • setTransformations

        public void setTransformations(java.lang.String name,
                                       NXtransformations transformations)
        Description copied from interface: NXgrating
        Set a NXtransformations node by name:
        • "Engineering" position of the grating
        Specified by:
        setTransformations in interface NXgrating
        Parameters:
        name - the name of the node
        transformations - the value to set
      • getAllTransformations

        public java.util.Map<java.lang.String,NXtransformations> getAllTransformations()
        Description copied from interface: NXgrating
        Get all NXtransformations nodes:
        • "Engineering" position of the grating
        Specified by:
        getAllTransformations in interface NXgrating
        Returns:
        a map from node names to the NXtransformations for that node.
      • setAllTransformations

        public void setAllTransformations(java.util.Map<java.lang.String,NXtransformations> transformations)
        Description copied from interface: NXgrating
        Set multiple child nodes of a particular type.
        • "Engineering" position of the grating
        Specified by:
        setAllTransformations in interface NXgrating
        Parameters:
        transformations - the child nodes to add




© 2015 - 2024 Weber Informatics LLC | Privacy Policy