FXTSoft v2.0 documentation
fxtpical-caldb-tables-20261101 help
Command help for fxtpical-caldb-tables-20261101 in the FXTSoft v2.0 release.
Implementation identifier: fxtpical_caldb_tables_20261101.
This reader adds optional, table-driven FF calibration stages. It does not change the fitted calibration values or the existing PW/TM correction path.
Supported calibration inputs
| CALDB content | Runtime behavior |
|---|---|
| No TY or GAINMAP extensions | Use the historical correction path. |
Legacy TYALIGN TY5V1/TY5V2 and paired TYROW_G0/TYROW_GRP | Use the retained legacy adapters and their established fixed-node/group semantics. |
| Schema 3 TY tables | Read group masks, nodes, coefficients, physical validity and fit support from CALDB metadata. Unknown schema/model or incomplete tables fail explicitly. |
Optional GAINMAP schema 1 | Apply the declared post-grade mapping only when detector, FF mode and validity interval match. PW/TM inputs remain on their existing path. |
Correction order
- Sum split-pixel CHANNEL values into event group totals and apply the selected gain/CTI plus existing common corrections.
- For TY-enabled FF CALDBs, apply
TYROW_G0/TYROW_GRP, then grade-relativeTYALIGN, then the common static G0 correction. - Apply
GAINMAPonce to the corrected group total, then redistribute the total to pixels by raw CHANNEL fraction.
The optional GAINMAP stage is independent of the existing GAINCORR static table. Its calibration coordinate is declared in the table and is applied once by PICAL.
Time handling and output provenance
Schema 3 first selects a physical segment using VSTART/VSTOP, then applies the declared fit-support policy to TSTART/TSTOP. The default hold policy records observed time, used time, support bounds, segment and status in output HISTORY and separate TYALIGN/TYROW header cards. This keeps a support clamp visible.
Output provenance identifies TYALIGN schema/model/hash and TYROW schema/models/hash separately. GAINMAP schema, coordinate, hash and application status are recorded separately. No combined TY version label is used.
Schema 3 is for the existing supported correction equations with CALDB-supplied parameters and domains. It is not an executable formula language; an unsupported model or schema is rejected rather than silently treated as absent.