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

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






NXmonitor (h5jan API)












org.eclipse.dawnsci.nexus

Interface NXmonitor

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


    public interface NXmonitor
    extends NXobject
    A monitor of incident beam data. It is similar to the :ref:`NXdata` groups containing monitor data and its associated dimension scale, e.g. time_of_flight or wavelength in pulsed neutron instruments. However, it may also include integrals, or scalar monitor counts, which are often used in both in both pulsed and steady-state instrumentation.
    • Method Detail

      • getMode

        IDataset getMode()
        Count to a preset value based on either clock time (timer) or received monitor counts (monitor).

        Enumeration:

        • monitor
        • timer

        Returns:
        the value.
      • setMode

        DataNode setMode(IDataset mode)
        Count to a preset value based on either clock time (timer) or received monitor counts (monitor).

        Enumeration:

        • monitor
        • timer

        Parameters:
        mode - the mode
      • getModeScalar

        java.lang.String getModeScalar()
        Count to a preset value based on either clock time (timer) or received monitor counts (monitor).

        Enumeration:

        • monitor
        • timer

        Returns:
        the value.
      • setModeScalar

        DataNode setModeScalar(java.lang.String mode)
        Count to a preset value based on either clock time (timer) or received monitor counts (monitor).

        Enumeration:

        • monitor
        • timer

        Parameters:
        mode - the mode
      • getStart_time

        IDataset getStart_time()
        Starting time of measurement

        Type: NX_DATE_TIME

        Returns:
        the value.
      • setStart_time

        DataNode setStart_time(IDataset start_time)
        Starting time of measurement

        Type: NX_DATE_TIME

        Parameters:
        start_time - the start_time
      • getStart_timeScalar

        java.util.Date getStart_timeScalar()
        Starting time of measurement

        Type: NX_DATE_TIME

        Returns:
        the value.
      • setStart_timeScalar

        DataNode setStart_timeScalar(java.util.Date start_time)
        Starting time of measurement

        Type: NX_DATE_TIME

        Parameters:
        start_time - the start_time
      • getEnd_time

        IDataset getEnd_time()
        Ending time of measurement

        Type: NX_DATE_TIME

        Returns:
        the value.
      • setEnd_time

        DataNode setEnd_time(IDataset end_time)
        Ending time of measurement

        Type: NX_DATE_TIME

        Parameters:
        end_time - the end_time
      • getEnd_timeScalar

        java.util.Date getEnd_timeScalar()
        Ending time of measurement

        Type: NX_DATE_TIME

        Returns:
        the value.
      • setEnd_timeScalar

        DataNode setEnd_timeScalar(java.util.Date end_time)
        Ending time of measurement

        Type: NX_DATE_TIME

        Parameters:
        end_time - the end_time
      • getPreset

        IDataset getPreset()
        preset value for time or monitor

        Type: NX_NUMBER Units: NX_ANY

        Returns:
        the value.
      • setPreset

        DataNode setPreset(IDataset preset)
        preset value for time or monitor

        Type: NX_NUMBER Units: NX_ANY

        Parameters:
        preset - the preset
      • getPresetScalar

        java.lang.Number getPresetScalar()
        preset value for time or monitor

        Type: NX_NUMBER Units: NX_ANY

        Returns:
        the value.
      • setPresetScalar

        DataNode setPresetScalar(java.lang.Number preset)
        preset value for time or monitor

        Type: NX_NUMBER Units: NX_ANY

        Parameters:
        preset - the preset
      • getDistance

        IDataset getDistance()
        Distance of monitor from sample

        Type: NX_FLOAT Units: NX_LENGTH

        Returns:
        the value.
      • setDistance

        DataNode setDistance(IDataset distance)
        Distance of monitor from sample

        Type: NX_FLOAT Units: NX_LENGTH

        Parameters:
        distance - the distance
      • getDistanceScalar

        java.lang.Double getDistanceScalar()
        Distance of monitor from sample

        Type: NX_FLOAT Units: NX_LENGTH

        Returns:
        the value.
      • setDistanceScalar

        DataNode setDistanceScalar(java.lang.Double distance)
        Distance of monitor from sample

        Type: NX_FLOAT Units: NX_LENGTH

        Parameters:
        distance - the distance
      • getRange

        IDataset getRange()
        Range (X-axis, Time-of-flight, etc.) over which the integral was calculated

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

        Returns:
        the value.
      • setRange

        DataNode setRange(IDataset range)
        Range (X-axis, Time-of-flight, etc.) over which the integral was calculated

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

        Parameters:
        range - the range
      • getRangeScalar

        java.lang.Double getRangeScalar()
        Range (X-axis, Time-of-flight, etc.) over which the integral was calculated

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

        Returns:
        the value.
      • setRangeScalar

        DataNode setRangeScalar(java.lang.Double range)
        Range (X-axis, Time-of-flight, etc.) over which the integral was calculated

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

        Parameters:
        range - the range
      • getNominal

        IDataset getNominal()
        Nominal reading to be used for normalisation purposes.

        Type: NX_NUMBER Units: NX_ANY

        Returns:
        the value.
      • setNominal

        DataNode setNominal(IDataset nominal)
        Nominal reading to be used for normalisation purposes.

        Type: NX_NUMBER Units: NX_ANY

        Parameters:
        nominal - the nominal
      • getNominalScalar

        java.lang.Number getNominalScalar()
        Nominal reading to be used for normalisation purposes.

        Type: NX_NUMBER Units: NX_ANY

        Returns:
        the value.
      • setNominalScalar

        DataNode setNominalScalar(java.lang.Number nominal)
        Nominal reading to be used for normalisation purposes.

        Type: NX_NUMBER Units: NX_ANY

        Parameters:
        nominal - the nominal
      • getIntegral

        IDataset getIntegral()
        Total integral monitor counts

        Type: NX_NUMBER Units: NX_ANY

        Returns:
        the value.
      • setIntegral

        DataNode setIntegral(IDataset integral)
        Total integral monitor counts

        Type: NX_NUMBER Units: NX_ANY

        Parameters:
        integral - the integral
      • getIntegralScalar

        java.lang.Number getIntegralScalar()
        Total integral monitor counts

        Type: NX_NUMBER Units: NX_ANY

        Returns:
        the value.
      • setIntegralScalar

        DataNode setIntegralScalar(java.lang.Number integral)
        Total integral monitor counts

        Type: NX_NUMBER Units: NX_ANY

        Parameters:
        integral - the integral
      • getIntegral_log

        NXlog getIntegral_log()
        Time variation of monitor counts
        Returns:
        the value.
      • setIntegral_log

        void setIntegral_log(NXlog integral_log)
        Time variation of monitor counts
        Parameters:
        integral_log - the integral_log
      • getType

        IDataset getType()

        Enumeration:

        • Fission Chamber
        • Scintillator

        Returns:
        the value.
      • setType

        DataNode setType(IDataset type)

        Enumeration:

        • Fission Chamber
        • Scintillator

        Parameters:
        type - the type
      • getTypeScalar

        java.lang.String getTypeScalar()

        Enumeration:

        • Fission Chamber
        • Scintillator

        Returns:
        the value.
      • setTypeScalar

        DataNode setTypeScalar(java.lang.String type)

        Enumeration:

        • Fission Chamber
        • Scintillator

        Parameters:
        type - the type
      • getTime_of_flight

        IDataset getTime_of_flight()
        Time-of-flight

        Type: NX_FLOAT Units: NX_TIME_OF_FLIGHT Dimensions: 1: ;

        Returns:
        the value.
      • setTime_of_flight

        DataNode setTime_of_flight(IDataset time_of_flight)
        Time-of-flight

        Type: NX_FLOAT Units: NX_TIME_OF_FLIGHT Dimensions: 1: ;

        Parameters:
        time_of_flight - the time_of_flight
      • getTime_of_flightScalar

        java.lang.Double getTime_of_flightScalar()
        Time-of-flight

        Type: NX_FLOAT Units: NX_TIME_OF_FLIGHT Dimensions: 1: ;

        Returns:
        the value.
      • setTime_of_flightScalar

        DataNode setTime_of_flightScalar(java.lang.Double time_of_flight)
        Time-of-flight

        Type: NX_FLOAT Units: NX_TIME_OF_FLIGHT Dimensions: 1: ;

        Parameters:
        time_of_flight - the time_of_flight
      • getEfficiency

        IDataset getEfficiency()
        Monitor efficiency

        Type: NX_NUMBER Units: NX_DIMENSIONLESS Dimensions: 1: ;

        Returns:
        the value.
      • setEfficiency

        DataNode setEfficiency(IDataset efficiency)
        Monitor efficiency

        Type: NX_NUMBER Units: NX_DIMENSIONLESS Dimensions: 1: ;

        Parameters:
        efficiency - the efficiency
      • getEfficiencyScalar

        java.lang.Number getEfficiencyScalar()
        Monitor efficiency

        Type: NX_NUMBER Units: NX_DIMENSIONLESS Dimensions: 1: ;

        Returns:
        the value.
      • setEfficiencyScalar

        DataNode setEfficiencyScalar(java.lang.Number efficiency)
        Monitor efficiency

        Type: NX_NUMBER Units: NX_DIMENSIONLESS Dimensions: 1: ;

        Parameters:
        efficiency - the efficiency
      • getData

        IDataset getData()
        Monitor data

        Type: NX_NUMBER Units: NX_ANY Dimensions: 0: n;

        Returns:
        the value.
      • setData

        DataNode setData(IDataset data)
        Monitor data

        Type: NX_NUMBER Units: NX_ANY Dimensions: 0: n;

        Parameters:
        data - the data
      • getDataScalar

        java.lang.Number getDataScalar()
        Monitor data

        Type: NX_NUMBER Units: NX_ANY Dimensions: 0: n;

        Returns:
        the value.
      • setDataScalar

        DataNode setDataScalar(java.lang.Number data)
        Monitor data

        Type: NX_NUMBER Units: NX_ANY Dimensions: 0: n;

        Parameters:
        data - the data
      • getSampled_fraction

        IDataset getSampled_fraction()
        Proportion of incident beam sampled by the monitor (0 Type: NX_FLOAT Units: NX_DIMENSIONLESS

        Returns:
        the value.
      • setSampled_fraction

        DataNode setSampled_fraction(IDataset sampled_fraction)
        Proportion of incident beam sampled by the monitor (0 Type: NX_FLOAT Units: NX_DIMENSIONLESS

        Parameters:
        sampled_fraction - the sampled_fraction
      • getSampled_fractionScalar

        java.lang.Double getSampled_fractionScalar()
        Proportion of incident beam sampled by the monitor (0 Type: NX_FLOAT Units: NX_DIMENSIONLESS

        Returns:
        the value.
      • setSampled_fractionScalar

        DataNode setSampled_fractionScalar(java.lang.Double sampled_fraction)
        Proportion of incident beam sampled by the monitor (0 Type: NX_FLOAT Units: NX_DIMENSIONLESS

        Parameters:
        sampled_fraction - the sampled_fraction
      • getGeometry

        NXgeometry getGeometry()
        Geometry of the monitor
        Returns:
        the value.
      • setGeometry

        void setGeometry(NXgeometry geometry)
        Geometry of the monitor
        Parameters:
        geometry - the geometry
      • getGeometry

        NXgeometry getGeometry(java.lang.String name)
        Get a NXgeometry node by name:
        • Geometry of the monitor
        Parameters:
        name - the name of the node.
        Returns:
        a map from node names to the NXgeometry for that node.
      • setGeometry

        void setGeometry(java.lang.String name,
                         NXgeometry geometry)
        Set a NXgeometry node by name:
        • Geometry of the monitor
        Parameters:
        name - the name of the node
        geometry - the value to set
      • getAllGeometry

        java.util.Map<java.lang.String,NXgeometry> getAllGeometry()
        Get all NXgeometry nodes:
        • Geometry of the monitor
        Returns:
        a map from node names to the NXgeometry for that node.
      • setAllGeometry

        void setAllGeometry(java.util.Map<java.lang.String,NXgeometry> geometry)
        Set multiple child nodes of a particular type.
        • Geometry of the monitor
        Parameters:
        geometry - the child nodes to add
      • getCount_time

        IDataset getCount_time()
        Elapsed actual counting time, can be an array of size ``np`` when scanning. This is not the difference of the calendar time but the time the instrument was really counting, without pauses or times lost due beam unavailability

        Type: NX_FLOAT Units: NX_TIME

        Returns:
        the value.
      • setCount_time

        DataNode setCount_time(IDataset count_time)
        Elapsed actual counting time, can be an array of size ``np`` when scanning. This is not the difference of the calendar time but the time the instrument was really counting, without pauses or times lost due beam unavailability

        Type: NX_FLOAT Units: NX_TIME

        Parameters:
        count_time - the count_time
      • getCount_timeScalar

        java.lang.Double getCount_timeScalar()
        Elapsed actual counting time, can be an array of size ``np`` when scanning. This is not the difference of the calendar time but the time the instrument was really counting, without pauses or times lost due beam unavailability

        Type: NX_FLOAT Units: NX_TIME

        Returns:
        the value.
      • setCount_timeScalar

        DataNode setCount_timeScalar(java.lang.Double count_time)
        Elapsed actual counting time, can be an array of size ``np`` when scanning. This is not the difference of the calendar time but the time the instrument was really counting, without pauses or times lost due beam unavailability

        Type: NX_FLOAT Units: NX_TIME

        Parameters:
        count_time - the count_time




© 2015 - 2024 Weber Informatics LLC | Privacy Policy