data.edit.corr.psap_cal applies the necessary corrections to account for a change in the PSAP flow calibration or to correct for a spot size. Note that the input calibration can only be second order (no higher).

data.edit.corr.psap_cal can operate as either an independent filter (provided the correct input is given) or as part of the correction chain

Command Line Usage

data.edit.corr.psap_cal [--input=A11] [--old=x0,x1,x2 --new=x0,x1,... [--root=1|2]] [--spot=fraction]



Specify what instrument or record base to use as the input, instead of trying to match what's available. Required if the input stream is ambiguous.


Set the “old” calibration on the input data. flow = x0 + raw * x1 + raw2 * x2


Specify the new calibration to change to. flow = x0 + raw * x1 … + rawN * xN


Specify the root to use when backing out a second order “old” calibration. “1” is the “positive” (addition) root, while “2” is the negative one. The other root will be used if the resulting raw flow would be negative.

NOTE: If using a second order input calibration make sure sure this reflects the input range of data.


Set the spot size as a fraction of the default 17.81 mm2.

Example Usage

data.get sgp A11a,A11m 2008:10 2008:11 | data.edit.corr.psap_cal --old=0.054,1.04,0.03 --new=0.1,1.90