generated.docs.javadoc.org.eclipse.dawnsci.nexus.impl.NXinsertion_deviceImpl.html Maven / Gradle / Ivy
NXinsertion_deviceImpl (h5jan API)
org.eclipse.dawnsci.nexus.impl
Class NXinsertion_deviceImpl
- 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.NXinsertion_deviceImpl
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<NodeLink>, GroupNode, Node, NXinsertion_device, NXobject
public class NXinsertion_deviceImpl
extends NXobjectImpl
implements NXinsertion_device
An insertion device, as used in a synchrotron light source.
- 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.NXinsertion_device
NX_BANDWIDTH, NX_ENERGY, NX_GAP, NX_HARMONIC, NX_K, NX_LENGTH, NX_MAGNETIC_WAVELENGTH, NX_PHASE, NX_POLES, NX_POWER, NX_TAPER, NX_TYPE
-
Constructor Summary
Constructors
Constructor and Description
NXinsertion_deviceImpl()
NXinsertion_deviceImpl(long oid)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
java.util.Map<java.lang.String,NXgeometry>
getAllGeometry()
Get all NXgeometry nodes:
"Engineering" position of insertion device
IDataset
getBandwidth()
bandwidth of peak energy
java.lang.Double
getBandwidthScalar()
bandwidth of peak energy
IDataset
getEnergy()
energy of peak intensity in output spectrum
java.lang.Double
getEnergyScalar()
energy of peak intensity in output spectrum
IDataset
getGap()
separation between opposing pairs of magnetic poles
java.lang.Double
getGapScalar()
separation between opposing pairs of magnetic poles
NXgeometry
getGeometry()
"Engineering" position of insertion device
NXgeometry
getGeometry(java.lang.String name)
Get a NXgeometry node by name:
"Engineering" position of insertion device
IDataset
getHarmonic()
harmonic number of peak
java.lang.Long
getHarmonicScalar()
harmonic number of peak
IDataset
getK()
beam displacement parameter
java.lang.Double
getKScalar()
beam displacement parameter
IDataset
getLength()
length of insertion device
java.lang.Double
getLengthScalar()
length of insertion device
IDataset
getMagnetic_wavelength()
Type: NX_FLOAT
Units: NX_WAVELENGTH
java.lang.Double
getMagnetic_wavelengthScalar()
Type: NX_FLOAT
Units: NX_WAVELENGTH
NexusBaseClass
getNexusBaseClass()
Enum constant from NexusBaseClass
for this base class, e.g.
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
getPhase()
Type: NX_FLOAT
Units: NX_ANGLE
java.lang.Double
getPhaseScalar()
Type: NX_FLOAT
Units: NX_ANGLE
IDataset
getPoles()
number of poles
java.lang.Long
getPolesScalar()
number of poles
IDataset
getPower()
total power delivered by insertion device
java.lang.Double
getPowerScalar()
total power delivered by insertion device
NXdata
getSpectrum()
spectrum of insertion device
IDataset
getTaper()
angular of gap difference between upstream and downstream ends of the insertion device
java.lang.Double
getTaperScalar()
angular of gap difference between upstream and downstream ends of the insertion device
IDataset
getType()
java.lang.String
getTypeScalar()
void
setAllGeometry(java.util.Map<java.lang.String,NXgeometry> geometry)
Set multiple child nodes of a particular type.
DataNode
setBandwidth(IDataset bandwidth)
bandwidth of peak energy
DataNode
setBandwidthScalar(java.lang.Double bandwidth)
bandwidth of peak energy
DataNode
setEnergy(IDataset energy)
energy of peak intensity in output spectrum
DataNode
setEnergyScalar(java.lang.Double energy)
energy of peak intensity in output spectrum
DataNode
setGap(IDataset gap)
separation between opposing pairs of magnetic poles
DataNode
setGapScalar(java.lang.Double gap)
separation between opposing pairs of magnetic poles
void
setGeometry(NXgeometry geometry)
"Engineering" position of insertion device
void
setGeometry(java.lang.String name,
NXgeometry geometry)
Set a NXgeometry node by name:
"Engineering" position of insertion device
DataNode
setHarmonic(IDataset harmonic)
harmonic number of peak
DataNode
setHarmonicScalar(java.lang.Long harmonic)
harmonic number of peak
DataNode
setK(IDataset k)
beam displacement parameter
DataNode
setKScalar(java.lang.Double k)
beam displacement parameter
DataNode
setLength(IDataset length)
length of insertion device
DataNode
setLengthScalar(java.lang.Double length)
length of insertion device
DataNode
setMagnetic_wavelength(IDataset magnetic_wavelength)
Type: NX_FLOAT
Units: NX_WAVELENGTH
DataNode
setMagnetic_wavelengthScalar(java.lang.Double magnetic_wavelength)
Type: NX_FLOAT
Units: NX_WAVELENGTH
DataNode
setPhase(IDataset phase)
Type: NX_FLOAT
Units: NX_ANGLE
DataNode
setPhaseScalar(java.lang.Double phase)
Type: NX_FLOAT
Units: NX_ANGLE
DataNode
setPoles(IDataset poles)
number of poles
DataNode
setPolesScalar(java.lang.Long poles)
number of poles
DataNode
setPower(IDataset power)
total power delivered by insertion device
DataNode
setPowerScalar(java.lang.Double power)
total power delivered by insertion device
void
setSpectrum(NXdata spectrum)
spectrum of insertion device
DataNode
setTaper(IDataset taper)
angular of gap difference between upstream and downstream ends of the insertion device
DataNode
setTaperScalar(java.lang.Double taper)
angular of gap difference between upstream and downstream ends of the insertion device
DataNode
setType(IDataset type)
DataNode
setTypeScalar(java.lang.String type)
-
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
-
NXinsertion_deviceImpl
public NXinsertion_deviceImpl()
-
NXinsertion_deviceImpl
public NXinsertion_deviceImpl(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: NXinsertion_device
Enumeration:
- undulator
- wiggler
- Specified by:
getType
in interface NXinsertion_device
- Returns:
- the value.
-
getTypeScalar
public java.lang.String getTypeScalar()
Description copied from interface: NXinsertion_device
Enumeration:
- undulator
- wiggler
- Specified by:
getTypeScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setType
public DataNode setType(IDataset type)
Description copied from interface: NXinsertion_device
Enumeration:
- undulator
- wiggler
- Specified by:
setType
in interface NXinsertion_device
- Parameters:
type
- the type
-
setTypeScalar
public DataNode setTypeScalar(java.lang.String type)
Description copied from interface: NXinsertion_device
Enumeration:
- undulator
- wiggler
- Specified by:
setTypeScalar
in interface NXinsertion_device
- Parameters:
type
- the type
-
getGap
public IDataset getGap()
Description copied from interface: NXinsertion_device
separation between opposing pairs of magnetic poles
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getGap
in interface NXinsertion_device
- Returns:
- the value.
-
getGapScalar
public java.lang.Double getGapScalar()
Description copied from interface: NXinsertion_device
separation between opposing pairs of magnetic poles
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getGapScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setGap
public DataNode setGap(IDataset gap)
Description copied from interface: NXinsertion_device
separation between opposing pairs of magnetic poles
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setGap
in interface NXinsertion_device
- Parameters:
gap
- the gap
-
setGapScalar
public DataNode setGapScalar(java.lang.Double gap)
Description copied from interface: NXinsertion_device
separation between opposing pairs of magnetic poles
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setGapScalar
in interface NXinsertion_device
- Parameters:
gap
- the gap
-
getTaper
public IDataset getTaper()
Description copied from interface: NXinsertion_device
angular of gap difference between upstream and downstream ends of the insertion device
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
getTaper
in interface NXinsertion_device
- Returns:
- the value.
-
getTaperScalar
public java.lang.Double getTaperScalar()
Description copied from interface: NXinsertion_device
angular of gap difference between upstream and downstream ends of the insertion device
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
getTaperScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setTaper
public DataNode setTaper(IDataset taper)
Description copied from interface: NXinsertion_device
angular of gap difference between upstream and downstream ends of the insertion device
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
setTaper
in interface NXinsertion_device
- Parameters:
taper
- the taper
-
setTaperScalar
public DataNode setTaperScalar(java.lang.Double taper)
Description copied from interface: NXinsertion_device
angular of gap difference between upstream and downstream ends of the insertion device
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
setTaperScalar
in interface NXinsertion_device
- Parameters:
taper
- the taper
-
getPhase
public IDataset getPhase()
Description copied from interface: NXinsertion_device
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
getPhase
in interface NXinsertion_device
- Returns:
- the value.
-
getPhaseScalar
public java.lang.Double getPhaseScalar()
Description copied from interface: NXinsertion_device
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
getPhaseScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setPhase
public DataNode setPhase(IDataset phase)
Description copied from interface: NXinsertion_device
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
setPhase
in interface NXinsertion_device
- Parameters:
phase
- the phase
-
setPhaseScalar
public DataNode setPhaseScalar(java.lang.Double phase)
Description copied from interface: NXinsertion_device
Type: NX_FLOAT
Units: NX_ANGLE
- Specified by:
setPhaseScalar
in interface NXinsertion_device
- Parameters:
phase
- the phase
-
getPoles
public IDataset getPoles()
Description copied from interface: NXinsertion_device
number of poles
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
getPoles
in interface NXinsertion_device
- Returns:
- the value.
-
getPolesScalar
public java.lang.Long getPolesScalar()
Description copied from interface: NXinsertion_device
number of poles
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
getPolesScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setPoles
public DataNode setPoles(IDataset poles)
Description copied from interface: NXinsertion_device
number of poles
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
setPoles
in interface NXinsertion_device
- Parameters:
poles
- the poles
-
setPolesScalar
public DataNode setPolesScalar(java.lang.Long poles)
Description copied from interface: NXinsertion_device
number of poles
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
setPolesScalar
in interface NXinsertion_device
- Parameters:
poles
- the poles
-
getMagnetic_wavelength
public IDataset getMagnetic_wavelength()
Description copied from interface: NXinsertion_device
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
getMagnetic_wavelength
in interface NXinsertion_device
- Returns:
- the value.
-
getMagnetic_wavelengthScalar
public java.lang.Double getMagnetic_wavelengthScalar()
Description copied from interface: NXinsertion_device
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
getMagnetic_wavelengthScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setMagnetic_wavelength
public DataNode setMagnetic_wavelength(IDataset magnetic_wavelength)
Description copied from interface: NXinsertion_device
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
setMagnetic_wavelength
in interface NXinsertion_device
- Parameters:
magnetic_wavelength
- the magnetic_wavelength
-
setMagnetic_wavelengthScalar
public DataNode setMagnetic_wavelengthScalar(java.lang.Double magnetic_wavelength)
Description copied from interface: NXinsertion_device
Type: NX_FLOAT
Units: NX_WAVELENGTH
- Specified by:
setMagnetic_wavelengthScalar
in interface NXinsertion_device
- Parameters:
magnetic_wavelength
- the magnetic_wavelength
-
getK
public IDataset getK()
Description copied from interface: NXinsertion_device
beam displacement parameter
Type: NX_FLOAT
Units: NX_DIMENSIONLESS
- Specified by:
getK
in interface NXinsertion_device
- Returns:
- the value.
-
getKScalar
public java.lang.Double getKScalar()
Description copied from interface: NXinsertion_device
beam displacement parameter
Type: NX_FLOAT
Units: NX_DIMENSIONLESS
- Specified by:
getKScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setK
public DataNode setK(IDataset k)
Description copied from interface: NXinsertion_device
beam displacement parameter
Type: NX_FLOAT
Units: NX_DIMENSIONLESS
- Specified by:
setK
in interface NXinsertion_device
- Parameters:
k
- the k
-
setKScalar
public DataNode setKScalar(java.lang.Double k)
Description copied from interface: NXinsertion_device
beam displacement parameter
Type: NX_FLOAT
Units: NX_DIMENSIONLESS
- Specified by:
setKScalar
in interface NXinsertion_device
- Parameters:
k
- the k
-
getLength
public IDataset getLength()
Description copied from interface: NXinsertion_device
length of insertion device
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getLength
in interface NXinsertion_device
- Returns:
- the value.
-
getLengthScalar
public java.lang.Double getLengthScalar()
Description copied from interface: NXinsertion_device
length of insertion device
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
getLengthScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setLength
public DataNode setLength(IDataset length)
Description copied from interface: NXinsertion_device
length of insertion device
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setLength
in interface NXinsertion_device
- Parameters:
length
- the length
-
setLengthScalar
public DataNode setLengthScalar(java.lang.Double length)
Description copied from interface: NXinsertion_device
length of insertion device
Type: NX_FLOAT
Units: NX_LENGTH
- Specified by:
setLengthScalar
in interface NXinsertion_device
- Parameters:
length
- the length
-
getPower
public IDataset getPower()
Description copied from interface: NXinsertion_device
total power delivered by insertion device
Type: NX_FLOAT
Units: NX_POWER
- Specified by:
getPower
in interface NXinsertion_device
- Returns:
- the value.
-
getPowerScalar
public java.lang.Double getPowerScalar()
Description copied from interface: NXinsertion_device
total power delivered by insertion device
Type: NX_FLOAT
Units: NX_POWER
- Specified by:
getPowerScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setPower
public DataNode setPower(IDataset power)
Description copied from interface: NXinsertion_device
total power delivered by insertion device
Type: NX_FLOAT
Units: NX_POWER
- Specified by:
setPower
in interface NXinsertion_device
- Parameters:
power
- the power
-
setPowerScalar
public DataNode setPowerScalar(java.lang.Double power)
Description copied from interface: NXinsertion_device
total power delivered by insertion device
Type: NX_FLOAT
Units: NX_POWER
- Specified by:
setPowerScalar
in interface NXinsertion_device
- Parameters:
power
- the power
-
getEnergy
public IDataset getEnergy()
Description copied from interface: NXinsertion_device
energy of peak intensity in output spectrum
Type: NX_FLOAT
Units: NX_ENERGY
- Specified by:
getEnergy
in interface NXinsertion_device
- Returns:
- the value.
-
getEnergyScalar
public java.lang.Double getEnergyScalar()
Description copied from interface: NXinsertion_device
energy of peak intensity in output spectrum
Type: NX_FLOAT
Units: NX_ENERGY
- Specified by:
getEnergyScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setEnergy
public DataNode setEnergy(IDataset energy)
Description copied from interface: NXinsertion_device
energy of peak intensity in output spectrum
Type: NX_FLOAT
Units: NX_ENERGY
- Specified by:
setEnergy
in interface NXinsertion_device
- Parameters:
energy
- the energy
-
setEnergyScalar
public DataNode setEnergyScalar(java.lang.Double energy)
Description copied from interface: NXinsertion_device
energy of peak intensity in output spectrum
Type: NX_FLOAT
Units: NX_ENERGY
- Specified by:
setEnergyScalar
in interface NXinsertion_device
- Parameters:
energy
- the energy
-
getBandwidth
public IDataset getBandwidth()
Description copied from interface: NXinsertion_device
bandwidth of peak energy
Type: NX_FLOAT
Units: NX_ENERGY
- Specified by:
getBandwidth
in interface NXinsertion_device
- Returns:
- the value.
-
getBandwidthScalar
public java.lang.Double getBandwidthScalar()
Description copied from interface: NXinsertion_device
bandwidth of peak energy
Type: NX_FLOAT
Units: NX_ENERGY
- Specified by:
getBandwidthScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setBandwidth
public DataNode setBandwidth(IDataset bandwidth)
Description copied from interface: NXinsertion_device
bandwidth of peak energy
Type: NX_FLOAT
Units: NX_ENERGY
- Specified by:
setBandwidth
in interface NXinsertion_device
- Parameters:
bandwidth
- the bandwidth
-
setBandwidthScalar
public DataNode setBandwidthScalar(java.lang.Double bandwidth)
Description copied from interface: NXinsertion_device
bandwidth of peak energy
Type: NX_FLOAT
Units: NX_ENERGY
- Specified by:
setBandwidthScalar
in interface NXinsertion_device
- Parameters:
bandwidth
- the bandwidth
-
getHarmonic
public IDataset getHarmonic()
Description copied from interface: NXinsertion_device
harmonic number of peak
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
getHarmonic
in interface NXinsertion_device
- Returns:
- the value.
-
getHarmonicScalar
public java.lang.Long getHarmonicScalar()
Description copied from interface: NXinsertion_device
harmonic number of peak
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
getHarmonicScalar
in interface NXinsertion_device
- Returns:
- the value.
-
setHarmonic
public DataNode setHarmonic(IDataset harmonic)
Description copied from interface: NXinsertion_device
harmonic number of peak
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
setHarmonic
in interface NXinsertion_device
- Parameters:
harmonic
- the harmonic
-
setHarmonicScalar
public DataNode setHarmonicScalar(java.lang.Long harmonic)
Description copied from interface: NXinsertion_device
harmonic number of peak
Type: NX_INT
Units: NX_UNITLESS
- Specified by:
setHarmonicScalar
in interface NXinsertion_device
- Parameters:
harmonic
- the harmonic
-
getSpectrum
public NXdata getSpectrum()
Description copied from interface: NXinsertion_device
spectrum of insertion device
- Specified by:
getSpectrum
in interface NXinsertion_device
- Returns:
- the value.
-
setSpectrum
public void setSpectrum(NXdata spectrum)
Description copied from interface: NXinsertion_device
spectrum of insertion device
- Specified by:
setSpectrum
in interface NXinsertion_device
- Parameters:
spectrum
- the spectrum
-
getGeometry
public NXgeometry getGeometry()
Description copied from interface: NXinsertion_device
"Engineering" position of insertion device
- Specified by:
getGeometry
in interface NXinsertion_device
- Returns:
- the value.
-
setGeometry
public void setGeometry(NXgeometry geometry)
Description copied from interface: NXinsertion_device
"Engineering" position of insertion device
- Specified by:
setGeometry
in interface NXinsertion_device
- Parameters:
geometry
- the geometry
-
getGeometry
public NXgeometry getGeometry(java.lang.String name)
Description copied from interface: NXinsertion_device
Get a NXgeometry node by name:
-
"Engineering" position of insertion device
- Specified by:
getGeometry
in interface NXinsertion_device
- Parameters:
name
- the name of the node.
- Returns:
- a map from node names to the NXgeometry for that node.
-
setGeometry
public void setGeometry(java.lang.String name,
NXgeometry geometry)
Description copied from interface: NXinsertion_device
Set a NXgeometry node by name:
-
"Engineering" position of insertion device
- Specified by:
setGeometry
in interface NXinsertion_device
- Parameters:
name
- the name of the node
geometry
- the value to set
-
getAllGeometry
public java.util.Map<java.lang.String,NXgeometry> getAllGeometry()
Description copied from interface: NXinsertion_device
Get all NXgeometry nodes:
-
"Engineering" position of insertion device
- Specified by:
getAllGeometry
in interface NXinsertion_device
- Returns:
- a map from node names to the NXgeometry for that node.
-
setAllGeometry
public void setAllGeometry(java.util.Map<java.lang.String,NXgeometry> geometry)
Description copied from interface: NXinsertion_device
Set multiple child nodes of a particular type.
-
"Engineering" position of insertion device
- Specified by:
setAllGeometry
in interface NXinsertion_device
- Parameters:
geometry
- the child nodes to add