Interface NXcomponent

All Superinterfaces:
GroupNode, Iterable<NodeLink>, Node, NXobject
All Known Subinterfaces:
NXactuator, NXaperture, NXattenuator, NXbeam_splitter, NXbeam_stop, NXbending_magnet, NXcapillary, NXcircuit, NXcollectioncolumn, NXcollimator, NXcontainer, NXcorrector_cs, NXcrystal, NXcs_memory, NXcs_processor, NXcs_storage, NXdeflector, NXdetector, NXdisk_chopper, NXebeam_column, NXelectromagnetic_lens, NXelectron_detector, NXelectronanalyzer, NXelectrostatic_kicker, NXenergydispersion, NXfermi_chopper, NXfilter, NXflipper, NXfresnel_zone_plate, NXgrating, NXguide, NXibeam_column, NXinsertion_device, NXmagnetic_kicker, NXmanipulator, NXmirror, NXmoderator, NXmonitor, NXmonochromator, NXoptical_fiber, NXoptical_lens, NXoptical_polarizer, NXoptical_window, NXpid_controller, NXpinhole, NXpolarizer, NXpositioner, NXpump, NXquadrupole_magnet, NXsample, NXsample_component, NXscan_controller, NXsensor, NXseparator, NXslit, NXsolenoid_magnet, NXsource, NXspin_rotator, NXspindispersion, NXvelocity_selector, NXwaveplate, NXxraylens

