Package org.eclipse.dawnsci.nexus
Interface NXprocess
- All Known Subinterfaces:
NXapm_charge_state_analysis,NXapm_paraprobe_tool_process,NXapm_ranging,NXapm_reconstruction,NXcalibration,NXdistortion,NXem_ebsd,NXem_eds,NXem_eels,NXem_img,NXfit,NXmicrostructure_ipf,NXmicrostructure_odf,NXmicrostructure_pf,NXregistration,NXroi_process
The :ref:`NXprocess` class describes an operation used to
process data as part of an analysis workflow, providing
information such as the software used, the date of the
operation, the input parameters, and the resulting data.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.eclipse.dawnsci.nexus.NXobject
NX_ATTRIBUTE_DEFAULT -
Method Summary
Modifier and TypeMethodDescriptionGet all NXdata nodes: The data resulting from the operation.Get all NXnote nodes: The note will contain information about how the data was processed or anything about the data provenance.Get all NXparameters nodes: Parameters used in performing the data analysis.getData()The data resulting from the operation.Get a NXdata node by name: The data resulting from the operation.org.eclipse.january.dataset.DatasetgetDate()Date and time of processing.Date and time of processing.getNote()The note will contain information about how the data was processed or anything about the data provenance.Get a NXnote node by name: The note will contain information about how the data was processed or anything about the data provenance.Parameters used in performing the data analysis.getParameters(String name) Get a NXparameters node by name: Parameters used in performing the data analysis.org.eclipse.january.dataset.DatasetName of the program usedName of the program usedorg.eclipse.january.dataset.DatasetSequence index of processing, for determining the order of multiple **NXprocess** steps.Sequence index of processing, for determining the order of multiple **NXprocess** steps.org.eclipse.january.dataset.DatasetVersion of the program usedVersion of the program usedvoidsetAllData(Map<String, NXdata> data) Set multiple child nodes of a particular type.voidsetAllNote(Map<String, NXnote> note) Set multiple child nodes of a particular type.voidsetAllParameters(Map<String, NXparameters> parameters) Set multiple child nodes of a particular type.voidSet a NXdata node by name: The data resulting from the operation.voidThe data resulting from the operation.setDate(org.eclipse.january.dataset.IDataset dateDataset) Date and time of processing.setDateScalar(Date dateValue) Date and time of processing.voidSet a NXnote node by name: The note will contain information about how the data was processed or anything about the data provenance.voidThe note will contain information about how the data was processed or anything about the data provenance.voidsetParameters(String name, NXparameters parameters) Set a NXparameters node by name: Parameters used in performing the data analysis.voidsetParameters(NXparameters parametersGroup) Parameters used in performing the data analysis.setProgram(org.eclipse.january.dataset.IDataset programDataset) Name of the program usedsetProgramScalar(String programValue) Name of the program usedsetSequence_index(org.eclipse.january.dataset.IDataset sequence_indexDataset) Sequence index of processing, for determining the order of multiple **NXprocess** steps.setSequence_indexScalar(Long sequence_indexValue) Sequence index of processing, for determining the order of multiple **NXprocess** steps.setVersion(org.eclipse.january.dataset.IDataset versionDataset) Version of the program usedsetVersionScalar(String versionValue) Version of the program usedMethods 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.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_PROGRAM
- See Also:
-
NX_SEQUENCE_INDEX
- See Also:
-
NX_VERSION
- See Also:
-
NX_DATE
- See Also:
-
-
Method Details
-
getProgram
org.eclipse.january.dataset.Dataset getProgram()Name of the program usedType: NX_CHAR
- Returns:
- the value.
-
setProgram
Name of the program usedType: NX_CHAR
- Parameters:
programDataset- the programDataset
-
getProgramScalar
String getProgramScalar()Name of the program usedType: NX_CHAR
- Returns:
- the value.
-
setProgramScalar
Name of the program usedType: NX_CHAR
- Parameters:
program- the program
-
getSequence_index
org.eclipse.january.dataset.Dataset getSequence_index()Sequence index of processing, for determining the order of multiple **NXprocess** steps. Starts with 1.Type: NX_POSINT
- Returns:
- the value.
-
setSequence_index
Sequence index of processing, for determining the order of multiple **NXprocess** steps. Starts with 1.Type: NX_POSINT
- Parameters:
sequence_indexDataset- the sequence_indexDataset
-
getSequence_indexScalar
Long getSequence_indexScalar()Sequence index of processing, for determining the order of multiple **NXprocess** steps. Starts with 1.Type: NX_POSINT
- Returns:
- the value.
-
setSequence_indexScalar
Sequence index of processing, for determining the order of multiple **NXprocess** steps. Starts with 1.Type: NX_POSINT
- Parameters:
sequence_index- the sequence_index
-
getVersion
org.eclipse.january.dataset.Dataset getVersion()Version of the program usedType: NX_CHAR
- Returns:
- the value.
-
setVersion
Version of the program usedType: NX_CHAR
- Parameters:
versionDataset- the versionDataset
-
getVersionScalar
String getVersionScalar()Version of the program usedType: NX_CHAR
- Returns:
- the value.
-
setVersionScalar
Version of the program usedType: NX_CHAR
- Parameters:
version- the version
-
getDate
org.eclipse.january.dataset.Dataset getDate()Date and time of processing.Type: NX_DATE_TIME
- Returns:
- the value.
-
setDate
Date and time of processing.Type: NX_DATE_TIME
- Parameters:
dateDataset- the dateDataset
-
getDateScalar
Date getDateScalar()Date and time of processing.Type: NX_DATE_TIME
- Returns:
- the value.
-
setDateScalar
Date and time of processing.Type: NX_DATE_TIME
- Parameters:
date- the date
-
getNote
NXnote getNote()The note will contain information about how the data was processed or anything about the data provenance. The contents of the note can be anything that the processing code can understand, or simple text. The name will be numbered to allow for ordering of steps.- Returns:
- the value.
-
setNote
The note will contain information about how the data was processed or anything about the data provenance. The contents of the note can be anything that the processing code can understand, or simple text. The name will be numbered to allow for ordering of steps.- Parameters:
noteGroup- the noteGroup
-
getNote
Get a NXnote node by name:- The note will contain information about how the data was processed or anything about the data provenance. The contents of the note can be anything that the processing code can understand, or simple text. The name will be numbered to allow for ordering of steps.
- Parameters:
name- the name of the node.- Returns:
- a map from node names to the NXnote for that node.
-
setNote
Set a NXnote node by name:- The note will contain information about how the data was processed or anything about the data provenance. The contents of the note can be anything that the processing code can understand, or simple text. The name will be numbered to allow for ordering of steps.
- Parameters:
name- the name of the nodenote- the value to set
-
getAllNote
Get all NXnote nodes:- The note will contain information about how the data was processed or anything about the data provenance. The contents of the note can be anything that the processing code can understand, or simple text. The name will be numbered to allow for ordering of steps.
- Returns:
- a map from node names to the NXnote for that node.
-
setAllNote
Set multiple child nodes of a particular type.- The note will contain information about how the data was processed or anything about the data provenance. The contents of the note can be anything that the processing code can understand, or simple text. The name will be numbered to allow for ordering of steps.
- Parameters:
note- the child nodes to add
-
getParameters
NXparameters getParameters()Parameters used in performing the data analysis.- Returns:
- the value.
-
setParameters
Parameters used in performing the data analysis.- Parameters:
parametersGroup- the parametersGroup
-
getParameters
Get a NXparameters node by name:- Parameters used in performing the data analysis.
- Parameters:
name- the name of the node.- Returns:
- a map from node names to the NXparameters for that node.
-
setParameters
Set a NXparameters node by name:- Parameters used in performing the data analysis.
- Parameters:
name- the name of the nodeparameters- the value to set
-
getAllParameters
Map<String,NXparameters> getAllParameters()Get all NXparameters nodes:- Parameters used in performing the data analysis.
- Returns:
- a map from node names to the NXparameters for that node.
-
setAllParameters
Set multiple child nodes of a particular type.- Parameters used in performing the data analysis.
- Parameters:
parameters- the child nodes to add
-
getData
NXdata getData()The data resulting from the operation.- Returns:
- the value.
-
setData
The data resulting from the operation.- Parameters:
dataGroup- the dataGroup
-
getData
Get a NXdata node by name:- The data resulting from the operation.
- Parameters:
name- the name of the node.- Returns:
- a map from node names to the NXdata for that node.
-
setData
Set a NXdata node by name:- The data resulting from the operation.
- Parameters:
name- the name of the nodedata- the value to set
-
getAllData
Get all NXdata nodes:- The data resulting from the operation.
- Returns:
- a map from node names to the NXdata for that node.
-
setAllData
Set multiple child nodes of a particular type.- The data resulting from the operation.
- Parameters:
data- the child nodes to add
-