Interface NXsample
Symbols: symbolic array lengths to be coordinated between various fields
- n_comp number of compositions
- n_Temp number of temperatures
- n_eField number of values in applied electric field
- n_mField number of values in applied magnetic field
- n_pField number of values in applied pressure field
- n_sField number of values in applied stress field
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.eclipse.dawnsci.nexus.NXcomponent
NX_APPLIED, NX_DEPENDS_ON, NX_DESCRIPTION, NX_INPUTS, NX_NAME, NX_OUTPUTSFields inherited from interface org.eclipse.dawnsci.nexus.NXobject
NX_ATTRIBUTE_DEFAULT -
Method Summary
Modifier and TypeMethodDescriptionGet all NXbeam nodes: Details of beam incident on sample - used to calculate sample/beam interaction pointGet all NXenvironment nodes: Additional sample temperature environment information Additional sample magnetic environment information Any environmental or external stimuli/measurements.Get all NXoff_geometry nodes: This group describes the shape of the sampleGet all NXpositioner nodes: Any positioner (motor, PZT, ...) used to locate the sampleGet all NXsample_component nodes: One group per sample component This is the preferred way of recording per component information over the n_comp arraysgetBeam()Details of beam incident on sample - used to calculate sample/beam interaction pointGet a NXbeam node by name: Details of beam incident on sample - used to calculate sample/beam interaction pointorg.eclipse.january.dataset.DatasetSample changer positionSample changer positionorg.eclipse.january.dataset.DatasetThe chemical formula specified using CIF conventions.The chemical formula specified using CIF conventions.org.eclipse.january.dataset.DatasetDetails of the component of the sample and/or canDetails of the component of the sample and/or canorg.eclipse.january.dataset.DatasetConcentration of each componentConcentration of each componentorg.eclipse.january.dataset.DatasetDensity of sampleDensity of sampleorg.eclipse.january.dataset.DatasetDescription of the sampleDescription of the sampleorg.eclipse.january.dataset.DatasetTranslation of the sample along the Z-direction of the laboratory coordinate system.Translation of the sample along the Z-direction of the laboratory coordinate system.org.eclipse.january.dataset.DatasetApplied electric fieldApplied electric fieldAny environmental or external stimuli/measurements.getEnvironment(String name) Get a NXenvironment node by name: Additional sample temperature environment information Additional sample magnetic environment information Any environmental or external stimuli/measurements.logged value (or logic state) read from user's setuporg.eclipse.january.dataset.Datasetvalue sent to user's sample setupvalue sent to user's sample setupDeprecated.Use the field `depends_on` and :ref:`NXtransformations` to position the sample and NXoff_geometry to describe its shape insteadA set of physical processes that occurred to the sample prior/during experiment.org.eclipse.january.dataset.DatasetApplied magnetic fieldAdditional sample magnetic environment informationDeprecated.use ``magnetic_field``, see: https://github.com/nexusformat/definitions/issues/816magnetic_field.value is a link to e.g.Applied magnetic fieldorg.eclipse.january.dataset.DatasetgetMass()Mass of sampleMass of sampleorg.eclipse.january.dataset.DatasetgetName()Descriptive name of sampleDescriptive name of sampleThis group describes the shape of the samplegetOff_geometry(String name) Get a NXoff_geometry node by name: This group describes the shape of the sampleorg.eclipse.january.dataset.DatasetOrientation matrix of single crystal sample using Busing-Levy convention: W.Orientation matrix of single crystal sample using Busing-Levy convention: W.org.eclipse.january.dataset.DatasetPath length through sample/can for simple case when it does not vary with scattering directionorg.eclipse.january.dataset.DatasetThickness of a beam entry/exit window on the can (mm) - assumed same for entry and exitThickness of a beam entry/exit window on the can (mm) - assumed same for entry and exitPath length through sample/can for simple case when it does not vary with scattering directionorg.eclipse.january.dataset.DatasetPhysical form of the sample material.Physical form of the sample material.org.eclipse.january.dataset.DatasetCrystallographic point group, deprecated if space_group presentCrystallographic point group, deprecated if space_group presentAny positioner (motor, PZT, ...) used to locate the samplegetPositioner(String name) Get a NXpositioner node by name: Any positioner (motor, PZT, ...) used to locate the sampleorg.eclipse.january.dataset.DatasetDate of preparation of the sampleDate of preparation of the sampleorg.eclipse.january.dataset.DatasetApplied pressureApplied pressureorg.eclipse.january.dataset.DatasetRelative Molecular Mass of sampleRelative Molecular Mass of sampleorg.eclipse.january.dataset.DatasetOptional rotation angle for the case when the powder diagram has been obtained through an omega-2theta scan like from a traditional single detector powder diffractometer.Optional rotation angle for the case when the powder diagram has been obtained through an omega-2theta scan like from a traditional single detector powder diffractometer.org.eclipse.january.dataset.DatasetType of componentOne group per sample component This is the preferred way of recording per component information over the n_comp arraysGet a NXsample_component node by name: One group per sample component This is the preferred way of recording per component information over the n_comp arraysType of componentorg.eclipse.january.dataset.DatasetThis will follow the Busing-Levy convention: W.This will follow the Busing-Levy convention: W.org.eclipse.january.dataset.DatasetScattering length density of each componentScattering length density of each componentorg.eclipse.january.dataset.Dataset20 character fixed length sample description for legends20 character fixed length sample description for legendsorg.eclipse.january.dataset.DatasetThe atmosphere will be one of the components, which is where its details will be stored; the relevant components will be indicated by the entry in the sample_component member.The atmosphere will be one of the components, which is where its details will be stored; the relevant components will be indicated by the entry in the sample_component member.org.eclipse.january.dataset.DatasetCrystallographic space groupCrystallographic space grouporg.eclipse.january.dataset.DatasetApplied external stress fieldApplied external stress fieldorg.eclipse.january.dataset.DatasetSample temperature.Additional sample temperature environment informationDeprecated.use ``temperature``, see: https://github.com/nexusformat/definitions/issues/816Sample temperature.org.eclipse.january.dataset.Datasetsample thicknesssample thicknessAs a function of Wavelengthorg.eclipse.january.dataset.DatasetgetType()org.eclipse.january.dataset.DatasetUB matrix of single crystal sample using Busing-Levy convention: W.UB matrix of single crystal sample using Busing-Levy convention: W.org.eclipse.january.dataset.DatasetUnit cell parameters (lengths and angles)org.eclipse.january.dataset.DatasetCrystallography unit cell parameters a, b, and cCrystallography unit cell parameters a, b, and corg.eclipse.january.dataset.DatasetCrystallography unit cell parameters alpha, beta, and gammaCrystallography unit cell parameters alpha, beta, and gammaorg.eclipse.january.dataset.DatasetIn case it is all we know and we want to record/document itIn case it is all we know and we want to record/document itorg.eclipse.january.dataset.DatasetVolume of the unit cellVolume of the unit cellUnit cell parameters (lengths and angles)org.eclipse.january.dataset.DatasetVolume fraction of each componentVolume fraction of each componentorg.eclipse.january.dataset.DatasetTranslation of the sample along the X-direction of the laboratory coordinate system Note, it is recommended to use NXtransformations instead.Translation of the sample along the X-direction of the laboratory coordinate system Note, it is recommended to use NXtransformations instead.voidsetAllBeam(Map<String, NXbeam> beam) Set multiple child nodes of a particular type.voidsetAllEnvironment(Map<String, NXenvironment> environment) Set multiple child nodes of a particular type.voidsetAllOff_geometry(Map<String, NXoff_geometry> off_geometry) Set multiple child nodes of a particular type.voidsetAllPositioner(Map<String, NXpositioner> positioner) Set multiple child nodes of a particular type.voidsetAllSample_componentGroup(Map<String, NXsample_component> sample_componentGroup) Set multiple child nodes of a particular type.voidSet a NXbeam node by name: Details of beam incident on sample - used to calculate sample/beam interaction pointvoidDetails of beam incident on sample - used to calculate sample/beam interaction pointsetChanger_position(org.eclipse.january.dataset.IDataset changer_positionDataset) Sample changer positionsetChanger_positionScalar(Long changer_positionValue) Sample changer positionsetChemical_formula(org.eclipse.january.dataset.IDataset chemical_formulaDataset) The chemical formula specified using CIF conventions.setChemical_formulaScalar(String chemical_formulaValue) The chemical formula specified using CIF conventions.setComponent(org.eclipse.january.dataset.IDataset componentDataset) Details of the component of the sample and/or cansetComponentScalar(String componentValue) Details of the component of the sample and/or cansetConcentration(org.eclipse.january.dataset.IDataset concentrationDataset) Concentration of each componentsetConcentrationScalar(Double concentrationValue) Concentration of each componentsetDensity(org.eclipse.january.dataset.IDataset densityDataset) Density of samplesetDensityScalar(Double densityValue) Density of samplesetDescription(org.eclipse.january.dataset.IDataset descriptionDataset) Description of the samplesetDescriptionScalar(String descriptionValue) Description of the samplesetDistance(org.eclipse.january.dataset.IDataset distanceDataset) Translation of the sample along the Z-direction of the laboratory coordinate system.setDistanceScalar(Double distanceValue) Translation of the sample along the Z-direction of the laboratory coordinate system.setElectric_field(org.eclipse.january.dataset.IDataset electric_fieldDataset) Applied electric fieldvoidsetElectric_fieldAttributeDirection(String directionValue) setElectric_fieldScalar(Double electric_fieldValue) Applied electric fieldvoidsetEnvironment(String name, NXenvironment environment) Set a NXenvironment node by name: Additional sample temperature environment information Additional sample magnetic environment information Any environmental or external stimuli/measurements.voidsetEnvironment(NXenvironment environmentGroup) Any environmental or external stimuli/measurements.voidsetExternal_adc(NXlog external_adcGroup) logged value (or logic state) read from user's setupsetExternal_dac(org.eclipse.january.dataset.IDataset external_dacDataset) value sent to user's sample setupsetExternal_dacScalar(Double external_dacValue) value sent to user's sample setupvoidsetGeometry(NXgeometry geometryGroup) Deprecated.Use the field `depends_on` and :ref:`NXtransformations` to position the sample and NXoff_geometry to describe its shape insteadvoidsetHistory(NXhistory historyGroup) A set of physical processes that occurred to the sample prior/during experiment.setMagnetic_field(org.eclipse.january.dataset.IDataset magnetic_fieldDataset) Applied magnetic fieldvoidsetMagnetic_field_env(NXenvironment magnetic_field_envGroup) Additional sample magnetic environment informationvoidsetMagnetic_field_log(NXlog magnetic_field_logGroup) Deprecated.use ``magnetic_field``, see: https://github.com/nexusformat/definitions/issues/816voidsetMagnetic_fieldAttributeDirection(String directionValue) voidsetMagnetic_fieldLog(NXlog magnetic_fieldLogGroup) magnetic_field.value is a link to e.g.setMagnetic_fieldScalar(Double magnetic_fieldValue) Applied magnetic fieldsetMass(org.eclipse.january.dataset.IDataset massDataset) Mass of samplesetMassScalar(Double massValue) Mass of samplesetName(org.eclipse.january.dataset.IDataset nameDataset) Descriptive name of samplesetNameScalar(String nameValue) Descriptive name of samplevoidsetOff_geometry(String name, NXoff_geometry off_geometry) Set a NXoff_geometry node by name: This group describes the shape of the samplevoidsetOff_geometry(NXoff_geometry off_geometryGroup) This group describes the shape of the samplesetOrientation_matrix(org.eclipse.january.dataset.IDataset orientation_matrixDataset) Orientation matrix of single crystal sample using Busing-Levy convention: W.setOrientation_matrixScalar(Double orientation_matrixValue) Orientation matrix of single crystal sample using Busing-Levy convention: W.setPath_length(org.eclipse.january.dataset.IDataset path_lengthDataset) Path length through sample/can for simple case when it does not vary with scattering directionsetPath_length_window(org.eclipse.january.dataset.IDataset path_length_windowDataset) Thickness of a beam entry/exit window on the can (mm) - assumed same for entry and exitsetPath_length_windowScalar(Double path_length_windowValue) Thickness of a beam entry/exit window on the can (mm) - assumed same for entry and exitsetPath_lengthScalar(Double path_lengthValue) Path length through sample/can for simple case when it does not vary with scattering directionsetPhysical_form(org.eclipse.january.dataset.IDataset physical_formDataset) Physical form of the sample material.setPhysical_formScalar(String physical_formValue) Physical form of the sample material.setPoint_group(org.eclipse.january.dataset.IDataset point_groupDataset) Crystallographic point group, deprecated if space_group presentsetPoint_groupScalar(String point_groupValue) Crystallographic point group, deprecated if space_group presentvoidsetPositioner(String name, NXpositioner positioner) Set a NXpositioner node by name: Any positioner (motor, PZT, ...) used to locate the samplevoidsetPositioner(NXpositioner positionerGroup) Any positioner (motor, PZT, ...) used to locate the samplesetPreparation_date(org.eclipse.january.dataset.IDataset preparation_dateDataset) Date of preparation of the samplesetPreparation_dateScalar(Date preparation_dateValue) Date of preparation of the samplesetPressure(org.eclipse.january.dataset.IDataset pressureDataset) Applied pressuresetPressureScalar(Double pressureValue) Applied pressuresetRelative_molecular_mass(org.eclipse.january.dataset.IDataset relative_molecular_massDataset) Relative Molecular Mass of samplesetRelative_molecular_massScalar(Double relative_molecular_massValue) Relative Molecular Mass of samplesetRotation_angle(org.eclipse.january.dataset.IDataset rotation_angleDataset) Optional rotation angle for the case when the powder diagram has been obtained through an omega-2theta scan like from a traditional single detector powder diffractometer.setRotation_angleScalar(Double rotation_angleValue) Optional rotation angle for the case when the powder diagram has been obtained through an omega-2theta scan like from a traditional single detector powder diffractometer.setSample_component(org.eclipse.january.dataset.IDataset sample_componentDataset) Type of componentvoidsetSample_componentGroup(String name, NXsample_component sample_componentGroup) Set a NXsample_component node by name: One group per sample component This is the preferred way of recording per component information over the n_comp arraysvoidsetSample_componentGroup(NXsample_component sample_componentGroupGroup) One group per sample component This is the preferred way of recording per component information over the n_comp arrayssetSample_componentScalar(String sample_componentValue) Type of componentsetSample_orientation(org.eclipse.january.dataset.IDataset sample_orientationDataset) This will follow the Busing-Levy convention: W.setSample_orientationScalar(Double sample_orientationValue) This will follow the Busing-Levy convention: W.setScattering_length_density(org.eclipse.january.dataset.IDataset scattering_length_densityDataset) Scattering length density of each componentsetScattering_length_densityScalar(Double scattering_length_densityValue) Scattering length density of each componentsetShort_title(org.eclipse.january.dataset.IDataset short_titleDataset) 20 character fixed length sample description for legendssetShort_titleScalar(String short_titleValue) 20 character fixed length sample description for legendssetSituation(org.eclipse.january.dataset.IDataset situationDataset) The atmosphere will be one of the components, which is where its details will be stored; the relevant components will be indicated by the entry in the sample_component member.setSituationScalar(String situationValue) The atmosphere will be one of the components, which is where its details will be stored; the relevant components will be indicated by the entry in the sample_component member.setSpace_group(org.eclipse.january.dataset.IDataset space_groupDataset) Crystallographic space groupsetSpace_groupScalar(String space_groupValue) Crystallographic space groupsetStress_field(org.eclipse.january.dataset.IDataset stress_fieldDataset) Applied external stress fieldvoidsetStress_fieldAttributeDirection(String directionValue) setStress_fieldScalar(Double stress_fieldValue) Applied external stress fieldsetTemperature(org.eclipse.january.dataset.IDataset temperatureDataset) Sample temperature.voidsetTemperature_env(NXenvironment temperature_envGroup) Additional sample temperature environment informationvoidsetTemperature_log(NXlog temperature_logGroup) Deprecated.use ``temperature``, see: https://github.com/nexusformat/definitions/issues/816setTemperatureScalar(Double temperatureValue) Sample temperature.setThickness(org.eclipse.january.dataset.IDataset thicknessDataset) sample thicknesssetThicknessScalar(Double thicknessValue) sample thicknessvoidsetTransmission(NXdata transmissionGroup) As a function of WavelengthsetType(org.eclipse.january.dataset.IDataset typeDataset) setTypeScalar(String typeValue) setUb_matrix(org.eclipse.january.dataset.IDataset ub_matrixDataset) UB matrix of single crystal sample using Busing-Levy convention: W.setUb_matrixScalar(Double ub_matrixValue) UB matrix of single crystal sample using Busing-Levy convention: W.setUnit_cell(org.eclipse.january.dataset.IDataset unit_cellDataset) Unit cell parameters (lengths and angles)setUnit_cell_abc(org.eclipse.january.dataset.IDataset unit_cell_abcDataset) Crystallography unit cell parameters a, b, and csetUnit_cell_abcScalar(Double unit_cell_abcValue) Crystallography unit cell parameters a, b, and csetUnit_cell_alphabetagamma(org.eclipse.january.dataset.IDataset unit_cell_alphabetagammaDataset) Crystallography unit cell parameters alpha, beta, and gammasetUnit_cell_alphabetagammaScalar(Double unit_cell_alphabetagammaValue) Crystallography unit cell parameters alpha, beta, and gammasetUnit_cell_class(org.eclipse.january.dataset.IDataset unit_cell_classDataset) In case it is all we know and we want to record/document itsetUnit_cell_classScalar(String unit_cell_classValue) In case it is all we know and we want to record/document itsetUnit_cell_volume(org.eclipse.january.dataset.IDataset unit_cell_volumeDataset) Volume of the unit cellsetUnit_cell_volumeScalar(Double unit_cell_volumeValue) Volume of the unit cellsetUnit_cellScalar(Double unit_cellValue) Unit cell parameters (lengths and angles)setVolume_fraction(org.eclipse.january.dataset.IDataset volume_fractionDataset) Volume fraction of each componentsetVolume_fractionScalar(Double volume_fractionValue) Volume fraction of each componentsetX_translation(org.eclipse.january.dataset.IDataset x_translationDataset) Translation of the sample along the X-direction of the laboratory coordinate system Note, it is recommended to use NXtransformations instead.setX_translationScalar(Double x_translationValue) Translation of the sample along the X-direction of the laboratory coordinate system Note, it is recommended to use NXtransformations instead.Methods inherited from interface org.eclipse.dawnsci.analysis.api.tree.GroupNode
addDataNode, addGroupNode, addNode, addNodeLink, addSymbolicNode, containsDataNode, containsGroupNode, containsNode, containsSymbolicNode, findLinkedNodeName, findNode, findNodeLink, getDataNode, getDataNodeMap, getDataNodeNames, getDataNodes, getDatasets, getGlobalPool, getGroupNode, getGroupNodeMap, getGroupNodeNames, getGroupNodes, getNames, getNode, getNodeLink, getNodeNameIterator, getNumberOfDataNodes, getNumberOfGroupNodes, getNumberOfNodelinks, getSymbolicNode, getSymbolicNodeNames, isPopulated, iterator, removeDataNode, removeDataNode, removeGroupNode, removeGroupNode, removeSymbolicNode, removeSymbolicNode, setGlobalPoolMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.eclipse.dawnsci.analysis.api.tree.Node
addAttribute, containsAttribute, getAttribute, getAttributeIterator, getAttributeNameIterator, getAttributeNames, getID, getNumberOfAttributes, isDataNode, isGroupNode, isSymbolicNode, removeAttribute, removeAttributeMethods inherited from interface org.eclipse.dawnsci.nexus.NXcomponent
getAllFabrication, getAllProgram, getAllTransformations, getApplied, getAppliedScalar, getDepends_on, getDepends_onScalar, getFabrication, getFabrication, getInputs, getInputsScalar, getOutputs, getOutputsScalar, getProgram, getProgram, getTransformations, getTransformations, setAllFabrication, setAllProgram, setAllTransformations, setApplied, setAppliedScalar, setDepends_on, setDepends_onScalar, setFabrication, setFabrication, setInputs, setInputsScalar, setOutputs, setOutputsScalar, setProgram, setProgram, setTransformations, setTransformationsMethods inherited from interface org.eclipse.dawnsci.nexus.NXobject
addExternalLink, canAddChild, createDataNode, getAllDatasets, getAttr, getAttrBoolean, getAttrDate, getAttrDouble, getAttributeDefault, getAttrLong, getAttrNumber, getAttrString, getBoolean, getChild, getChildren, getChildren, getDataset, getDate, getDouble, getLazyDataset, getLazyWritableDataset, getLong, getNexusBaseClass, getNumber, getNXclass, getPermittedChildGroupClasses, getString, initializeFixedSizeLazyDataset, initializeLazyDataset, initializeLazyDataset, initializeLazyDataset, putChild, setAttribute, setAttributeDefault, setChildren, setDataset, setField
-
Field Details
-
NX_CHEMICAL_FORMULA
- See Also:
-
NX_TEMPERATURE
- See Also:
-
NX_ELECTRIC_FIELD
- See Also:
-
NX_ELECTRIC_FIELD_ATTRIBUTE_DIRECTION
- See Also:
-
NX_MAGNETIC_FIELD
- See Also:
-
NX_MAGNETIC_FIELD_ATTRIBUTE_DIRECTION
- See Also:
-
NX_STRESS_FIELD
- See Also:
-
NX_STRESS_FIELD_ATTRIBUTE_DIRECTION
- See Also:
-
NX_PRESSURE
- See Also:
-
NX_CHANGER_POSITION
- See Also:
-
NX_UNIT_CELL_ABC
- See Also:
-
NX_UNIT_CELL_ALPHABETAGAMMA
- See Also:
-
NX_UNIT_CELL
- See Also:
-
NX_UNIT_CELL_VOLUME
- See Also:
-
NX_SAMPLE_ORIENTATION
- See Also:
-
NX_ORIENTATION_MATRIX
- See Also:
-
NX_UB_MATRIX
- See Also:
-
NX_MASS
- See Also:
-
NX_DENSITY
- See Also:
-
NX_RELATIVE_MOLECULAR_MASS
- See Also:
-
NX_TYPE
- See Also:
-
NX_SITUATION
- See Also:
-
NX_PREPARATION_DATE
- See Also:
-
NX_COMPONENT
- See Also:
-
NX_SAMPLE_COMPONENT
- See Also:
-
NX_CONCENTRATION
- See Also:
-
NX_VOLUME_FRACTION
- See Also:
-
NX_SCATTERING_LENGTH_DENSITY
- See Also:
-
NX_UNIT_CELL_CLASS
- See Also:
-
NX_SPACE_GROUP
- See Also:
-
NX_POINT_GROUP
- See Also:
-
NX_PATH_LENGTH
- See Also:
-
NX_PATH_LENGTH_WINDOW
- See Also:
-
NX_THICKNESS
- See Also:
-
NX_EXTERNAL_DAC
- See Also:
-
NX_SHORT_TITLE
- See Also:
-
NX_ROTATION_ANGLE
- See Also:
-
NX_X_TRANSLATION
- See Also:
-
NX_DISTANCE
- See Also:
-
NX_PHYSICAL_FORM
- See Also:
-
-
Method Details
-
getName
org.eclipse.january.dataset.Dataset getName()Descriptive name of sample- Specified by:
getNamein interfaceNXcomponent- Returns:
- the value.
-
setName
Descriptive name of sample- Specified by:
setNamein interfaceNXcomponent- Parameters:
nameDataset- the nameDataset
-
getNameScalar
String getNameScalar()Descriptive name of sample- Specified by:
getNameScalarin interfaceNXcomponent- Returns:
- the value.
-
setNameScalar
Descriptive name of sample- Specified by:
setNameScalarin interfaceNXcomponent- Parameters:
name- the name
-
getChemical_formula
org.eclipse.january.dataset.Dataset getChemical_formula()The chemical formula specified using CIF conventions. Abbreviated version of CIF standard: * Only recognized element symbols may be used. * Each element symbol is followed by a 'count' number. A count of '1' may be omitted. * A space or parenthesis must separate each cluster of (element symbol + count). * Where a group of elements is enclosed in parentheses, the multiplier for the group must follow the closing parentheses. That is, all element and group multipliers are assumed to be printed as subscripted numbers. * Unless the elements are ordered in a manner that corresponds to their chemical structure, the order of the elements within any group or moiety depends on whether or not carbon is present. * If carbon is present, the order should be: - C, then H, then the other elements in alphabetical order of their symbol. - If carbon is not present, the elements are listed purely in alphabetic order of their symbol. * This is the *Hill* system used by Chemical Abstracts.- Returns:
- the value.
-
setChemical_formula
The chemical formula specified using CIF conventions. Abbreviated version of CIF standard: * Only recognized element symbols may be used. * Each element symbol is followed by a 'count' number. A count of '1' may be omitted. * A space or parenthesis must separate each cluster of (element symbol + count). * Where a group of elements is enclosed in parentheses, the multiplier for the group must follow the closing parentheses. That is, all element and group multipliers are assumed to be printed as subscripted numbers. * Unless the elements are ordered in a manner that corresponds to their chemical structure, the order of the elements within any group or moiety depends on whether or not carbon is present. * If carbon is present, the order should be: - C, then H, then the other elements in alphabetical order of their symbol. - If carbon is not present, the elements are listed purely in alphabetic order of their symbol. * This is the *Hill* system used by Chemical Abstracts.- Parameters:
chemical_formulaDataset- the chemical_formulaDataset
-
getChemical_formulaScalar
String getChemical_formulaScalar()The chemical formula specified using CIF conventions. Abbreviated version of CIF standard: * Only recognized element symbols may be used. * Each element symbol is followed by a 'count' number. A count of '1' may be omitted. * A space or parenthesis must separate each cluster of (element symbol + count). * Where a group of elements is enclosed in parentheses, the multiplier for the group must follow the closing parentheses. That is, all element and group multipliers are assumed to be printed as subscripted numbers. * Unless the elements are ordered in a manner that corresponds to their chemical structure, the order of the elements within any group or moiety depends on whether or not carbon is present. * If carbon is present, the order should be: - C, then H, then the other elements in alphabetical order of their symbol. - If carbon is not present, the elements are listed purely in alphabetic order of their symbol. * This is the *Hill* system used by Chemical Abstracts.- Returns:
- the value.
-
setChemical_formulaScalar
The chemical formula specified using CIF conventions. Abbreviated version of CIF standard: * Only recognized element symbols may be used. * Each element symbol is followed by a 'count' number. A count of '1' may be omitted. * A space or parenthesis must separate each cluster of (element symbol + count). * Where a group of elements is enclosed in parentheses, the multiplier for the group must follow the closing parentheses. That is, all element and group multipliers are assumed to be printed as subscripted numbers. * Unless the elements are ordered in a manner that corresponds to their chemical structure, the order of the elements within any group or moiety depends on whether or not carbon is present. * If carbon is present, the order should be: - C, then H, then the other elements in alphabetical order of their symbol. - If carbon is not present, the elements are listed purely in alphabetic order of their symbol. * This is the *Hill* system used by Chemical Abstracts.- Parameters:
chemical_formula- the chemical_formula
-
getTemperature
org.eclipse.january.dataset.Dataset getTemperature()Sample temperature. This could be a scanned variableType: NX_FLOAT Units: NX_TEMPERATURE Dimensions: 1: n_Temp;
- Returns:
- the value.
-
setTemperature
Sample temperature. This could be a scanned variableType: NX_FLOAT Units: NX_TEMPERATURE Dimensions: 1: n_Temp;
- Parameters:
temperatureDataset- the temperatureDataset
-
getTemperatureScalar
Double getTemperatureScalar()Sample temperature. This could be a scanned variableType: NX_FLOAT Units: NX_TEMPERATURE Dimensions: 1: n_Temp;
- Returns:
- the value.
-
setTemperatureScalar
Sample temperature. This could be a scanned variableType: NX_FLOAT Units: NX_TEMPERATURE Dimensions: 1: n_Temp;
- Parameters:
temperature- the temperature
-
getElectric_field
org.eclipse.january.dataset.Dataset getElectric_field()Applied electric fieldType: NX_FLOAT Units: NX_VOLTAGE Dimensions: 1: n_eField;
- Returns:
- the value.
-
setElectric_field
Applied electric fieldType: NX_FLOAT Units: NX_VOLTAGE Dimensions: 1: n_eField;
- Parameters:
electric_fieldDataset- the electric_fieldDataset
-
getElectric_fieldScalar
Double getElectric_fieldScalar()Applied electric fieldType: NX_FLOAT Units: NX_VOLTAGE Dimensions: 1: n_eField;
- Returns:
- the value.
-
setElectric_fieldScalar
Applied electric fieldType: NX_FLOAT Units: NX_VOLTAGE Dimensions: 1: n_eField;
- Parameters:
electric_field- the electric_field
-
getElectric_fieldAttributeDirection
String getElectric_fieldAttributeDirection()Enumeration:
- x
- y
- z
- Returns:
- the value.
-
setElectric_fieldAttributeDirection
Enumeration:
- x
- y
- z
- Parameters:
directionValue- the directionValue
-
getMagnetic_field
org.eclipse.january.dataset.Dataset getMagnetic_field()Applied magnetic fieldType: NX_FLOAT Units: NX_ANY Dimensions: 1: n_mField;
- Returns:
- the value.
-
setMagnetic_field
Applied magnetic fieldType: NX_FLOAT Units: NX_ANY Dimensions: 1: n_mField;
- Parameters:
magnetic_fieldDataset- the magnetic_fieldDataset
-
getMagnetic_fieldScalar
Double getMagnetic_fieldScalar()Applied magnetic fieldType: NX_FLOAT Units: NX_ANY Dimensions: 1: n_mField;
- Returns:
- the value.
-
setMagnetic_fieldScalar
Applied magnetic fieldType: NX_FLOAT Units: NX_ANY Dimensions: 1: n_mField;
- Parameters:
magnetic_field- the magnetic_field
-
getMagnetic_fieldAttributeDirection
String getMagnetic_fieldAttributeDirection()Enumeration:
- x
- y
- z
- Returns:
- the value.
-
setMagnetic_fieldAttributeDirection
Enumeration:
- x
- y
- z
- Parameters:
directionValue- the directionValue
-
getStress_field
org.eclipse.january.dataset.Dataset getStress_field()Applied external stress fieldType: NX_FLOAT Units: NX_ANY Dimensions: 1: n_sField;
- Returns:
- the value.
-
setStress_field
Applied external stress fieldType: NX_FLOAT Units: NX_ANY Dimensions: 1: n_sField;
- Parameters:
stress_fieldDataset- the stress_fieldDataset
-
getStress_fieldScalar
Double getStress_fieldScalar()Applied external stress fieldType: NX_FLOAT Units: NX_ANY Dimensions: 1: n_sField;
- Returns:
- the value.
-
setStress_fieldScalar
Applied external stress fieldType: NX_FLOAT Units: NX_ANY Dimensions: 1: n_sField;
- Parameters:
stress_field- the stress_field
-
getStress_fieldAttributeDirection
String getStress_fieldAttributeDirection()Enumeration:
- x
- y
- z
- Returns:
- the value.
-
setStress_fieldAttributeDirection
Enumeration:
- x
- y
- z
- Parameters:
directionValue- the directionValue
-
getPressure
org.eclipse.january.dataset.Dataset getPressure()Applied pressureType: NX_FLOAT Units: NX_PRESSURE Dimensions: 1: n_pField;
- Returns:
- the value.
-
setPressure
Applied pressureType: NX_FLOAT Units: NX_PRESSURE Dimensions: 1: n_pField;
- Parameters:
pressureDataset- the pressureDataset
-
getPressureScalar
Double getPressureScalar()Applied pressureType: NX_FLOAT Units: NX_PRESSURE Dimensions: 1: n_pField;
- Returns:
- the value.
-
setPressureScalar
Applied pressureType: NX_FLOAT Units: NX_PRESSURE Dimensions: 1: n_pField;
- Parameters:
pressure- the pressure
-
getChanger_position
org.eclipse.january.dataset.Dataset getChanger_position()Sample changer positionType: NX_INT Units: NX_UNITLESS
- Returns:
- the value.
-
setChanger_position
Sample changer positionType: NX_INT Units: NX_UNITLESS
- Parameters:
changer_positionDataset- the changer_positionDataset
-
getChanger_positionScalar
Long getChanger_positionScalar()Sample changer positionType: NX_INT Units: NX_UNITLESS
- Returns:
- the value.
-
setChanger_positionScalar
Sample changer positionType: NX_INT Units: NX_UNITLESS
- Parameters:
changer_position- the changer_position
-
getUnit_cell_abc
org.eclipse.january.dataset.Dataset getUnit_cell_abc()Crystallography unit cell parameters a, b, and cType: NX_FLOAT Units: NX_LENGTH Dimensions: 1: 3;
- Returns:
- the value.
-
setUnit_cell_abc
Crystallography unit cell parameters a, b, and cType: NX_FLOAT Units: NX_LENGTH Dimensions: 1: 3;
- Parameters:
unit_cell_abcDataset- the unit_cell_abcDataset
-
getUnit_cell_abcScalar
Double getUnit_cell_abcScalar()Crystallography unit cell parameters a, b, and cType: NX_FLOAT Units: NX_LENGTH Dimensions: 1: 3;
- Returns:
- the value.
-
setUnit_cell_abcScalar
Crystallography unit cell parameters a, b, and cType: NX_FLOAT Units: NX_LENGTH Dimensions: 1: 3;
- Parameters:
unit_cell_abc- the unit_cell_abc
-
getUnit_cell_alphabetagamma
org.eclipse.january.dataset.Dataset getUnit_cell_alphabetagamma()Crystallography unit cell parameters alpha, beta, and gammaType: NX_FLOAT Units: NX_ANGLE Dimensions: 1: 3;
- Returns:
- the value.
-
setUnit_cell_alphabetagamma
DataNode setUnit_cell_alphabetagamma(org.eclipse.january.dataset.IDataset unit_cell_alphabetagammaDataset) Crystallography unit cell parameters alpha, beta, and gammaType: NX_FLOAT Units: NX_ANGLE Dimensions: 1: 3;
- Parameters:
unit_cell_alphabetagammaDataset- the unit_cell_alphabetagammaDataset
-
getUnit_cell_alphabetagammaScalar
Double getUnit_cell_alphabetagammaScalar()Crystallography unit cell parameters alpha, beta, and gammaType: NX_FLOAT Units: NX_ANGLE Dimensions: 1: 3;
- Returns:
- the value.
-
setUnit_cell_alphabetagammaScalar
Crystallography unit cell parameters alpha, beta, and gammaType: NX_FLOAT Units: NX_ANGLE Dimensions: 1: 3;
- Parameters:
unit_cell_alphabetagamma- the unit_cell_alphabetagamma
-
getUnit_cell
org.eclipse.january.dataset.Dataset getUnit_cell()Unit cell parameters (lengths and angles)Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: n_comp; 2: 6;
- Returns:
- the value.
-
setUnit_cell
Unit cell parameters (lengths and angles)Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: n_comp; 2: 6;
- Parameters:
unit_cellDataset- the unit_cellDataset
-
getUnit_cellScalar
Double getUnit_cellScalar()Unit cell parameters (lengths and angles)Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: n_comp; 2: 6;
- Returns:
- the value.
-
setUnit_cellScalar
Unit cell parameters (lengths and angles)Type: NX_FLOAT Units: NX_LENGTH Dimensions: 1: n_comp; 2: 6;
- Parameters:
unit_cell- the unit_cell
-
getUnit_cell_volume
org.eclipse.january.dataset.Dataset getUnit_cell_volume()Volume of the unit cellType: NX_FLOAT Units: NX_VOLUME Dimensions: 1: n_comp;
- Returns:
- the value.
-
setUnit_cell_volume
Volume of the unit cellType: NX_FLOAT Units: NX_VOLUME Dimensions: 1: n_comp;
- Parameters:
unit_cell_volumeDataset- the unit_cell_volumeDataset
-
getUnit_cell_volumeScalar
Double getUnit_cell_volumeScalar()Volume of the unit cellType: NX_FLOAT Units: NX_VOLUME Dimensions: 1: n_comp;
- Returns:
- the value.
-
setUnit_cell_volumeScalar
Volume of the unit cellType: NX_FLOAT Units: NX_VOLUME Dimensions: 1: n_comp;
- Parameters:
unit_cell_volume- the unit_cell_volume
-
getSample_orientation
org.eclipse.january.dataset.Dataset getSample_orientation()This will follow the Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: 3;
- Returns:
- the value.
-
setSample_orientation
This will follow the Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: 3;
- Parameters:
sample_orientationDataset- the sample_orientationDataset
-
getSample_orientationScalar
Double getSample_orientationScalar()This will follow the Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: 3;
- Returns:
- the value.
-
setSample_orientationScalar
This will follow the Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464Type: NX_FLOAT Units: NX_ANGLE Dimensions: 1: 3;
- Parameters:
sample_orientation- the sample_orientation
-
getOrientation_matrix
org.eclipse.january.dataset.Dataset getOrientation_matrix()Orientation matrix of single crystal sample using Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464Type: NX_FLOAT Dimensions: 1: n_comp; 2: 3; 3: 3;
- Returns:
- the value.
-
setOrientation_matrix
Orientation matrix of single crystal sample using Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464Type: NX_FLOAT Dimensions: 1: n_comp; 2: 3; 3: 3;
- Parameters:
orientation_matrixDataset- the orientation_matrixDataset
-
getOrientation_matrixScalar
Double getOrientation_matrixScalar()Orientation matrix of single crystal sample using Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464Type: NX_FLOAT Dimensions: 1: n_comp; 2: 3; 3: 3;
- Returns:
- the value.
-
setOrientation_matrixScalar
Orientation matrix of single crystal sample using Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464Type: NX_FLOAT Dimensions: 1: n_comp; 2: 3; 3: 3;
- Parameters:
orientation_matrix- the orientation_matrix
-
getUb_matrix
org.eclipse.january.dataset.Dataset getUb_matrix()UB matrix of single crystal sample using Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464. This is the multiplication of the orientation_matrix, given above, with the :math:`B` matrix which can be derived from the lattice constants.Type: NX_FLOAT Dimensions: 1: n_comp; 2: 3; 3: 3;
- Returns:
- the value.
-
setUb_matrix
UB matrix of single crystal sample using Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464. This is the multiplication of the orientation_matrix, given above, with the :math:`B` matrix which can be derived from the lattice constants.Type: NX_FLOAT Dimensions: 1: n_comp; 2: 3; 3: 3;
- Parameters:
ub_matrixDataset- the ub_matrixDataset
-
getUb_matrixScalar
Double getUb_matrixScalar()UB matrix of single crystal sample using Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464. This is the multiplication of the orientation_matrix, given above, with the :math:`B` matrix which can be derived from the lattice constants.Type: NX_FLOAT Dimensions: 1: n_comp; 2: 3; 3: 3;
- Returns:
- the value.
-
setUb_matrixScalar
UB matrix of single crystal sample using Busing-Levy convention: W. R. Busing and H. A. Levy (1967). Acta Cryst. 22, 457-464. This is the multiplication of the orientation_matrix, given above, with the :math:`B` matrix which can be derived from the lattice constants.Type: NX_FLOAT Dimensions: 1: n_comp; 2: 3; 3: 3;
- Parameters:
ub_matrix- the ub_matrix
-
getMass
org.eclipse.january.dataset.Dataset getMass()Mass of sampleType: NX_FLOAT Units: NX_MASS Dimensions: 1: n_comp;
- Returns:
- the value.
-
setMass
Mass of sampleType: NX_FLOAT Units: NX_MASS Dimensions: 1: n_comp;
- Parameters:
massDataset- the massDataset
-
getMassScalar
Double getMassScalar()Mass of sampleType: NX_FLOAT Units: NX_MASS Dimensions: 1: n_comp;
- Returns:
- the value.
-
setMassScalar
Mass of sampleType: NX_FLOAT Units: NX_MASS Dimensions: 1: n_comp;
- Parameters:
mass- the mass
-
getDensity
org.eclipse.january.dataset.Dataset getDensity()Density of sampleType: NX_FLOAT Units: NX_MASS_DENSITY Dimensions: 1: n_comp;
- Returns:
- the value.
-
setDensity
Density of sampleType: NX_FLOAT Units: NX_MASS_DENSITY Dimensions: 1: n_comp;
- Parameters:
densityDataset- the densityDataset
-
getDensityScalar
Double getDensityScalar()Density of sampleType: NX_FLOAT Units: NX_MASS_DENSITY Dimensions: 1: n_comp;
- Returns:
- the value.
-
setDensityScalar
Density of sampleType: NX_FLOAT Units: NX_MASS_DENSITY Dimensions: 1: n_comp;
- Parameters:
density- the density
-
getRelative_molecular_mass
org.eclipse.january.dataset.Dataset getRelative_molecular_mass()Relative Molecular Mass of sampleType: NX_FLOAT Units: NX_MASS Dimensions: 1: n_comp;
- Returns:
- the value.
-
setRelative_molecular_mass
DataNode setRelative_molecular_mass(org.eclipse.january.dataset.IDataset relative_molecular_massDataset) Relative Molecular Mass of sampleType: NX_FLOAT Units: NX_MASS Dimensions: 1: n_comp;
- Parameters:
relative_molecular_massDataset- the relative_molecular_massDataset
-
getRelative_molecular_massScalar
Double getRelative_molecular_massScalar()Relative Molecular Mass of sampleType: NX_FLOAT Units: NX_MASS Dimensions: 1: n_comp;
- Returns:
- the value.
-
setRelative_molecular_massScalar
Relative Molecular Mass of sampleType: NX_FLOAT Units: NX_MASS Dimensions: 1: n_comp;
- Parameters:
relative_molecular_mass- the relative_molecular_mass
-
getType
org.eclipse.january.dataset.Dataset getType()Enumeration:
- sample
- sample+can
- can
- sample+buffer
- buffer
- calibration sample
- normalisation sample
- simulated data
- none
- sample environment
- Returns:
- the value.
-
setType
Enumeration:
- sample
- sample+can
- can
- sample+buffer
- buffer
- calibration sample
- normalisation sample
- simulated data
- none
- sample environment
- Parameters:
typeDataset- the typeDataset
-
getTypeScalar
String getTypeScalar()Enumeration:
- sample
- sample+can
- can
- sample+buffer
- buffer
- calibration sample
- normalisation sample
- simulated data
- none
- sample environment
- Returns:
- the value.
-
setTypeScalar
Enumeration:
- sample
- sample+can
- can
- sample+buffer
- buffer
- calibration sample
- normalisation sample
- simulated data
- none
- sample environment
- Parameters:
type- the type
-
getSituation
org.eclipse.january.dataset.Dataset getSituation()The atmosphere will be one of the components, which is where its details will be stored; the relevant components will be indicated by the entry in the sample_component member.Enumeration:
- air
- vacuum
- inert atmosphere
- oxidising atmosphere
- reducing atmosphere
- sealed can
- other
- Returns:
- the value.
-
setSituation
The atmosphere will be one of the components, which is where its details will be stored; the relevant components will be indicated by the entry in the sample_component member.Enumeration:
- air
- vacuum
- inert atmosphere
- oxidising atmosphere
- reducing atmosphere
- sealed can
- other
- Parameters:
situationDataset- the situationDataset
-
getSituationScalar
String getSituationScalar()The atmosphere will be one of the components, which is where its details will be stored; the relevant components will be indicated by the entry in the sample_component member.Enumeration:
- air
- vacuum
- inert atmosphere
- oxidising atmosphere
- reducing atmosphere
- sealed can
- other
- Returns:
- the value.
-
setSituationScalar
The atmosphere will be one of the components, which is where its details will be stored; the relevant components will be indicated by the entry in the sample_component member.Enumeration:
- air
- vacuum
- inert atmosphere
- oxidising atmosphere
- reducing atmosphere
- sealed can
- other
- Parameters:
situation- the situation
-
getDescription
org.eclipse.january.dataset.Dataset getDescription()Description of the sample- Specified by:
getDescriptionin interfaceNXcomponent- Returns:
- the value.
-
setDescription
Description of the sample- Specified by:
setDescriptionin interfaceNXcomponent- Parameters:
descriptionDataset- the descriptionDataset
-
getDescriptionScalar
String getDescriptionScalar()Description of the sample- Specified by:
getDescriptionScalarin interfaceNXcomponent- Returns:
- the value.
-
setDescriptionScalar
Description of the sample- Specified by:
setDescriptionScalarin interfaceNXcomponent- Parameters:
description- the description
-
getPreparation_date
org.eclipse.january.dataset.Dataset getPreparation_date()Date of preparation of the sampleType: NX_DATE_TIME
- Returns:
- the value.
-
setPreparation_date
Date of preparation of the sampleType: NX_DATE_TIME
- Parameters:
preparation_dateDataset- the preparation_dateDataset
-
getPreparation_dateScalar
Date getPreparation_dateScalar()Date of preparation of the sampleType: NX_DATE_TIME
- Returns:
- the value.
-
setPreparation_dateScalar
Date of preparation of the sampleType: NX_DATE_TIME
- Parameters:
preparation_date- the preparation_date
-
getGeometry
Deprecated.Use the field `depends_on` and :ref:`NXtransformations` to position the sample and NXoff_geometry to describe its shape insteadThe position and orientation of the center of mass of the sample- Returns:
- the value.
-
setGeometry
Deprecated.Use the field `depends_on` and :ref:`NXtransformations` to position the sample and NXoff_geometry to describe its shape insteadThe position and orientation of the center of mass of the sample- Parameters:
geometryGroup- the geometryGroup
-
getBeam
NXbeam getBeam()Details of beam incident on sample - used to calculate sample/beam interaction point- Returns:
- the value.
-
setBeam
Details of beam incident on sample - used to calculate sample/beam interaction point- Parameters:
beamGroup- the beamGroup
-
getBeam
Get a NXbeam node by name:- Details of beam incident on sample - used to calculate sample/beam interaction point
- Parameters:
name- the name of the node.- Returns:
- a map from node names to the NXbeam for that node.
-
setBeam
Set a NXbeam node by name:- Details of beam incident on sample - used to calculate sample/beam interaction point
- Parameters:
name- the name of the nodebeam- the value to set
-
getAllBeam
Get all NXbeam nodes:- Details of beam incident on sample - used to calculate sample/beam interaction point
- Returns:
- a map from node names to the NXbeam for that node.
-
setAllBeam
Set multiple child nodes of a particular type.- Details of beam incident on sample - used to calculate sample/beam interaction point
- Parameters:
beam- the child nodes to add
-
getSample_componentGroup
NXsample_component getSample_componentGroup()One group per sample component This is the preferred way of recording per component information over the n_comp arrays- Returns:
- the value.
-
setSample_componentGroup
One group per sample component This is the preferred way of recording per component information over the n_comp arrays- Parameters:
sample_componentGroupGroup- the sample_componentGroupGroup
-
getSample_componentGroup
Get a NXsample_component node by name:- One group per sample component This is the preferred way of recording per component information over the n_comp arrays
- Parameters:
name- the name of the node.- Returns:
- a map from node names to the NXsample_component for that node.
-
setSample_componentGroup
Set a NXsample_component node by name:- One group per sample component This is the preferred way of recording per component information over the n_comp arrays
- Parameters:
name- the name of the nodesample_componentGroup- the value to set
-
getAllSample_componentGroup
Map<String,NXsample_component> getAllSample_componentGroup()Get all NXsample_component nodes:- One group per sample component This is the preferred way of recording per component information over the n_comp arrays
- Returns:
- a map from node names to the NXsample_component for that node.
-
setAllSample_componentGroup
Set multiple child nodes of a particular type.- One group per sample component This is the preferred way of recording per component information over the n_comp arrays
- Parameters:
sample_componentGroup- the child nodes to add
-
getComponent
org.eclipse.january.dataset.Dataset getComponent()Details of the component of the sample and/or canDimensions: 1: n_comp;
- Returns:
- the value.
-
setComponent
Details of the component of the sample and/or canDimensions: 1: n_comp;
- Parameters:
componentDataset- the componentDataset
-
getComponentScalar
String getComponentScalar()Details of the component of the sample and/or canDimensions: 1: n_comp;
- Returns:
- the value.
-
setComponentScalar
Details of the component of the sample and/or canDimensions: 1: n_comp;
- Parameters:
component- the component
-
getSample_component
org.eclipse.january.dataset.Dataset getSample_component()Type of componentDimensions: 1: n_comp;
Enumeration:
- sample
- can
- atmosphere
- kit
- Returns:
- the value.
-
setSample_component
Type of componentDimensions: 1: n_comp;
Enumeration:
- sample
- can
- atmosphere
- kit
- Parameters:
sample_componentDataset- the sample_componentDataset
-
getSample_componentScalar
String getSample_componentScalar()Type of componentDimensions: 1: n_comp;
Enumeration:
- sample
- can
- atmosphere
- kit
- Returns:
- the value.
-
setSample_componentScalar
Type of componentDimensions: 1: n_comp;
Enumeration:
- sample
- can
- atmosphere
- kit
- Parameters:
sample_component- the sample_component
-
getConcentration
org.eclipse.january.dataset.Dataset getConcentration()Concentration of each componentType: NX_FLOAT Units: NX_MASS_DENSITY Dimensions: 1: n_comp;
- Returns:
- the value.
-
setConcentration
Concentration of each componentType: NX_FLOAT Units: NX_MASS_DENSITY Dimensions: 1: n_comp;
- Parameters:
concentrationDataset- the concentrationDataset
-
getConcentrationScalar
Double getConcentrationScalar()Concentration of each componentType: NX_FLOAT Units: NX_MASS_DENSITY Dimensions: 1: n_comp;
- Returns:
- the value.
-
setConcentrationScalar
Concentration of each componentType: NX_FLOAT Units: NX_MASS_DENSITY Dimensions: 1: n_comp;
- Parameters:
concentration- the concentration
-
getVolume_fraction
org.eclipse.january.dataset.Dataset getVolume_fraction()Volume fraction of each componentType: NX_FLOAT Dimensions: 1: n_comp;
- Returns:
- the value.
-
setVolume_fraction
Volume fraction of each componentType: NX_FLOAT Dimensions: 1: n_comp;
- Parameters:
volume_fractionDataset- the volume_fractionDataset
-
getVolume_fractionScalar
Double getVolume_fractionScalar()Volume fraction of each componentType: NX_FLOAT Dimensions: 1: n_comp;
- Returns:
- the value.
-
setVolume_fractionScalar
Volume fraction of each componentType: NX_FLOAT Dimensions: 1: n_comp;
- Parameters:
volume_fraction- the volume_fraction
-
getScattering_length_density
org.eclipse.january.dataset.Dataset getScattering_length_density()Scattering length density of each componentType: NX_FLOAT Units: NX_SCATTERING_LENGTH_DENSITY Dimensions: 1: n_comp;
- Returns:
- the value.
-
setScattering_length_density
DataNode setScattering_length_density(org.eclipse.january.dataset.IDataset scattering_length_densityDataset) Scattering length density of each componentType: NX_FLOAT Units: NX_SCATTERING_LENGTH_DENSITY Dimensions: 1: n_comp;
- Parameters:
scattering_length_densityDataset- the scattering_length_densityDataset
-
getScattering_length_densityScalar
Double getScattering_length_densityScalar()Scattering length density of each componentType: NX_FLOAT Units: NX_SCATTERING_LENGTH_DENSITY Dimensions: 1: n_comp;
- Returns:
- the value.
-
setScattering_length_densityScalar
Scattering length density of each componentType: NX_FLOAT Units: NX_SCATTERING_LENGTH_DENSITY Dimensions: 1: n_comp;
- Parameters:
scattering_length_density- the scattering_length_density
-
getUnit_cell_class
org.eclipse.january.dataset.Dataset getUnit_cell_class()In case it is all we know and we want to record/document itEnumeration:
- triclinic
- monoclinic
- orthorhombic
- tetragonal
- rhombohedral
- hexagonal
- cubic
- Returns:
- the value.
-
setUnit_cell_class
In case it is all we know and we want to record/document itEnumeration:
- triclinic
- monoclinic
- orthorhombic
- tetragonal
- rhombohedral
- hexagonal
- cubic
- Parameters:
unit_cell_classDataset- the unit_cell_classDataset
-
getUnit_cell_classScalar
String getUnit_cell_classScalar()In case it is all we know and we want to record/document itEnumeration:
- triclinic
- monoclinic
- orthorhombic
- tetragonal
- rhombohedral
- hexagonal
- cubic
- Returns:
- the value.
-
setUnit_cell_classScalar
In case it is all we know and we want to record/document itEnumeration:
- triclinic
- monoclinic
- orthorhombic
- tetragonal
- rhombohedral
- hexagonal
- cubic
- Parameters:
unit_cell_class- the unit_cell_class
-
getSpace_group
org.eclipse.january.dataset.Dataset getSpace_group()Crystallographic space groupDimensions: 1: n_comp;
- Returns:
- the value.
-
setSpace_group
Crystallographic space groupDimensions: 1: n_comp;
- Parameters:
space_groupDataset- the space_groupDataset
-
getSpace_groupScalar
String getSpace_groupScalar()Crystallographic space groupDimensions: 1: n_comp;
- Returns:
- the value.
-
setSpace_groupScalar
Crystallographic space groupDimensions: 1: n_comp;
- Parameters:
space_group- the space_group
-
getPoint_group
org.eclipse.january.dataset.Dataset getPoint_group()Crystallographic point group, deprecated if space_group presentDimensions: 1: n_comp;
- Returns:
- the value.
-
setPoint_group
Crystallographic point group, deprecated if space_group presentDimensions: 1: n_comp;
- Parameters:
point_groupDataset- the point_groupDataset
-
getPoint_groupScalar
String getPoint_groupScalar()Crystallographic point group, deprecated if space_group presentDimensions: 1: n_comp;
- Returns:
- the value.
-
setPoint_groupScalar
Crystallographic point group, deprecated if space_group presentDimensions: 1: n_comp;
- Parameters:
point_group- the point_group
-
getPath_length
org.eclipse.january.dataset.Dataset getPath_length()Path length through sample/can for simple case when it does not vary with scattering directionType: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setPath_length
Path length through sample/can for simple case when it does not vary with scattering directionType: NX_FLOAT Units: NX_LENGTH
- Parameters:
path_lengthDataset- the path_lengthDataset
-
getPath_lengthScalar
Double getPath_lengthScalar()Path length through sample/can for simple case when it does not vary with scattering directionType: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setPath_lengthScalar
Path length through sample/can for simple case when it does not vary with scattering directionType: NX_FLOAT Units: NX_LENGTH
- Parameters:
path_length- the path_length
-
getPath_length_window
org.eclipse.january.dataset.Dataset getPath_length_window()Thickness of a beam entry/exit window on the can (mm) - assumed same for entry and exitType: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setPath_length_window
Thickness of a beam entry/exit window on the can (mm) - assumed same for entry and exitType: NX_FLOAT Units: NX_LENGTH
- Parameters:
path_length_windowDataset- the path_length_windowDataset
-
getPath_length_windowScalar
Double getPath_length_windowScalar()Thickness of a beam entry/exit window on the can (mm) - assumed same for entry and exitType: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setPath_length_windowScalar
Thickness of a beam entry/exit window on the can (mm) - assumed same for entry and exitType: NX_FLOAT Units: NX_LENGTH
- Parameters:
path_length_window- the path_length_window
-
getThickness
org.eclipse.january.dataset.Dataset getThickness()sample thicknessType: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setThickness
sample thicknessType: NX_FLOAT Units: NX_LENGTH
- Parameters:
thicknessDataset- the thicknessDataset
-
getThicknessScalar
Double getThicknessScalar()sample thicknessType: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setThicknessScalar
sample thicknessType: NX_FLOAT Units: NX_LENGTH
- Parameters:
thickness- the thickness
-
getTransmission
NXdata getTransmission()As a function of Wavelength- Returns:
- the value.
-
setTransmission
As a function of Wavelength- Parameters:
transmissionGroup- the transmissionGroup
-
getTemperature_log
Deprecated.use ``temperature``, see: https://github.com/nexusformat/definitions/issues/816temperature_log.value is a link to e.g. temperature_env.sensor1.value_log.value- Returns:
- the value.
-
setTemperature_log
Deprecated.use ``temperature``, see: https://github.com/nexusformat/definitions/issues/816temperature_log.value is a link to e.g. temperature_env.sensor1.value_log.value- Parameters:
temperature_logGroup- the temperature_logGroup
-
getTemperature_env
NXenvironment getTemperature_env()Additional sample temperature environment information- Returns:
- the value.
-
setTemperature_env
Additional sample temperature environment information- Parameters:
temperature_envGroup- the temperature_envGroup
-
getMagnetic_fieldLog
NXlog getMagnetic_fieldLog()magnetic_field.value is a link to e.g. magnetic_field_env.sensor1.value- Returns:
- the value.
-
setMagnetic_fieldLog
magnetic_field.value is a link to e.g. magnetic_field_env.sensor1.value- Parameters:
magnetic_fieldLogGroup- the magnetic_fieldLogGroup
-
getMagnetic_field_log
Deprecated.use ``magnetic_field``, see: https://github.com/nexusformat/definitions/issues/816magnetic_field_log.value is a link to e.g. magnetic_field_env.sensor1.value_log.value- Returns:
- the value.
-
setMagnetic_field_log
Deprecated.use ``magnetic_field``, see: https://github.com/nexusformat/definitions/issues/816magnetic_field_log.value is a link to e.g. magnetic_field_env.sensor1.value_log.value- Parameters:
magnetic_field_logGroup- the magnetic_field_logGroup
-
getMagnetic_field_env
NXenvironment getMagnetic_field_env()Additional sample magnetic environment information- Returns:
- the value.
-
setMagnetic_field_env
Additional sample magnetic environment information- Parameters:
magnetic_field_envGroup- the magnetic_field_envGroup
-
getExternal_dac
org.eclipse.january.dataset.Dataset getExternal_dac()value sent to user's sample setupType: NX_FLOAT Units: NX_ANY
- Returns:
- the value.
-
setExternal_dac
value sent to user's sample setupType: NX_FLOAT Units: NX_ANY
- Parameters:
external_dacDataset- the external_dacDataset
-
getExternal_dacScalar
Double getExternal_dacScalar()value sent to user's sample setupType: NX_FLOAT Units: NX_ANY
- Returns:
- the value.
-
setExternal_dacScalar
value sent to user's sample setupType: NX_FLOAT Units: NX_ANY
- Parameters:
external_dac- the external_dac
-
getExternal_adc
NXlog getExternal_adc()logged value (or logic state) read from user's setup- Returns:
- the value.
-
setExternal_adc
logged value (or logic state) read from user's setup- Parameters:
external_adcGroup- the external_adcGroup
-
getShort_title
org.eclipse.january.dataset.Dataset getShort_title()20 character fixed length sample description for legends- Returns:
- the value.
-
setShort_title
20 character fixed length sample description for legends- Parameters:
short_titleDataset- the short_titleDataset
-
getShort_titleScalar
String getShort_titleScalar()20 character fixed length sample description for legends- Returns:
- the value.
-
setShort_titleScalar
20 character fixed length sample description for legends- Parameters:
short_title- the short_title
-
getRotation_angle
org.eclipse.january.dataset.Dataset getRotation_angle()Optional rotation angle for the case when the powder diagram has been obtained through an omega-2theta scan like from a traditional single detector powder diffractometer. Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_ANGLE
- Returns:
- the value.
-
setRotation_angle
Optional rotation angle for the case when the powder diagram has been obtained through an omega-2theta scan like from a traditional single detector powder diffractometer. Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_ANGLE
- Parameters:
rotation_angleDataset- the rotation_angleDataset
-
getRotation_angleScalar
Double getRotation_angleScalar()Optional rotation angle for the case when the powder diagram has been obtained through an omega-2theta scan like from a traditional single detector powder diffractometer. Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_ANGLE
- Returns:
- the value.
-
setRotation_angleScalar
Optional rotation angle for the case when the powder diagram has been obtained through an omega-2theta scan like from a traditional single detector powder diffractometer. Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_ANGLE
- Parameters:
rotation_angle- the rotation_angle
-
getX_translation
org.eclipse.january.dataset.Dataset getX_translation()Translation of the sample along the X-direction of the laboratory coordinate system Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setX_translation
Translation of the sample along the X-direction of the laboratory coordinate system Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_LENGTH
- Parameters:
x_translationDataset- the x_translationDataset
-
getX_translationScalar
Double getX_translationScalar()Translation of the sample along the X-direction of the laboratory coordinate system Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setX_translationScalar
Translation of the sample along the X-direction of the laboratory coordinate system Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_LENGTH
- Parameters:
x_translation- the x_translation
-
getDistance
org.eclipse.january.dataset.Dataset getDistance()Translation of the sample along the Z-direction of the laboratory coordinate system. Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setDistance
Translation of the sample along the Z-direction of the laboratory coordinate system. Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_LENGTH
- Parameters:
distanceDataset- the distanceDataset
-
getDistanceScalar
Double getDistanceScalar()Translation of the sample along the Z-direction of the laboratory coordinate system. Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_LENGTH
- Returns:
- the value.
-
setDistanceScalar
Translation of the sample along the Z-direction of the laboratory coordinate system. Note, it is recommended to use NXtransformations instead.Type: NX_FLOAT Units: NX_LENGTH
- Parameters:
distance- the distance
-
getPositioner
NXpositioner getPositioner()Any positioner (motor, PZT, ...) used to locate the sample- Returns:
- the value.
-
setPositioner
Any positioner (motor, PZT, ...) used to locate the sample- Parameters:
positionerGroup- the positionerGroup
-
getPositioner
Get a NXpositioner node by name:- Any positioner (motor, PZT, ...) used to locate the sample
- Parameters:
name- the name of the node.- Returns:
- a map from node names to the NXpositioner for that node.
-
setPositioner
Set a NXpositioner node by name:- Any positioner (motor, PZT, ...) used to locate the sample
- Parameters:
name- the name of the nodepositioner- the value to set
-
getAllPositioner
Map<String,NXpositioner> getAllPositioner()Get all NXpositioner nodes:- Any positioner (motor, PZT, ...) used to locate the sample
- Returns:
- a map from node names to the NXpositioner for that node.
-
setAllPositioner
Set multiple child nodes of a particular type.- Any positioner (motor, PZT, ...) used to locate the sample
- Parameters:
positioner- the child nodes to add
-
getOff_geometry
NXoff_geometry getOff_geometry()This group describes the shape of the sample- Returns:
- the value.
-
setOff_geometry
This group describes the shape of the sample- Parameters:
off_geometryGroup- the off_geometryGroup
-
getOff_geometry
Get a NXoff_geometry node by name:- This group describes the shape of the sample
- Parameters:
name- the name of the node.- Returns:
- a map from node names to the NXoff_geometry for that node.
-
setOff_geometry
Set a NXoff_geometry node by name:- This group describes the shape of the sample
- Parameters:
name- the name of the nodeoff_geometry- the value to set
-
getAllOff_geometry
Map<String,NXoff_geometry> getAllOff_geometry()Get all NXoff_geometry nodes:- This group describes the shape of the sample
- Returns:
- a map from node names to the NXoff_geometry for that node.
-
setAllOff_geometry
Set multiple child nodes of a particular type.- This group describes the shape of the sample
- Parameters:
off_geometry- the child nodes to add
-
getPhysical_form
org.eclipse.january.dataset.Dataset getPhysical_form()Physical form of the sample material. Examples include single crystal, foil, pellet, powder, thin film, disc, foam, gas, liquid, amorphous.- Returns:
- the value.
-
setPhysical_form
Physical form of the sample material. Examples include single crystal, foil, pellet, powder, thin film, disc, foam, gas, liquid, amorphous.- Parameters:
physical_formDataset- the physical_formDataset
-
getPhysical_formScalar
String getPhysical_formScalar()Physical form of the sample material. Examples include single crystal, foil, pellet, powder, thin film, disc, foam, gas, liquid, amorphous.- Returns:
- the value.
-
setPhysical_formScalar
Physical form of the sample material. Examples include single crystal, foil, pellet, powder, thin film, disc, foam, gas, liquid, amorphous.- Parameters:
physical_form- the physical_form
-
getEnvironment
NXenvironment getEnvironment()Any environmental or external stimuli/measurements. These can include, among others: applied pressure, surrounding gas phase and gas pressure, external electric/magnetic/mechanical fields, temperature, ...- Returns:
- the value.
-
setEnvironment
Any environmental or external stimuli/measurements. These can include, among others: applied pressure, surrounding gas phase and gas pressure, external electric/magnetic/mechanical fields, temperature, ...- Parameters:
environmentGroup- the environmentGroup
-
getEnvironment
Get a NXenvironment node by name:- Additional sample temperature environment information
- Additional sample magnetic environment information
- Any environmental or external stimuli/measurements. These can include, among others: applied pressure, surrounding gas phase and gas pressure, external electric/magnetic/mechanical fields, temperature, ...
- Parameters:
name- the name of the node.- Returns:
- a map from node names to the NXenvironment for that node.
-
setEnvironment
Set a NXenvironment node by name:- Additional sample temperature environment information
- Additional sample magnetic environment information
- Any environmental or external stimuli/measurements. These can include, among others: applied pressure, surrounding gas phase and gas pressure, external electric/magnetic/mechanical fields, temperature, ...
- Parameters:
name- the name of the nodeenvironment- the value to set
-
getAllEnvironment
Map<String,NXenvironment> getAllEnvironment()Get all NXenvironment nodes:- Additional sample temperature environment information
- Additional sample magnetic environment information
- Any environmental or external stimuli/measurements. These can include, among others: applied pressure, surrounding gas phase and gas pressure, external electric/magnetic/mechanical fields, temperature, ...
- Returns:
- a map from node names to the NXenvironment for that node.
-
setAllEnvironment
Set multiple child nodes of a particular type.- Additional sample temperature environment information
- Additional sample magnetic environment information
- Any environmental or external stimuli/measurements. These can include, among others: applied pressure, surrounding gas phase and gas pressure, external electric/magnetic/mechanical fields, temperature, ...
- Parameters:
environment- the child nodes to add
-
getHistory
NXhistory getHistory()A set of physical processes that occurred to the sample prior/during experiment.- Returns:
- the value.
-
setHistory
A set of physical processes that occurred to the sample prior/during experiment.- Parameters:
historyGroup- the historyGroup
-