generated.docs.javadoc.org.eclipse.dawnsci.nexus.impl.NXvelocity_selectorImpl.html Maven / Gradle / Ivy
NXvelocity_selectorImpl (h5jan API)
org.eclipse.dawnsci.nexus.impl
Class NXvelocity_selectorImpl
- java.lang.Object
-
- org.eclipse.dawnsci.analysis.tree.impl.NodeImpl
-
- org.eclipse.dawnsci.analysis.tree.impl.GroupNodeImpl
-
- org.eclipse.dawnsci.nexus.impl.NXobjectImpl
-
- org.eclipse.dawnsci.nexus.impl.NXvelocity_selectorImpl
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<NodeLink>, GroupNode, Node, NXobject, NXvelocity_selector
public class NXvelocity_selectorImpl
extends NXobjectImpl
implements NXvelocity_selector
A neutron velocity selector
- See Also:
- Serialized Form
-
-
Field Summary
Fields
Modifier and Type
Field and Description
static java.util.Set<NexusBaseClass>
PERMITTED_CHILD_GROUP_CLASSES
-
Fields inherited from class org.eclipse.dawnsci.nexus.impl.NXobjectImpl
NX_CLASS
-
Fields inherited from class org.eclipse.dawnsci.analysis.tree.impl.NodeImpl
attributes, id, INDENT
-
Fields inherited from interface org.eclipse.dawnsci.nexus.NXvelocity_selector
NX_HEIGHT, NX_LENGTH, NX_NUM, NX_RADIUS, NX_ROTATION_SPEED, NX_SPWIDTH, NX_TABLE, NX_TWIST, NX_TYPE, NX_WAVELENGTH, NX_WAVELENGTH_SPREAD, NX_WIDTH
-
Constructor Summary
Constructors
Constructor and Description
NXvelocity_selectorImpl()
NXvelocity_selectorImpl(long oid)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
NXgeometry
getGeometry()
IDataset
getHeight()
input beam height
java.lang.Double
getHeightScalar()
input beam height
IDataset
getLength()
rotor length
java.lang.Double
getLengthScalar()
rotor length
NexusBaseClass
getNexusBaseClass()
Enum constant from NexusBaseClass
for this base class, e.g.
IDataset
getNum()
number of spokes/lamella
java.lang.Long
getNumScalar()
number of spokes/lamella
java.lang.Class<? extends NXobject>
getNXclass()
Java Class
object of the interface for this base class, e.g.
java.util.Set<NexusBaseClass>
getPermittedChildGroupClasses()
Returns a set containing the NexusBaseClass
constants for the permitted child group types
of this base class.
IDataset
getRadius()
radius at beam centre
java.lang.Double
getRadiusScalar()
radius at beam centre
IDataset
getRotation_speed()
velocity selector rotation speed
java.lang.Double
getRotation_speedScalar()
velocity selector rotation speed
IDataset
getSpwidth()
spoke width at beam centre
java.lang.Double
getSpwidthScalar()
spoke width at beam centre
IDataset
getTable()
offset vertical angle
java.lang.Double
getTableScalar()
offset vertical angle
IDataset
getTwist()
twist angle along axis
java.lang.Double
getTwistScalar()
twist angle along axis
IDataset
getType()
velocity selector type
java.lang.String
getTypeScalar()
velocity selector type
IDataset
getWavelength_spread()
deviation FWHM /Wavelength
java.lang.Double
getWavelength_spreadScalar()
deviation FWHM /Wavelength
IDataset
getWavelength()
wavelength
java.lang.Double
getWavelengthScalar()
wavelength
IDataset
getWidth()
input beam width
java.lang.Double
getWidthScalar()
input beam width
void
setGeometry(NXgeometry geometry)
DataNode
setHeight(IDataset height)
input beam height
DataNode
setHeightScalar(java.lang.Double height)
input beam height
DataNode
setLength(IDataset length)
rotor length
DataNode
setLengthScalar(java.lang.Double length)
rotor length
DataNode
setNum(IDataset num)
number of spokes/lamella
DataNode
setNumScalar(java.lang.Long num)
number of spokes/lamella
DataNode
setRadius(IDataset radius)
radius at beam centre
DataNode
setRadiusScalar(java.lang.Double radius)
radius at beam centre
DataNode
setRotation_speed(IDataset rotation_speed)
velocity selector rotation speed
DataNode
setRotation_speedScalar(java.lang.Double rotation_speed)
velocity selector rotation speed
DataNode
setSpwidth(IDataset spwidth)
spoke width at beam centre
DataNode
setSpwidthScalar(java.lang.Double spwidth)
spoke width at beam centre
DataNode
setTable(IDataset table)
offset vertical angle
DataNode
setTableScalar(java.lang.Double table)
offset vertical angle
DataNode
setTwist(IDataset twist)
twist angle along axis
DataNode
setTwistScalar(java.lang.Double twist)
twist angle along axis
DataNode
setType(IDataset type)
velocity selector type
DataNode
setTypeScalar(java.lang.String type)
velocity selector type
DataNode
setWavelength_spread(IDataset wavelength_spread)
deviation FWHM /Wavelength
DataNode
setWavelength_spreadScalar(java.lang.Double wavelength_spread)
deviation FWHM /Wavelength
DataNode
setWavelength(IDataset wavelength)
wavelength
DataNode
setWavelengthScalar(java.lang.Double wavelength)
wavelength
DataNode
setWidth(IDataset width)
input beam width
DataNode
setWidthScalar(java.lang.Double width)
input beam width
-
Methods inherited from class org.eclipse.dawnsci.nexus.impl.NXobjectImpl
addExternalLink, appendNodeString, canAddChild, createDataNode, getAllDatasets, getAttr, getAttrBoolean, getAttrDate, getAttrDouble, getAttrLong, getAttrNumber, getAttrString, getBoolean, getChild, getChildren, getChildren, getDataset, getDate, getDouble, getLazyWritableDataset, getLong, getNumber, getString, initializeFixedSizeLazyDataset, initializeLazyDataset, initializeLazyDataset, putChild, setAttribute, setChildren, setDataset, setDate, setField, setString
-
Methods inherited from class org.eclipse.dawnsci.analysis.tree.impl.GroupNodeImpl
addDataNode, addGroupNode, addNode, addNodeLink, addSymbolicNode, containsDataNode, containsGroupNode, containsNode, containsSymbolicNode, createNodeLink, findLinkedNodeName, findNodeLink, getDataNode, getDataNodeMap, getDataNodes, getDatasets, getGlobalPool, getGroupNode, getGroupNodeMap, getGroupNodes, getNames, getNode, getNodeLink, getNodeNameIterator, getNumberOfDataNodes, getNumberOfGroupNodes, getNumberOfNodelinks, getSymbolicNode, isGroupNode, isPopulated, iterator, removeDataNode, removeDataNode, removeGroupNode, removeGroupNode, removeSymbolicNode, removeSymbolicNode, setGlobalPool, toString
-
Methods inherited from class org.eclipse.dawnsci.analysis.tree.impl.NodeImpl
addAttribute, containsAttribute, getAttribute, getAttributeIterator, getAttributeNameIterator, getID, getNumberOfAttributes, isDataNode, isSymbolicNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.dawnsci.nexus.NXobject
addExternalLink, canAddChild, createDataNode, getAllDatasets, getAttr, getAttrBoolean, getAttrDate, getAttrDouble, getAttrLong, getAttrNumber, getAttrString, getBoolean, getChild, getChildren, getChildren, getDataset, getDate, getDouble, getLazyWritableDataset, getLong, getNumber, getString, initializeFixedSizeLazyDataset, initializeLazyDataset, initializeLazyDataset, putChild, setAttribute, setChildren, setDataset, setField
-
Methods inherited from interface org.eclipse.dawnsci.analysis.api.tree.GroupNode
addDataNode, addGroupNode, addNode, addNodeLink, addSymbolicNode, containsDataNode, containsGroupNode, containsNode, containsSymbolicNode, findLinkedNodeName, findNodeLink, getDataNode, getDataNodeMap, getDataNodes, getDatasets, getGlobalPool, getGroupNode, getGroupNodeMap, getGroupNodes, getNames, getNode, getNodeLink, getNodeNameIterator, getNumberOfDataNodes, getNumberOfGroupNodes, getNumberOfNodelinks, getSymbolicNode, isPopulated, iterator, removeDataNode, removeDataNode, removeGroupNode, removeGroupNode, removeSymbolicNode, removeSymbolicNode, setGlobalPool
-
Methods inherited from interface org.eclipse.dawnsci.analysis.api.tree.Node
addAttribute, containsAttribute, getAttribute, getAttributeIterator, getAttributeNameIterator, getID, getNumberOfAttributes, isDataNode, isGroupNode, isSymbolicNode
-
-
Field Detail
-
PERMITTED_CHILD_GROUP_CLASSES
public static final java.util.Set<NexusBaseClass> PERMITTED_CHILD_GROUP_CLASSES
-
Constructor Detail
-
NXvelocity_selectorImpl
public NXvelocity_selectorImpl()
-
NXvelocity_selectorImpl
public NXvelocity_selectorImpl(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
-
getNexusBaseClass
public NexusBaseClass getNexusBaseClass()
Description copied from interface: NXobject
Enum constant from NexusBaseClass
for this base class, e.g. NexusBaseClass.NX_SAMPLE
.
- Specified by:
getNexusBaseClass
in interface NXobject
- Returns:
NexusBaseClass
enum constant for this class
-
getPermittedChildGroupClasses
public java.util.Set<NexusBaseClass> getPermittedChildGroupClasses()
Description copied from interface: NXobject
Returns a set containing the NexusBaseClass
constants for the permitted child group types
of this base class.
- Specified by:
getPermittedChildGroupClasses
in interface NXobject
- Returns:
NexusBaseClass
constants for permitted child groups
-
getType
public IDataset getType()
Description copied from interface: NXvelocity_selector
velocity selector type
- Specified by:
getType
in interface NXvelocity_selector
- Returns:
- the value.
-
getTypeScalar
public java.lang.String getTypeScalar()
Description copied from interface: NXvelocity_selector
velocity selector type
- Specified by:
getTypeScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setType
public DataNode setType(IDataset type)
Description copied from interface: NXvelocity_selector
velocity selector type
- Specified by:
setType
in interface NXvelocity_selector
- Parameters:
type
- the type
-
setTypeScalar
public DataNode setTypeScalar(java.lang.String type)
Description copied from interface: NXvelocity_selector
velocity selector type
- Specified by:
setTypeScalar
in interface NXvelocity_selector
- Parameters:
type
- the type
-
getRotation_speed
public IDataset getRotation_speed()
Description copied from interface: NXvelocity_selector
velocity selector rotation speed
Type: NX_FLOAT
Units: NX_FREQUENCY
- Specified by:
getRotation_speed
in interface NXvelocity_selector
- Returns:
- the value.
-
getRotation_speedScalar
public java.lang.Double getRotation_speedScalar()
Description copied from interface: NXvelocity_selector
velocity selector rotation speed
Type: NX_FLOAT
Units: NX_FREQUENCY
- Specified by:
getRotation_speedScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setRotation_speed
public DataNode setRotation_speed(IDataset rotation_speed)
Description copied from interface: NXvelocity_selector
velocity selector rotation speed
Type: NX_FLOAT
Units: NX_FREQUENCY
- Specified by:
setRotation_speed
in interface NXvelocity_selector
- Parameters:
rotation_speed
- the rotation_speed
-
setRotation_speedScalar
public DataNode setRotation_speedScalar(java.lang.Double rotation_speed)
Description copied from interface: NXvelocity_selector
velocity selector rotation speed
Type: NX_FLOAT
Units: NX_FREQUENCY
- Specified by:
setRotation_speedScalar
in interface NXvelocity_selector
- Parameters:
rotation_speed
- the rotation_speed
-
getRadius
public IDataset getRadius()
Description copied from interface: NXvelocity_selector
radius at beam centre
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getRadius
in interface NXvelocity_selector
- Returns:
- the value.
-
getRadiusScalar
public java.lang.Double getRadiusScalar()
Description copied from interface: NXvelocity_selector
radius at beam centre
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getRadiusScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setRadius
public DataNode setRadius(IDataset radius)
Description copied from interface: NXvelocity_selector
radius at beam centre
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setRadius
in interface NXvelocity_selector
- Parameters:
radius
- the radius
-
setRadiusScalar
public DataNode setRadiusScalar(java.lang.Double radius)
Description copied from interface: NXvelocity_selector
radius at beam centre
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setRadiusScalar
in interface NXvelocity_selector
- Parameters:
radius
- the radius
-
getSpwidth
public IDataset getSpwidth()
Description copied from interface: NXvelocity_selector
spoke width at beam centre
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getSpwidth
in interface NXvelocity_selector
- Returns:
- the value.
-
getSpwidthScalar
public java.lang.Double getSpwidthScalar()
Description copied from interface: NXvelocity_selector
spoke width at beam centre
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getSpwidthScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setSpwidth
public DataNode setSpwidth(IDataset spwidth)
Description copied from interface: NXvelocity_selector
spoke width at beam centre
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setSpwidth
in interface NXvelocity_selector
- Parameters:
spwidth
- the spwidth
-
setSpwidthScalar
public DataNode setSpwidthScalar(java.lang.Double spwidth)
Description copied from interface: NXvelocity_selector
spoke width at beam centre
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setSpwidthScalar
in interface NXvelocity_selector
- Parameters:
spwidth
- the spwidth
-
getLength
public IDataset getLength()
Description copied from interface: NXvelocity_selector
rotor length
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getLength
in interface NXvelocity_selector
- Returns:
- the value.
-
getLengthScalar
public java.lang.Double getLengthScalar()
Description copied from interface: NXvelocity_selector
rotor length
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getLengthScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setLength
public DataNode setLength(IDataset length)
Description copied from interface: NXvelocity_selector
rotor length
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setLength
in interface NXvelocity_selector
- Parameters:
length
- the length
-
setLengthScalar
public DataNode setLengthScalar(java.lang.Double length)
Description copied from interface: NXvelocity_selector
rotor length
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setLengthScalar
in interface NXvelocity_selector
- Parameters:
length
- the length
-
getNum
public IDataset getNum()
Description copied from interface: NXvelocity_selector
number of spokes/lamella
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
getNum
in interface NXvelocity_selector
- Returns:
- the value.
-
getNumScalar
public java.lang.Long getNumScalar()
Description copied from interface: NXvelocity_selector
number of spokes/lamella
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
getNumScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setNum
public DataNode setNum(IDataset num)
Description copied from interface: NXvelocity_selector
number of spokes/lamella
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
setNum
in interface NXvelocity_selector
- Parameters:
num
- the num
-
setNumScalar
public DataNode setNumScalar(java.lang.Long num)
Description copied from interface: NXvelocity_selector
number of spokes/lamella
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
setNumScalar
in interface NXvelocity_selector
- Parameters:
num
- the num
-
getTwist
public IDataset getTwist()
Description copied from interface: NXvelocity_selector
twist angle along axis
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
getTwist
in interface NXvelocity_selector
- Returns:
- the value.
-
getTwistScalar
public java.lang.Double getTwistScalar()
Description copied from interface: NXvelocity_selector
twist angle along axis
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
getTwistScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setTwist
public DataNode setTwist(IDataset twist)
Description copied from interface: NXvelocity_selector
twist angle along axis
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
setTwist
in interface NXvelocity_selector
- Parameters:
twist
- the twist
-
setTwistScalar
public DataNode setTwistScalar(java.lang.Double twist)
Description copied from interface: NXvelocity_selector
twist angle along axis
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
setTwistScalar
in interface NXvelocity_selector
- Parameters:
twist
- the twist
-
getTable
public IDataset getTable()
Description copied from interface: NXvelocity_selector
offset vertical angle
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
getTable
in interface NXvelocity_selector
- Returns:
- the value.
-
getTableScalar
public java.lang.Double getTableScalar()
Description copied from interface: NXvelocity_selector
offset vertical angle
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
getTableScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setTable
public DataNode setTable(IDataset table)
Description copied from interface: NXvelocity_selector
offset vertical angle
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
setTable
in interface NXvelocity_selector
- Parameters:
table
- the table
-
setTableScalar
public DataNode setTableScalar(java.lang.Double table)
Description copied from interface: NXvelocity_selector
offset vertical angle
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
setTableScalar
in interface NXvelocity_selector
- Parameters:
table
- the table
-
getHeight
public IDataset getHeight()
Description copied from interface: NXvelocity_selector
input beam height
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getHeight
in interface NXvelocity_selector
- Returns:
- the value.
-
getHeightScalar
public java.lang.Double getHeightScalar()
Description copied from interface: NXvelocity_selector
input beam height
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getHeightScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setHeight
public DataNode setHeight(IDataset height)
Description copied from interface: NXvelocity_selector
input beam height
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setHeight
in interface NXvelocity_selector
- Parameters:
height
- the height
-
setHeightScalar
public DataNode setHeightScalar(java.lang.Double height)
Description copied from interface: NXvelocity_selector
input beam height
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setHeightScalar
in interface NXvelocity_selector
- Parameters:
height
- the height
-
getWidth
public IDataset getWidth()
Description copied from interface: NXvelocity_selector
input beam width
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getWidth
in interface NXvelocity_selector
- Returns:
- the value.
-
getWidthScalar
public java.lang.Double getWidthScalar()
Description copied from interface: NXvelocity_selector
input beam width
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getWidthScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setWidth
public DataNode setWidth(IDataset width)
Description copied from interface: NXvelocity_selector
input beam width
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setWidth
in interface NXvelocity_selector
- Parameters:
width
- the width
-
setWidthScalar
public DataNode setWidthScalar(java.lang.Double width)
Description copied from interface: NXvelocity_selector
input beam width
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setWidthScalar
in interface NXvelocity_selector
- Parameters:
width
- the width
-
getWavelength
public IDataset getWavelength()
Description copied from interface: NXvelocity_selector
wavelength
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
getWavelength
in interface NXvelocity_selector
- Returns:
- the value.
-
getWavelengthScalar
public java.lang.Double getWavelengthScalar()
Description copied from interface: NXvelocity_selector
wavelength
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
getWavelengthScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setWavelength
public DataNode setWavelength(IDataset wavelength)
Description copied from interface: NXvelocity_selector
wavelength
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
setWavelength
in interface NXvelocity_selector
- Parameters:
wavelength
- the wavelength
-
setWavelengthScalar
public DataNode setWavelengthScalar(java.lang.Double wavelength)
Description copied from interface: NXvelocity_selector
wavelength
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
setWavelengthScalar
in interface NXvelocity_selector
- Parameters:
wavelength
- the wavelength
-
getWavelength_spread
public IDataset getWavelength_spread()
Description copied from interface: NXvelocity_selector
deviation FWHM /Wavelength
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
getWavelength_spread
in interface NXvelocity_selector
- Returns:
- the value.
-
getWavelength_spreadScalar
public java.lang.Double getWavelength_spreadScalar()
Description copied from interface: NXvelocity_selector
deviation FWHM /Wavelength
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
getWavelength_spreadScalar
in interface NXvelocity_selector
- Returns:
- the value.
-
setWavelength_spread
public DataNode setWavelength_spread(IDataset wavelength_spread)
Description copied from interface: NXvelocity_selector
deviation FWHM /Wavelength
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
setWavelength_spread
in interface NXvelocity_selector
- Parameters:
wavelength_spread
- the wavelength_spread
-
setWavelength_spreadScalar
public DataNode setWavelength_spreadScalar(java.lang.Double wavelength_spread)
Description copied from interface: NXvelocity_selector
deviation FWHM /Wavelength
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
setWavelength_spreadScalar
in interface NXvelocity_selector
- Parameters:
wavelength_spread
- the wavelength_spread
-
getGeometry
public NXgeometry getGeometry()
- Specified by:
getGeometry
in interface NXvelocity_selector
- Returns:
- the value.
-
setGeometry
public void setGeometry(NXgeometry geometry)
- Specified by:
setGeometry
in interface NXvelocity_selector
- Parameters:
geometry
- the geometry