How to correctly use NXprocess #181
Labels
documentation
Improvements or additions to documentation
needs-discussion
question
Further information is requested
Problem
In the
NXprocess
base class, the docstring says:"Document an event of data processing, reconstruction, or analysis for this data."
This suggests that one NXprocess should describe one event of data processing. However,
NXprocess
can at the moment contain multiple ofNXregistration
,NXdistortion
, andNXcalibration
, suggesting that it is possible to have multiple "events" in oneNXprocess
instance. This is somewhat inconsistent and it makes the other fields in NXprocess, which are related to the order of processing (likesequence_index
) hard to consistenly use.My suggestion
In #177, we have introduced the base class
NXhistory
for the description of the history of a physical entity.NXhistory
can hold many ofNXactivity
as well asNXphysical_process
andNXchemical_process
. I propose to extendNXhistory
such that it can also describe the history of processing events:NXhistory base class:
Then, on the app-def level, we can write:
Additional ideas
NXhistory
is a graph with nodesNXactivity
(and similar). We could make the edges in the graph more pronounced by using/modifying the existingNXgraph_*
base classes.NXactivity
instances in the future.What do you think @FAIRmat-NFDI/areab?
The text was updated successfully, but these errors were encountered: