public class CartesianErrorCoordSet extends Object implements CartesianMultiPointCoordSet
| Constructor and Description |
|---|
CartesianErrorCoordSet(String[] axisNames,
int[] iErrDims)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CartesianErrorCoordSet |
createAllAxesErrorCoordSet(String[] axisNames)
Returns a coord set with errors in all of the dimensions of a
Cartesian space.
|
static CartesianErrorCoordSet |
createSingleAxisErrorCoordSet(int ndim,
int iErrDim,
String errAxisName)
Returns a coord set with errors in a single indicated dimension of a
Cartesian space.
|
Coord[] |
getCoords()
Returns the coordinate definitions.
|
int |
getPointCount()
Returns the number of (non-central) data positions defined by this
coord set.
|
boolean |
readPoints(Tuple tuple,
int icol,
double[] dpos0,
double[][] dposExtras)
Reads the non-central points from a appropriate span of columns
in a supplied tuple.
|
public CartesianErrorCoordSet(String[] axisNames, int[] iErrDims)
nSpaceDim dimensions.axisNames - nSpaceDim-element array of names
of Cartesian axes (only those represented in
iErrDims are actually used)iErrDims - array of axis indices for which errors are to
be acquired; each element must be an index in the
range 0 <= x < nSpaceDimpublic Coord[] getCoords()
MultiPointCoordSetgetCoords in interface MultiPointCoordSetpublic int getPointCount()
MultiPointCoordSetgetPointCount in interface MultiPointCoordSetpublic boolean readPoints(Tuple tuple, int icol, double[] dpos0, double[][] dposExtras)
CartesianMultiPointCoordSeticExtra value gives the column corresponding to
the first coord of this coordinate set in the sequence;
the following few columns are assumed to correspond 1:1 to
the coords in this coord set.readPoints in interface CartesianMultiPointCoordSettuple - tupleicol - index of tuple field corresponding to
the first of the coordinates in this setdpos0 - nDataDim-element array giving central data positiondposExtras - [nPointCount][nDataDim]-shaped array into which
the non-central data positions will be writtenpublic static CartesianErrorCoordSet createAllAxesErrorCoordSet(String[] axisNames)
axisNames - names of the dimensions; the length of this array
defines the dimensionality of the spacepublic static CartesianErrorCoordSet createSingleAxisErrorCoordSet(int ndim, int iErrDim, String errAxisName)
ndim - dimensionality of the Cartesian spaceiErrDim - index of the dimension for which error coordinates
are to be obtainederrAxisName - label of the axis indicated by iErrDimCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.