|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.talvi.puffinplot.data.PcaAnnotated
public class PcaAnnotated
This class encapsulates a set of principal component analysis (PCA)
parameters along with some data on the treatment steps from which
the PCA was calculated. At present the treatment step data can only
be read via the toStrings()
method which is intended for
export to a file.
PcaValues
Method Summary | |
---|---|
static PcaAnnotated |
calculate(Sample sample,
Correction correction)
Performs principal component analysis (PCA) on the specified sample. |
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. |
PcaValues |
getPcaValues()
Returns the results of the principal component analysis. |
java.util.List<java.lang.String> |
toStrings()
Returns the parameters as a list of strings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PcaAnnotated calculate(Sample sample, Correction correction)
Datum.isInPca()
method. The starting and ending treatment
steps are stored, as is a flag indicating whether the treatment
step were contiguous.
sample
- the sample on which to perform PCAcorrection
- the correction to apply to the magnetic moment data
public PcaValues getPcaValues()
public java.util.List<java.lang.String> toStrings()
getHeaders()
.
public static java.util.List<java.lang.String> getHeaders()
public static java.util.List<java.lang.String> getEmptyFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |