public class MedianDestructiveField
extends java.lang.Object
TreatmentStep
objects. This is the AF field required to
reduce the magnetic moment of a sample to half of its original
value. Despite the name of the class, it will calculate a
‘median destructive’ value for any quantifiable treatment type, so
it can also provide a ‘median destructive temperature’.
It is unlikely that a particular step will reduce the sample's magnetic moment to precisely half the original value, so the MDF value is calculated by linear interpolation between the two closest data points on either side of the halfway line.
The MDF is not guaranteed to be well-defined for all samples, since some samples may never reach half the original intensity. The intensity of others may fluctuate and cross the midpoint multiple times; in this case only this first crossing is considered.
Modifier and Type | Method and Description |
---|---|
static MedianDestructiveField |
calculate(java.util.List<TreatmentStep> steps)
Calculate and create a median destructive field (or temperature) value
for the supplied data.
|
double |
getDemagLevel()
Returns the treatment level at which the intensity of the sample's
magnetic moment reached half of its initial value.
|
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 |
getIntensity()
Returns half of the intensity of the sample's initial magnetic moment.
|
boolean |
isHalfIntReached()
Reports whether this sample reached half its initial intensity.
|
java.util.List<java.lang.String> |
toStrings()
Returns the parameters as a list of strings.
|
public static MedianDestructiveField calculate(java.util.List<TreatmentStep> steps)
null
will be returned.steps
- a list of data representing successive demagnetization steps
for a single samplepublic double getDemagLevel()
public double getIntensity()
public boolean isHalfIntReached()
true
if this sample reached half its initial intensitypublic static java.util.List<java.lang.String> getHeaders()
public static java.util.List<java.lang.String> getEmptyFields()
public java.util.List<java.lang.String> toStrings()
getHeaders()
.