Package | Description |
---|---|
net.talvi.puffinplot |
net.talvi.puffinplot is a library and GUI application for plotting
and analysing palaeomagnetic data.
|
net.talvi.puffinplot.data |
This package contains code to read, store, analyse, and write palaeomagnetic
data.
|
net.talvi.puffinplot.plots |
This package contains classes for plotting palaeomagnetic data.
|
net.talvi.puffinplot.window |
This package contains windows and related GUI classes for PuffinPlot.
|
Modifier and Type | Method and Description |
---|---|
Sample |
PuffinApp.getCurrentSample()
Gets the currently displayed Sample
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Sample> |
PuffinApp.getAllSamplesInSelectedSites()
Gets all the samples in all the sites having at least one selected
sample.
|
java.util.List<Sample> |
PuffinApp.getSelectedSamples()
Gets all the currently selected samples.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<java.lang.Exception> |
Bundle.createBundle(Suite suite,
java.nio.file.Path bundlePath,
Correction correction,
java.util.List<Sample> samples,
java.util.List<Site> sites,
boolean copyJarFile)
Create and save a PuffinPlot data bundle.
|
void |
PuffinApp.modifySelectedSamples(java.util.function.Consumer<Sample> function)
Applies the supplied function to each of the currently selected samples,
then redoes any existing calculations for the selected samples and any
sites that contain them.
|
void |
PuffinApp.recalculateSamplesAndSites(java.util.Collection<Sample> samples)
Redo existing sample and site calculations affected by specified samples.
|
Modifier and Type | Method and Description |
---|---|
Sample |
Suite.getCurrentSample()
Returns the current sample
|
Sample |
MagSusSampleRpiEstimate.getNormalizer() |
Sample |
StepwiseSampleRpiEstimate.getNormalizer() |
Sample |
MagSusSampleRpiEstimate.getNrmSample() |
Sample |
SampleRpiEstimate.getNrmSample() |
Sample |
StepwiseSampleRpiEstimate.getNrmSample() |
Sample |
TreatmentStep.getSample()
Returns the sample of which this measurement was made.
|
Sample |
Suite.getSampleByIndex(int i)
Returns the sample with the specified index.
|
Sample |
Suite.getSampleByName(java.lang.String name)
Returns a sample from this suite with the specified name, or
null
if no such sample exists. |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Sample> |
CoreSections.getEndSamples(int margin)
Returns a set containing all the samples which are near the end
of any section within this group of sections.
|
java.util.List<Sample> |
CoreSection.getSamples() |
java.util.List<Sample> |
SampleGroup.getSamples() |
java.util.List<Sample> |
Site.getSamples()
Returns the samples in this site
|
java.util.List<Sample> |
Suite.getSamples()
Returns all the samples in this suite.
|
java.util.List<Sample> |
Suite.getSamplesByDiscreteId(java.lang.String id)
Return the samples with a given discrete ID.
|
java.util.List<Sample> |
CoreSection.getSamplesNearEnd(CoreSection.End end,
int nSamples)
Returns the topmost or bottommost samples in this core section.
|
Modifier and Type | Method and Description |
---|---|
static PcaAnnotated |
PcaAnnotated.calculate(Sample sample,
Correction correction)
Performs principal component analysis (PCA) on the specified sample.
|
int |
Suite.getIndexBySample(Sample sample)
Returns the index of a specified sample within this suite.
|
void |
TreatmentStep.setSample(Sample newSample)
Sets the sample on which this measurement was made.
|
java.lang.String |
Suite.SiteNamer.siteName(Sample sample)
Determines a site name from a sample name.
|
Modifier and Type | Method and Description |
---|---|
void |
Suite.calculateAmsStatistics(java.util.List<Sample> samples,
AmsCalculationType calcType,
java.lang.String scriptPath)
Calculates and stores AMS statistics using an external script.
|
void |
Suite.calculateSuiteMeans(java.util.List<Sample> selSamples,
java.util.List<Site> selSites)
Calculates Fisher statistics on all the calculated PCA directions for
samples within the suite.
|
void |
Suite.clearSites(java.util.Collection<Sample> samples)
Clears sites for specified samples within this suite.
|
static CoreSections |
CoreSections.fromSampleListByDiscreteId(java.util.List<Sample> sampleList)
Split a sample list into core sections according to the discrete
IDs of the samples.
|
static CoreSection |
CoreSection.fromSamples(java.util.List<Sample> samples)
Returns a core section containing the specified samples in the
specified order.
|
void |
Suite.mergeDuplicateSamples(java.util.Collection<Sample> samples)
Within the supplied collection of samples, any two or more samples which
have the same depth or discrete ID will be merged into a single sample.
|
void |
Suite.mergeDuplicateTreatmentSteps(java.util.Collection<Sample> samplesToMerge)
Within each of the supplied samples, merges any TreatmentStep objects
which have the same treatment type and treatment level.
|
static void |
Sample.mergeSamples(java.util.List<Sample> samples)
Merges the demagnetization data of the supplied samples into the first
sample in the list.
|
void |
Suite.removeSamples(java.util.Collection<Sample> samplesToRemove)
Removes the specified samples from this suite.
|
void |
Suite.removeSamplesByTreatmentType(java.util.Collection<Sample> removableSamples,
TreatmentType treatmentType)
For every sample in the supplied collection: remove the sample from
this suite if any of its treatment steps has the specified treatment
type.
|
void |
Suite.setNamedSiteForSamples(java.util.Collection<Sample> samples,
java.lang.String siteName)
Explicitly sets a site for the specified samples.
|
void |
Suite.setSiteNamesByDepth(java.util.Collection<Sample> samples,
double thickness)
Sets site names for a continuous suite according to the depth of the
samples.
|
void |
Suite.setSiteNamesBySubstring(java.util.Collection<Sample> samples,
java.util.BitSet charMask)
Sets site names for samples according to chosen characters from the
sample names.
|
void |
Suite.setSitesForSamples(java.util.Collection<Sample> samples,
Suite.SiteNamer siteNamer)
Sets sites for supplied samples according to a supplied site namer.
|
Constructor and Description |
---|
Site(java.lang.String name,
java.util.List<Sample> samples)
Creates a site containing the specified samples.
|
Modifier and Type | Method and Description |
---|---|
Sample |
PlotParams.getSample()
Returns the sample to plot.
|
Sample |
PlotPoint.getSample() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Sample> |
PlotParams.getAllSamplesInSelectedSites() |
java.util.List<Sample> |
PlotParams.getSelectedSamples() |
Modifier and Type | Method and Description |
---|---|
void |
SampleClickListener.sampleClicked(Sample sample)
Invoked when a sample is clicked in a plot.
|
Modifier and Type | Method and Description |
---|---|
Sample |
MainGraphDisplay.getCurrentlyPrintingSample()
If printing is in progress, return the sample which is currently being
printed.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Sample> |
SampleChooser.getSelectedSamples()
Returns all the currently selected samples.
|