public class CoreScope extends CoreBase
Constructor and Description |
---|
CoreScope() |
Modifier and Type | Method and Description |
---|---|
void |
allocateBuffers(int numberOfPixels) |
double[] |
processSpectrum() |
static double[] |
processSpectrum(double[] sample)
This method copies the sample spectrum into a new object.
|
static double[] |
processSpectrum(double[] dark,
double[] reference,
double[] sample)
This method copies the sample spectrum into a new object.
|
void |
setBufferElements(int index,
double darkPixel,
double referencePixel,
double samplePixel) |
verifyArrays, verifyArrays, verifyArrays
public void allocateBuffers(int numberOfPixels)
public void setBufferElements(int index, double darkPixel, double referencePixel, double samplePixel)
public static double[] processSpectrum(double[] dark, double[] reference, double[] sample)
dark
- is the dark intensity of light for the given λ range.reference
- is the reference intensity of light for the given
lambda range.sample
- is the sample intensity of light for the given λ
range.public double[] processSpectrum()
public static double[] processSpectrum(double[] sample)
sample
- is the sample intensity of light for the given λ
range.Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.