Package d3.calibration
Class CalibrationInfo
java.lang.Object
d3.calibration.CalibrationInfo
Information for a specific calibration type. 
 Will hopefully be able to unpack the cal xml in a rational way
 into these objects.
- Author:
 - Doug Gillespie
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfloat[]apply_cal(float[] rawData) Apply this calibration to an aarry of data.float[]Apply this calibration to an array of data.findCalibrationInfo(String string) Find a calibration info.getNewChild(String childName) Makes a new child of this calibration when the xml cal file is being scanned. 
- 
Field Details
- 
tref
 
 - 
 - 
Constructor Details
- 
CalibrationInfo
 
 - 
 - 
Method Details
- 
apply_cal
public float[] apply_cal(float[] rawData) Apply this calibration to an aarry of data.
Attempts to replicate the functionality of Marks Johnson's matlab function apply_cal(...)- Parameters:
 rawData- unprocessed data from swv file.p-t-- Returns:
 - calibrated data
 
 - 
apply_cal
Apply this calibration to an array of data.
Attempts to replicate the functionality of Marks Johnson's matlab function apply_cal(...)- Parameters:
 rawData- unprocessed data from swv file.p-t-- Returns:
 - calibrated data
 
 - 
getNewChild
Makes a new child of this calibration when the xml cal file is being scanned.- Parameters:
 childName- Name of xml node / calibration info.- Returns:
 - new calibrationinfo.
 
 - 
findCalibrationInfo
Find a calibration info. Multi layered informs can be searated by a ':' character ('.' didn't work for some unknown reason.- Parameters:
 string-- Returns:
 
 
 -