|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.wisc.ssec.mcidas.CalibratorFactory
public final class CalibratorFactory
Utility class for creating Calibrator
instances.
Method Summary | |
---|---|
static Calibrator |
getCalibrator(int id,
int[] cal)
Get an appropriate Calibrator for the sensor id provided. |
static Calibrator |
getCalibrator(int id,
int srcType,
int[] cal)
Get an appropriate Calibrator for the sensor id provided. |
static boolean |
hasCalibrator(int id)
Check if there is a Calibrator implemented for a sensor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final Calibrator getCalibrator(int id, int[] cal) throws CalibratorException
Calibrator
for the sensor id provided.
This assumes a RAW source data format. See the McIDAS Users Guide
Appendix C
for a table of sensor ids.
id
- Sensor id from the directory blockcal
- Calibration block used to initialize the Calibrator
Calibrator
with a source calibration
type of RAW.
CalibratorException
- on an error initializing the object.public static final Calibrator getCalibrator(int id, int srcType, int[] cal) throws CalibratorException
Calibrator
for the sensor id provided.
See the McIDAS Users Guide
Appendix C
for a table of sensor ids.
id
- Sensor id from the directory blocksrcType
- the source data type from the directory blockcal
- Calibration block used to initialize the
Calibrator
Calibrator
.
CalibratorException
- on an error initializing the object or if the
sensor is unknown.public static final boolean hasCalibrator(int id)
Calibrator
implemented for a sensor.
id
- Id of the sensor from the McIDAS Users Guide
Appendix C
Calibrator
, false
otherwise.
see The McIDAS Users Guide
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |