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

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






NXdetector_groupImpl (h5jan API)












org.eclipse.dawnsci.nexus.impl

Class NXdetector_groupImpl

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


    public class NXdetector_groupImpl
    extends NXobjectImpl
    implements NXdetector_group
    Logical grouping of detector elements. This class is used to allow a logical grouping of detector elements (e.g. which tube, bank or group of banks) to be recorded in the file. As well as allowing you to e.g just select the "left" or "east" detectors, it may also be useful for determining which elements belong to the same PSD tube and hence have e.g. the same dead time. For example, if we had "bank1" composed of "tube1", "tube2" and "tube3" then group_names would be the string "bank1, bank1/tube1, bank1/tube2,bank1/tube3" group_index would be {1,2,3,4} group_parent would be {-1,1,1,1} The mapping array is interpreted as group 1 is a top level group containing groups 2, 3 and 4 A ``group_index`` array in ``NXdetector`` gives the base group for a detector element.
    See Also:
    Serialized Form
    • Field Detail

      • PERMITTED_CHILD_GROUP_CLASSES

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

      • NXdetector_groupImpl

        public NXdetector_groupImpl()
      • NXdetector_groupImpl

        public NXdetector_groupImpl(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
      • getGroup_index

        public IDataset getGroup_index()
        Description copied from interface: NXdetector_group
        Unique ID for group. A group_index array in ``NXdetector`` gives the base group for a detector element.

        Type: NX_INT Dimensions: 1: i;

        Specified by:
        getGroup_index in interface NXdetector_group
        Returns:
        the value.
      • getGroup_indexScalar

        public java.lang.Long getGroup_indexScalar()
        Description copied from interface: NXdetector_group
        Unique ID for group. A group_index array in ``NXdetector`` gives the base group for a detector element.

        Type: NX_INT Dimensions: 1: i;

        Specified by:
        getGroup_indexScalar in interface NXdetector_group
        Returns:
        the value.
      • setGroup_index

        public DataNode setGroup_index(IDataset group_index)
        Description copied from interface: NXdetector_group
        Unique ID for group. A group_index array in ``NXdetector`` gives the base group for a detector element.

        Type: NX_INT Dimensions: 1: i;

        Specified by:
        setGroup_index in interface NXdetector_group
        Parameters:
        group_index - the group_index
      • setGroup_indexScalar

        public DataNode setGroup_indexScalar(java.lang.Long group_index)
        Description copied from interface: NXdetector_group
        Unique ID for group. A group_index array in ``NXdetector`` gives the base group for a detector element.

        Type: NX_INT Dimensions: 1: i;

        Specified by:
        setGroup_indexScalar in interface NXdetector_group
        Parameters:
        group_index - the group_index
      • getGroup_parent

        public IDataset getGroup_parent()
        Description copied from interface: NXdetector_group
        Index of group parent in the hierarchy: -1 means no parent (i.e. a top level) group

        Type: NX_INT Dimensions: 1: ;

        Specified by:
        getGroup_parent in interface NXdetector_group
        Returns:
        the value.
      • getGroup_parentScalar

        public java.lang.Long getGroup_parentScalar()
        Description copied from interface: NXdetector_group
        Index of group parent in the hierarchy: -1 means no parent (i.e. a top level) group

        Type: NX_INT Dimensions: 1: ;

        Specified by:
        getGroup_parentScalar in interface NXdetector_group
        Returns:
        the value.
      • setGroup_parent

        public DataNode setGroup_parent(IDataset group_parent)
        Description copied from interface: NXdetector_group
        Index of group parent in the hierarchy: -1 means no parent (i.e. a top level) group

        Type: NX_INT Dimensions: 1: ;

        Specified by:
        setGroup_parent in interface NXdetector_group
        Parameters:
        group_parent - the group_parent
      • setGroup_parentScalar

        public DataNode setGroup_parentScalar(java.lang.Long group_parent)
        Description copied from interface: NXdetector_group
        Index of group parent in the hierarchy: -1 means no parent (i.e. a top level) group

        Type: NX_INT Dimensions: 1: ;

        Specified by:
        setGroup_parentScalar in interface NXdetector_group
        Parameters:
        group_parent - the group_parent
      • getGroup_type

        public IDataset getGroup_type()
        Description copied from interface: NXdetector_group
        Code number for group type, e.g. bank=1, tube=2 etc.

        Type: NX_INT Dimensions: 1: ;

        Specified by:
        getGroup_type in interface NXdetector_group
        Returns:
        the value.
      • getGroup_typeScalar

        public java.lang.Long getGroup_typeScalar()
        Description copied from interface: NXdetector_group
        Code number for group type, e.g. bank=1, tube=2 etc.

        Type: NX_INT Dimensions: 1: ;

        Specified by:
        getGroup_typeScalar in interface NXdetector_group
        Returns:
        the value.
      • setGroup_type

        public DataNode setGroup_type(IDataset group_type)
        Description copied from interface: NXdetector_group
        Code number for group type, e.g. bank=1, tube=2 etc.

        Type: NX_INT Dimensions: 1: ;

        Specified by:
        setGroup_type in interface NXdetector_group
        Parameters:
        group_type - the group_type
      • setGroup_typeScalar

        public DataNode setGroup_typeScalar(java.lang.Long group_type)
        Description copied from interface: NXdetector_group
        Code number for group type, e.g. bank=1, tube=2 etc.

        Type: NX_INT Dimensions: 1: ;

        Specified by:
        setGroup_typeScalar in interface NXdetector_group
        Parameters:
        group_type - the group_type




© 2015 - 2024 Weber Informatics LLC | Privacy Policy