|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.talvi.puffinplot.data.GreatCircles
public class GreatCircles
This class represents a set of great circles and a set of directions. It calculates a best-fitting mean direction from these data using the method of McFadden and McElhinny (1988).
| Constructor Summary | |
|---|---|
GreatCircles(java.util.List<Vec3> endpoints,
java.util.List<GreatCircle> circles)
Calculates a mean direction from the supplied great circle and directions. |
|
| Method Summary | |
|---|---|
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. |
boolean |
isValid()
Returns true if this great-circle fit is valid. |
java.util.List<java.lang.String> |
toStrings()
Returns the statistical parameters as a list of strings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GreatCircles(java.util.List<Vec3> endpoints,
java.util.List<GreatCircle> circles)
endpoints - a set of directions (probably from linear PCA fits)circles - a set of great circles| Method Detail |
|---|
public int getM()
public int getN()
public java.util.List<GreatCircle> getCircles()
public Vec3 getMeanDirection()
getMeanDirection in interface FisherParamspublic 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.
true if this great-circle fit is validpublic double getA95()
FisherParams
getA95 in interface FisherParamspublic double getK()
FisherParams
getK in interface FisherParams
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||