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

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






NXdetector_moduleImpl (h5jan API)












org.eclipse.dawnsci.nexus.impl

Class NXdetector_moduleImpl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<NodeLink>, GroupNode, Node, NXdetector_module, NXobject


    public class NXdetector_moduleImpl
    extends NXobjectImpl
    implements NXdetector_module
    Geometry and logical description of a detector module. Many detectors consist of multiple smaller modules. Sometimes it is important to know the exact position of such modules. This is the purpose of this group. It is a child group to NXdetector. Note, the pixel size is given as values in the array fast_pixel_direction and slow_pixel_direction.
    See Also:
    Serialized Form
    • Field Detail

      • PERMITTED_CHILD_GROUP_CLASSES

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

      • NXdetector_moduleImpl

        public NXdetector_moduleImpl()
      • NXdetector_moduleImpl

        public NXdetector_moduleImpl(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
      • getData_origin

        public IDataset getData_origin()
        Description copied from interface: NXdetector_module
        A two value field which gives the index of the start of the modules data in the main area detector image in the underlying NXdetector module.

        Type: NX_INT

        Specified by:
        getData_origin in interface NXdetector_module
        Returns:
        the value.
      • getData_originScalar

        public java.lang.Long getData_originScalar()
        Description copied from interface: NXdetector_module
        A two value field which gives the index of the start of the modules data in the main area detector image in the underlying NXdetector module.

        Type: NX_INT

        Specified by:
        getData_originScalar in interface NXdetector_module
        Returns:
        the value.
      • setData_origin

        public DataNode setData_origin(IDataset data_origin)
        Description copied from interface: NXdetector_module
        A two value field which gives the index of the start of the modules data in the main area detector image in the underlying NXdetector module.

        Type: NX_INT

        Specified by:
        setData_origin in interface NXdetector_module
        Parameters:
        data_origin - the data_origin
      • setData_originScalar

        public DataNode setData_originScalar(java.lang.Long data_origin)
        Description copied from interface: NXdetector_module
        A two value field which gives the index of the start of the modules data in the main area detector image in the underlying NXdetector module.

        Type: NX_INT

        Specified by:
        setData_originScalar in interface NXdetector_module
        Parameters:
        data_origin - the data_origin
      • getData_size

        public IDataset getData_size()
        Description copied from interface: NXdetector_module
        Two values for the size of the module in pixels in each direction.

        Type: NX_INT

        Specified by:
        getData_size in interface NXdetector_module
        Returns:
        the value.
      • getData_sizeScalar

        public java.lang.Long getData_sizeScalar()
        Description copied from interface: NXdetector_module
        Two values for the size of the module in pixels in each direction.

        Type: NX_INT

        Specified by:
        getData_sizeScalar in interface NXdetector_module
        Returns:
        the value.
      • setData_size

        public DataNode setData_size(IDataset data_size)
        Description copied from interface: NXdetector_module
        Two values for the size of the module in pixels in each direction.

        Type: NX_INT

        Specified by:
        setData_size in interface NXdetector_module
        Parameters:
        data_size - the data_size
      • setData_sizeScalar

        public DataNode setData_sizeScalar(java.lang.Long data_size)
        Description copied from interface: NXdetector_module
        Two values for the size of the module in pixels in each direction.

        Type: NX_INT

        Specified by:
        setData_sizeScalar in interface NXdetector_module
        Parameters:
        data_size - the data_size
      • getModule_offset

        public IDataset getModule_offset()
        Description copied from interface: NXdetector_module
        Offset of the module in regards to the origin of the detector in an arbitrary direction.

        Units: NX_LENGTH Type: NX_NUMBER

        Specified by:
        getModule_offset in interface NXdetector_module
        Returns:
        the value.
      • getModule_offsetScalar

        public java.lang.Number getModule_offsetScalar()
        Description copied from interface: NXdetector_module
        Offset of the module in regards to the origin of the detector in an arbitrary direction.

        Units: NX_LENGTH Type: NX_NUMBER

        Specified by:
        getModule_offsetScalar in interface NXdetector_module
        Returns:
        the value.
      • setModule_offset

        public DataNode setModule_offset(IDataset module_offset)
        Description copied from interface: NXdetector_module
        Offset of the module in regards to the origin of the detector in an arbitrary direction.

        Units: NX_LENGTH Type: NX_NUMBER

        Specified by:
        setModule_offset in interface NXdetector_module
        Parameters:
        module_offset - the module_offset
      • setModule_offsetScalar

        public DataNode setModule_offsetScalar(java.lang.Number module_offset)
        Description copied from interface: NXdetector_module
        Offset of the module in regards to the origin of the detector in an arbitrary direction.

        Units: NX_LENGTH Type: NX_NUMBER

        Specified by:
        setModule_offsetScalar in interface NXdetector_module
        Parameters:
        module_offset - the module_offset
      • setModule_offsetAttributeVector

        public void setModule_offsetAttributeVector(java.lang.Number vector)
        Description copied from interface: NXdetector_module
        Three values that define the axis for this transformation
        Specified by:
        setModule_offsetAttributeVector in interface NXdetector_module
        Parameters:
        vector - the vector
      • setModule_offsetAttributeOffset

        public void setModule_offsetAttributeOffset(java.lang.Number offset)
        Description copied from interface: NXdetector_module
        A fixed offset applied before the transformation (three vector components).
        Specified by:
        setModule_offsetAttributeOffset in interface NXdetector_module
        Parameters:
        offset - the offset
      • setModule_offsetAttributeDepends_on

        public void setModule_offsetAttributeDepends_on(java.lang.String depends_on)
        Description copied from interface: NXdetector_module
        Points to the path of the next element in the geometry chain.
        Specified by:
        setModule_offsetAttributeDepends_on in interface NXdetector_module
        Parameters:
        depends_on - the depends_on
      • getFast_pixel_direction

        public IDataset getFast_pixel_direction()
        Description copied from interface: NXdetector_module
        Values along the direction of fastest varying pixel direction. Each value in this array is the size of a pixel in the units specified. Alternatively, if only one value is given, all pixels in this direction have the same value. The direction itself is given through the vector attribute.

        Units: NX_LENGTH Type: NX_NUMBER

        Specified by:
        getFast_pixel_direction in interface NXdetector_module
        Returns:
        the value.
      • getFast_pixel_directionScalar

        public java.lang.Number getFast_pixel_directionScalar()
        Description copied from interface: NXdetector_module
        Values along the direction of fastest varying pixel direction. Each value in this array is the size of a pixel in the units specified. Alternatively, if only one value is given, all pixels in this direction have the same value. The direction itself is given through the vector attribute.

        Units: NX_LENGTH Type: NX_NUMBER

        Specified by:
        getFast_pixel_directionScalar in interface NXdetector_module
        Returns:
        the value.
      • setFast_pixel_direction

        public DataNode setFast_pixel_direction(IDataset fast_pixel_direction)
        Description copied from interface: NXdetector_module
        Values along the direction of fastest varying pixel direction. Each value in this array is the size of a pixel in the units specified. Alternatively, if only one value is given, all pixels in this direction have the same value. The direction itself is given through the vector attribute.

        Units: NX_LENGTH Type: NX_NUMBER

        Specified by:
        setFast_pixel_direction in interface NXdetector_module
        Parameters:
        fast_pixel_direction - the fast_pixel_direction
      • setFast_pixel_directionScalar

        public DataNode setFast_pixel_directionScalar(java.lang.Number fast_pixel_direction)
        Description copied from interface: NXdetector_module
        Values along the direction of fastest varying pixel direction. Each value in this array is the size of a pixel in the units specified. Alternatively, if only one value is given, all pixels in this direction have the same value. The direction itself is given through the vector attribute.

        Units: NX_LENGTH Type: NX_NUMBER

        Specified by:
        setFast_pixel_directionScalar in interface NXdetector_module
        Parameters:
        fast_pixel_direction - the fast_pixel_direction
      • setFast_pixel_directionAttributeOffset

        public void setFast_pixel_directionAttributeOffset(java.lang.Number offset)
        Description copied from interface: NXdetector_module
        A fixed offset applied before the transformation (three vector components).
        Specified by:
        setFast_pixel_directionAttributeOffset in interface NXdetector_module
        Parameters:
        offset - the offset
      • getSlow_pixel_direction

        public IDataset getSlow_pixel_direction()
        Description copied from interface: NXdetector_module
        Values along the direction of fastest varying pixel direction. Each value in this array is the size of a pixel in the units specified. Alternatively, if only one value is given, all pixels in this direction have the same value. The direction itself is given through the vector attribute.

        Type: NX_NUMBER Units: NX_LENGTH

        Specified by:
        getSlow_pixel_direction in interface NXdetector_module
        Returns:
        the value.
      • getSlow_pixel_directionScalar

        public java.lang.Number getSlow_pixel_directionScalar()
        Description copied from interface: NXdetector_module
        Values along the direction of fastest varying pixel direction. Each value in this array is the size of a pixel in the units specified. Alternatively, if only one value is given, all pixels in this direction have the same value. The direction itself is given through the vector attribute.

        Type: NX_NUMBER Units: NX_LENGTH

        Specified by:
        getSlow_pixel_directionScalar in interface NXdetector_module
        Returns:
        the value.
      • setSlow_pixel_direction

        public DataNode setSlow_pixel_direction(IDataset slow_pixel_direction)
        Description copied from interface: NXdetector_module
        Values along the direction of fastest varying pixel direction. Each value in this array is the size of a pixel in the units specified. Alternatively, if only one value is given, all pixels in this direction have the same value. The direction itself is given through the vector attribute.

        Type: NX_NUMBER Units: NX_LENGTH

        Specified by:
        setSlow_pixel_direction in interface NXdetector_module
        Parameters:
        slow_pixel_direction - the slow_pixel_direction
      • setSlow_pixel_directionScalar

        public DataNode setSlow_pixel_directionScalar(java.lang.Number slow_pixel_direction)
        Description copied from interface: NXdetector_module
        Values along the direction of fastest varying pixel direction. Each value in this array is the size of a pixel in the units specified. Alternatively, if only one value is given, all pixels in this direction have the same value. The direction itself is given through the vector attribute.

        Type: NX_NUMBER Units: NX_LENGTH

        Specified by:
        setSlow_pixel_directionScalar in interface NXdetector_module
        Parameters:
        slow_pixel_direction - the slow_pixel_direction
      • setSlow_pixel_directionAttributeOffset

        public void setSlow_pixel_directionAttributeOffset(java.lang.Number offset)
        Description copied from interface: NXdetector_module
        A fixed offset applied before the transformation (three vector components).
        Specified by:
        setSlow_pixel_directionAttributeOffset in interface NXdetector_module
        Parameters:
        offset - the offset




© 2015 - 2024 Weber Informatics LLC | Privacy Policy