public interface NXcomponent extends NXobject
Base class for components of an instrument - real ones or simulated ones.
  • Field Details

  • Method Details

    • getApplied

      org.eclipse.january.dataset.Dataset getApplied()
      Was the component used?

      Type: NX_BOOLEAN

      Returns:
      the value.
    • setApplied

      DataNode setApplied(org.eclipse.january.dataset.IDataset appliedDataset)
      Was the component used?

      Type: NX_BOOLEAN

      Parameters:
      appliedDataset - the appliedDataset
    • getAppliedScalar

      Boolean getAppliedScalar()
      Was the component used?

      Type: NX_BOOLEAN

      Returns:
      the value.
    • setAppliedScalar

      DataNode setAppliedScalar(Boolean appliedValue)
      Was the component used?

      Type: NX_BOOLEAN

      Parameters:
      applied - the applied
    • getName

      org.eclipse.january.dataset.Dataset getName()
      Name of the component.

      Type: NX_CHAR

      Returns:
      the value.
    • setName

      DataNode setName(org.eclipse.january.dataset.IDataset nameDataset)
      Name of the component.

      Type: NX_CHAR

      Parameters:
      nameDataset - the nameDataset
    • getNameScalar

      String getNameScalar()
      Name of the component.

      Type: NX_CHAR

      Returns:
      the value.
    • setNameScalar

      DataNode setNameScalar(String nameValue)
      Name of the component.

      Type: NX_CHAR

      Parameters:
      name - the name
    • getDescription

      org.eclipse.january.dataset.Dataset getDescription()
      Ideally, use instances of ``identifierNAME`` to point to a resource that provides further details. If such a resource does not exist or should not be used, use this free text, although it is not recommended.

      Type: NX_CHAR

      Returns:
      the value.
    • setDescription

      DataNode setDescription(org.eclipse.january.dataset.IDataset descriptionDataset)
      Ideally, use instances of ``identifierNAME`` to point to a resource that provides further details. If such a resource does not exist or should not be used, use this free text, although it is not recommended.

      Type: NX_CHAR

      Parameters:
      descriptionDataset - the descriptionDataset
    • getDescriptionScalar

      String getDescriptionScalar()
      Ideally, use instances of ``identifierNAME`` to point to a resource that provides further details. If such a resource does not exist or should not be used, use this free text, although it is not recommended.

      Type: NX_CHAR

      Returns:
      the value.
    • setDescriptionScalar

      DataNode setDescriptionScalar(String descriptionValue)
      Ideally, use instances of ``identifierNAME`` to point to a resource that provides further details. If such a resource does not exist or should not be used, use this free text, although it is not recommended.

      Type: NX_CHAR

      Parameters:
      description - the description
    • getInputs

      org.eclipse.january.dataset.Dataset getInputs()
      Instance or list of instances of ``NXcomponent`` (or base classes extending ``NXcomponent``) or ``NXbeam`` that act as input(s) to this component. Each input should point to the path of the group acting as input. An example usage would be to chain components and/or beams together to describe the beam path in an experiment.

      Type: NX_CHAR

      Returns:
      the value.
    • setInputs

      DataNode setInputs(org.eclipse.january.dataset.IDataset inputsDataset)
      Instance or list of instances of ``NXcomponent`` (or base classes extending ``NXcomponent``) or ``NXbeam`` that act as input(s) to this component. Each input should point to the path of the group acting as input. An example usage would be to chain components and/or beams together to describe the beam path in an experiment.

      Type: NX_CHAR

      Parameters:
      inputsDataset - the inputsDataset
    • getInputsScalar

      String getInputsScalar()
      Instance or list of instances of ``NXcomponent`` (or base classes extending ``NXcomponent``) or ``NXbeam`` that act as input(s) to this component. Each input should point to the path of the group acting as input. An example usage would be to chain components and/or beams together to describe the beam path in an experiment.

      Type: NX_CHAR

      Returns:
      the value.
    • setInputsScalar

      DataNode setInputsScalar(String inputsValue)
      Instance or list of instances of ``NXcomponent`` (or base classes extending ``NXcomponent``) or ``NXbeam`` that act as input(s) to this component. Each input should point to the path of the group acting as input. An example usage would be to chain components and/or beams together to describe the beam path in an experiment.

      Type: NX_CHAR

      Parameters:
      inputs - the inputs
    • getOutputs

      org.eclipse.january.dataset.Dataset getOutputs()
      Instance or list of instances of ``NXcomponent`` (or base classes extending ``NXcomponent``) or ``NXbeam`` that act as output(s) of this component. For more information, see :ref:`inputs invalid input: '<'/NXcomponent/inputs-field>`.

      Type: NX_CHAR

      Returns:
      the value.
    • setOutputs

      DataNode setOutputs(org.eclipse.january.dataset.IDataset outputsDataset)
      Instance or list of instances of ``NXcomponent`` (or base classes extending ``NXcomponent``) or ``NXbeam`` that act as output(s) of this component. For more information, see :ref:`inputs invalid input: '<'/NXcomponent/inputs-field>`.

      Type: NX_CHAR

      Parameters:
      outputsDataset - the outputsDataset
    • getOutputsScalar

      String getOutputsScalar()
      Instance or list of instances of ``NXcomponent`` (or base classes extending ``NXcomponent``) or ``NXbeam`` that act as output(s) of this component. For more information, see :ref:`inputs invalid input: '<'/NXcomponent/inputs-field>`.

      Type: NX_CHAR

      Returns:
      the value.
    • setOutputsScalar

      DataNode setOutputsScalar(String outputsValue)
      Instance or list of instances of ``NXcomponent`` (or base classes extending ``NXcomponent``) or ``NXbeam`` that act as output(s) of this component. For more information, see :ref:`inputs invalid input: '<'/NXcomponent/inputs-field>`.

      Type: NX_CHAR

      Parameters:
      outputs - the outputs
    • getFabrication

      NXfabrication getFabrication()
      Returns:
      the value.
    • setFabrication

      void setFabrication(NXfabrication fabricationGroup)
      Parameters:
      fabricationGroup - the fabricationGroup
    • getFabrication

      NXfabrication getFabrication(String name)
      Get a NXfabrication node by name:
      Parameters:
      name - the name of the node.
      Returns:
      a map from node names to the NXfabrication for that node.
    • setFabrication

      void setFabrication(String name, NXfabrication fabrication)
      Set a NXfabrication node by name:
      Parameters:
      name - the name of the node
      fabrication - the value to set
    • getAllFabrication

      Map<String,NXfabrication> getAllFabrication()
      Get all NXfabrication nodes:
      Returns:
      a map from node names to the NXfabrication for that node.
    • setAllFabrication

      void setAllFabrication(Map<String,NXfabrication> fabrication)
      Set multiple child nodes of a particular type.
      Parameters:
      fabrication - the child nodes to add
    • getProgram

      NXprogram getProgram()
      Returns:
      the value.
    • setProgram

      void setProgram(NXprogram programGroup)
      Parameters:
      programGroup - the programGroup
    • getProgram

      NXprogram getProgram(String name)
      Get a NXprogram node by name:
      Parameters:
      name - the name of the node.
      Returns:
      a map from node names to the NXprogram for that node.
    • setProgram

      void setProgram(String name, NXprogram program)
      Set a NXprogram node by name:
      Parameters:
      name - the name of the node
      program - the value to set
    • getAllProgram

      Map<String,NXprogram> getAllProgram()
      Get all NXprogram nodes:
      Returns:
      a map from node names to the NXprogram for that node.
    • setAllProgram

      void setAllProgram(Map<String,NXprogram> program)
      Set multiple child nodes of a particular type.
      Parameters:
      program - the child nodes to add
    • getDepends_on

      org.eclipse.january.dataset.Dataset getDepends_on()
      Specifies the position of the component by pointing to the last transformation in the transformation chain that is defined via the NXtransformations group. NeXus positions components by applying a set of translations and rotations to apply to the component starting from 0, 0, 0. The order of these operations is critical and forms what NeXus calls a dependency chain. The depends_on field defines the path to the top most operation of the dependency chain or the string "." if located in the origin. Usually these operations are stored in a NXtransformations group. But NeXus allows them to be stored anywhere.

      Type: NX_CHAR

      Returns:
      the value.
    • setDepends_on

      DataNode setDepends_on(org.eclipse.january.dataset.IDataset depends_onDataset)
      Specifies the position of the component by pointing to the last transformation in the transformation chain that is defined via the NXtransformations group. NeXus positions components by applying a set of translations and rotations to apply to the component starting from 0, 0, 0. The order of these operations is critical and forms what NeXus calls a dependency chain. The depends_on field defines the path to the top most operation of the dependency chain or the string "." if located in the origin. Usually these operations are stored in a NXtransformations group. But NeXus allows them to be stored anywhere.

      Type: NX_CHAR

      Parameters:
      depends_onDataset - the depends_onDataset
    • getDepends_onScalar

      String getDepends_onScalar()
      Specifies the position of the component by pointing to the last transformation in the transformation chain that is defined via the NXtransformations group. NeXus positions components by applying a set of translations and rotations to apply to the component starting from 0, 0, 0. The order of these operations is critical and forms what NeXus calls a dependency chain. The depends_on field defines the path to the top most operation of the dependency chain or the string "." if located in the origin. Usually these operations are stored in a NXtransformations group. But NeXus allows them to be stored anywhere.

      Type: NX_CHAR

      Returns:
      the value.
    • setDepends_onScalar

      DataNode setDepends_onScalar(String depends_onValue)
      Specifies the position of the component by pointing to the last transformation in the transformation chain that is defined via the NXtransformations group. NeXus positions components by applying a set of translations and rotations to apply to the component starting from 0, 0, 0. The order of these operations is critical and forms what NeXus calls a dependency chain. The depends_on field defines the path to the top most operation of the dependency chain or the string "." if located in the origin. Usually these operations are stored in a NXtransformations group. But NeXus allows them to be stored anywhere.

      Type: NX_CHAR

      Parameters:
      depends_on - the depends_on
    • getTransformations

      NXtransformations getTransformations()
      Collection of axis-based translations and rotations to describe the location and geometry of the component in the instrument. The dependency chain may however traverse similar groups in other component groups.
      Returns:
      the value.
    • setTransformations

      void setTransformations(NXtransformations transformationsGroup)
      Collection of axis-based translations and rotations to describe the location and geometry of the component in the instrument. The dependency chain may however traverse similar groups in other component groups.
      Parameters:
      transformationsGroup - the transformationsGroup
    • getTransformations

      NXtransformations getTransformations(String name)
      Get a NXtransformations node by name:
      • Collection of axis-based translations and rotations to describe the location and geometry of the component in the instrument. The dependency chain may however traverse similar groups in other component groups.
      Parameters:
      name - the name of the node.
      Returns:
      a map from node names to the NXtransformations for that node.
    • setTransformations

      void setTransformations(String name, NXtransformations transformations)
      Set a NXtransformations node by name:
      • Collection of axis-based translations and rotations to describe the location and geometry of the component in the instrument. The dependency chain may however traverse similar groups in other component groups.
      Parameters:
      name - the name of the node
      transformations - the value to set
    • getAllTransformations

      Map<String,NXtransformations> getAllTransformations()
      Get all NXtransformations nodes:
      • Collection of axis-based translations and rotations to describe the location and geometry of the component in the instrument. The dependency chain may however traverse similar groups in other component groups.
      Returns:
      a map from node names to the NXtransformations for that node.
    • setAllTransformations

      void setAllTransformations(Map<String,NXtransformations> transformations)
      Set multiple child nodes of a particular type.
      • Collection of axis-based translations and rotations to describe the location and geometry of the component in the instrument. The dependency chain may however traverse similar groups in other component groups.
      Parameters:
      transformations - the child nodes to add