This is an alternative to #144 which essentially incorporates NXcoordinate_system directly within NXtransformations.
There are three changes to NXtransformations:
1) transformation_type may be base_change, in which case a matrix containing n_dim column vectors of n_dim length should be supplied.
2) an attribute matrix is added to AXISNAME which shall contain n_dim column vectors of n_dim length. This is to be used to provide a matrix going from one coordinate system going to the other.
3) an attribute direction is added to AXISNAME that provides a human-readable field which direction the axis points. This is to be used to a define a reference frame (i.e, for axes with no transformation_type). If matrix is filled, then this field shall contain the direction of all n-dim matrix elements.
This is an alternative to #144 which essentially incorporates
NXcoordinate_system
directly withinNXtransformations
.There are three changes to
NXtransformations
: 1)transformation_type
may bebase_change
, in which case a matrix containingn_dim
column vectors ofn_dim
length should be supplied. 2) an attributematrix
is added toAXISNAME
which shall containn_dim
column vectors ofn_dim
length. This is to be used to provide a matrix going from one coordinate system going to the other. 3) an attributedirection
is added toAXISNAME
that provides a human-readable field which direction the axis points. This is to be used to a define a reference frame (i.e, for axes with no transformation_type). Ifmatrix
is filled, then this field shall contain the direction of alln-dim
matrix elements.Examples: 1) There is an example in