Package | Description |
---|---|
net.talvi.puffinplot.data |
This package contains code to read, store, analyse, and write palaeomagnetic
data.
|
net.talvi.puffinplot.data.file |
This package contains classes for reading palaeomagnetic data from a file.
|
Modifier and Type | Method and Description |
---|---|
static DatumField |
DatumField.getByHeading(java.lang.String heading)
Returns the field whose heading string is the specified string,
or
null if no such field exists. |
static DatumField |
DatumField.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatumField[] |
DatumField.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<DatumField> |
DatumField.getRealFields()
Returns an unmodifiable list of the real fields.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Datum.getValue(DatumField field)
Returns a String representation of a value from a specified data field.
|
void |
Sample.setValue(DatumField field,
java.lang.String value)
Sets the value of a specified field for each data point in the
sample.
|
void |
Datum.setValue(DatumField field,
java.lang.String value,
double factor)
Sets the value of a specified data field using a string.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
Sample.exportFields(java.util.List<DatumField> fields)
Returns a specified subset of demagnetization data as strings.
|
java.lang.String |
Datum.exportFieldValues(java.util.Collection<DatumField> fields,
java.lang.String delimiter)
Produces a string containing string representations of the contents
of selected data fields.
|
void |
Suite.exportToFiles(java.io.File directory,
java.util.List<DatumField> fields)
Exports a subset of this suite's data to multiple files, one file
per sample.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,DatumField> |
FileFormat.getColumnMap() |
Constructor and Description |
---|
FileFormat(java.util.Map<java.lang.Integer,DatumField> columnMap,
int headerLines,
MeasType measurementType,
TreatType treatmentType,
java.lang.String separator,
boolean useFixedWidthColumns,
java.util.List<java.lang.Integer> columnWidths,
MomentUnit momentUnit,
FieldUnit fieldUnit)
Creates a new file format with the specified parameters.
|