cal
|
OUT:
|
Calibration factor
|
cal_err
|
OUT:
|
Calibration error
|
offset
|
OUT:
|
Uncalibrated offset
|
offset_err
|
OUT:
|
Uncalibrated offset error
|
data_type
|
OUT:
|
Data type of uncalibrated data
|
By defining cal = 0.50 and offset = -200.0 and applying the calibration formula, the calibrated dataset iy[] returns to its original form as a floating point array:
FORTRAN
integer function dsgcal(cal, cal_err, offset, offset_err, data_type)q
real cal, cal_err, offset, offset_err
integer data_type