public final class GreatCircles extends java.lang.Object implements FisherParams
References:
McFadden, P. L. & McElhinny, M. W., 1988. The combined analysis of remagnetization circles and direct observations in palaeomagnetism. Earth and Planetary Science Letters, 87, pp. 161–172.
Modifier and Type | Method and Description |
---|---|
double |
getA95()
Returns the alpha-95 value denoting the 95% confidence interval.
|
java.util.List<GreatCircle> |
getCircles()
Returns the great circles which were originally supplied to the
constructor.
|
static java.util.List<java.lang.String> |
getEmptyFields()
Returns a list of empty strings equal in length to the number of
parameters.
|
static java.util.List<java.lang.String> |
getHeaders()
Returns the headers describing the parameters as a list of strings.
|
double |
getK()
Returns the k-value, an estimate of the precision parameter
κ.
|
int |
getM()
Returns the number of stable endpoints used in the calculation.
|
Vec3 |
getMeanDirection()
Returns the best-fit mean direction for the supplied circles and
directions.
|
int |
getN()
Returns the number of great circles used in the calculation.
|
double |
getR()
Returns R, the total unit vector path length.
|
static GreatCircles |
instance(java.util.List<Vec3> endpoints,
java.util.List<GreatCircle> circles,
java.lang.String validityCondition)
Calculates a mean direction from the supplied great circle and
directions.
|
boolean |
isValid()
Returns
true if this great-circle fit is valid according to the
condition specified in the preferences. |
java.util.List<java.lang.String> |
toStrings()
Returns the statistical parameters as a list of strings.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isA95Valid
public static GreatCircles instance(java.util.List<Vec3> endpoints, java.util.List<GreatCircle> circles, java.lang.String validityCondition)
false
.endpoints
- a set of directions (probably from linear PCA fits)circles
- a set of great circlesvalidityCondition
- an JavaScript expression to evaluate
whether the calculated direction should be considered validpublic int getM()
public int getN()
getN
in interface FisherParams
public final java.util.List<GreatCircle> getCircles()
public Vec3 getMeanDirection()
getMeanDirection
in interface FisherParams
public java.util.List<java.lang.String> toStrings()
getHeaders()
.public static java.util.List<java.lang.String> getEmptyFields()
public static java.util.List<java.lang.String> getHeaders()
public boolean isValid()
true
if this great-circle fit is valid according to the
condition specified in the preferences.true
if this great-circle fit is validpublic double getA95()
FisherParams
getA95
in interface FisherParams
public double getK()
FisherParams
getK
in interface FisherParams
public double getR()
FisherParams
getR
in interface FisherParams