public class PreReferenceMonitor
extends java.lang.Object
Constructor and Description |
---|
PreReferenceMonitor()
No instances allowed.
|
Modifier and Type | Method and Description |
---|---|
static double[] |
correctForAllWavelengths(double[] sampleSpectrum,
double[] sampleWavelengths,
double[] sampleDarkSpectrum,
double[] monitorSpectrum,
double[] monitorWavelengths,
double[] monitorReferenceSpectrum,
double[] monitorDarkSpectrum)
Corrects the provided sample spectrum based on any change in the
monitor spectrum.
|
static double[] |
correctForIntegratedIntensities(double[] sampleSpectrum,
double[] sampleDarkSpectrum,
double[] monitorSpectrum,
double[] monitorWavelengths,
double[] monitorReferenceSpectrum,
double[] monitorDarkSpectrum,
double startingWavelength,
double endingWavelength,
int integrationMethod)
Corrects the provided sample spectrum based on any change at a particular
monitor spectrum wavelength.
|
static double[] |
correctForSingleWavelength(double[] sampleSpectrum,
double[] sampleDarkSpectrum,
double[] monitorSpectrum,
double[] monitorWavelengths,
double[] monitorReferenceSpectrum,
double[] monitorDarkSpectrum,
double referenceWavelength)
Corrects the provided sample spectrum based on any change at a particular
monitor spectrum wavelength.
|
public PreReferenceMonitor()
public static double[] correctForAllWavelengths(double[] sampleSpectrum, double[] sampleWavelengths, double[] sampleDarkSpectrum, double[] monitorSpectrum, double[] monitorWavelengths, double[] monitorReferenceSpectrum, double[] monitorDarkSpectrum)
sampleSpectrum
- Sample spectrum to be correctedsampleWavelengths
- Wavelength array for spectrometer acquiring
sample spectrumsampleDarkSpectrum
- Dark spectrum from same spectrometer that
provided sample with same acquisition parametersmonitorSpectrum
- Latest spectrum from the reference monitor
spectrometermonitorWavelengths
- Wavelength array for the reference monitor
spectrometermonitorReferenceSpectrum
- Spectrum taken from same spectrometer as
monitorSpectrum while in a reference condition with matching
acquisition parameters. The difference between this spectrum and
the monitorSpectrum will dictate the correction applied to the
sampleSpectrum.monitorDarkSpectrum
- Spectrum taken from the same spectrometer as
the monitorSpectrum while in a dark condition with matching
acquisition parameters.public static double[] correctForSingleWavelength(double[] sampleSpectrum, double[] sampleDarkSpectrum, double[] monitorSpectrum, double[] monitorWavelengths, double[] monitorReferenceSpectrum, double[] monitorDarkSpectrum, double referenceWavelength)
sampleSpectrum
- Sample spectrum to be correctedsampleDarkSpectrum
- Dark spectrum from same spectrometer that
provided sample with same acquisition parametersmonitorSpectrum
- Latest spectrum from the reference monitor
spectrometermonitorWavelengths
- Wavelength array for the reference monitor
spectrometermonitorReferenceSpectrum
- Spectrum taken from same spectrometer as
monitorSpectrum while in a reference condition with matching
acquisition parameters. The difference between this spectrum and
the monitorSpectrum will dictate the correction applied to the
sampleSpectrum.monitorDarkSpectrum
- Spectrum taken from the same spectrometer as
the monitorSpectrum while in a dark condition with matching
acquisition parameters.referenceWavelength
- Wavelength from the monitor spectrometer to
check for changes in intensity.public static double[] correctForIntegratedIntensities(double[] sampleSpectrum, double[] sampleDarkSpectrum, double[] monitorSpectrum, double[] monitorWavelengths, double[] monitorReferenceSpectrum, double[] monitorDarkSpectrum, double startingWavelength, double endingWavelength, int integrationMethod)
sampleSpectrum
- Sample spectrum to be correctedsampleDarkSpectrum
- Dark spectrum from same spectrometer that
provided sample with same acquisition parametersmonitorSpectrum
- Latest spectrum from the reference monitor
spectrometermonitorWavelengths
- Wavelength array for the reference monitor
spectrometermonitorReferenceSpectrum
- Spectrum taken from same spectrometer as
monitorSpectrum while in a reference condition with matching acquisition
parameters. The difference between this spectrum and the monitorSpectrum
will dictate the correction applied to the sampleSpectrum.monitorDarkSpectrum
- Spectrum taken from the same spectrometer as
the monitorSpectrum while in a dark condition with matching acquisition
parameters.startingWavelength
- Beginning wavelength for the integral rangeendingWavelength
- Ending wavelength for the integral rangeintegrationMethod
- Which integration algorithm to apply. For
legal values, see the constants in the IntegrationMethod class
in the SPAM numericalmethods package.Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.