public class PlaneCorrelationCoordSet extends Object implements CartesianMultiPointCoordSet
Constructor and Description |
---|
PlaneCorrelationCoordSet()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
calculateErrorVectors(double xerr,
double yerr,
double xycorr,
double[] ra,
double[] rb)
Calculates the vectors defining an error ellipse from the
errors on each axis and a correlation value.
|
static MultiPointForm |
createForm()
Creates a MultiPointForm that can plot ellipses on the plane,
corresponding to this coordset.
|
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[] xy0,
double[][] xyExtras)
Reads the non-central points from a appropriate span of columns
in a supplied tuple.
|
public Coord[] getCoords()
MultiPointCoordSet
getCoords
in interface MultiPointCoordSet
public int getPointCount()
MultiPointCoordSet
getPointCount
in interface MultiPointCoordSet
public boolean readPoints(Tuple tuple, int icol, double[] xy0, double[][] xyExtras)
CartesianMultiPointCoordSet
icExtra
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 CartesianMultiPointCoordSet
tuple
- tupleicol
- index of tuple field corresponding to
the first of the coordinates in this setxy0
- nDataDim-element array giving central data positionxyExtras
- [nPointCount][nDataDim]-shaped array into which
the non-central data positions will be writtenpublic static void calculateErrorVectors(double xerr, double yerr, double xycorr, double[] ra, double[] rb)
xerr
- error in X coordinateyerr
- error in Y coordinatexycorr
- dimensionless X-Y correlation in range -1..+1ra
- 2-element vector to receive primary radius vectorrb
- 2-element vector to receive secondary radius vectorpublic static MultiPointForm createForm()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.