-
Notifications
You must be signed in to change notification settings - Fork 24
C. Step 1: Transform XML
The first stage of data reduction visible to SQUID users is the transformation of the XML file into ‘condensed and reformatted’ analysis-specific arrays of "total counts at peak" values. For each analysis in a SQUID-book, this array has Nscans rows, and comprises 5 columns per species:
- time_stamp_sec at peak (harvested directly from XML)
- total ion counts at peak (calculated below)
- +/-1sigma value for total ion counts at peak (calculated below)
- total SBM counts at peak (calculated below)
- trim_mass at peak (harvested directly from XML)
In a SQUID-book, these arrays are presented in a worksheet with a name very similar to that of the source XML file, and at the right-hand end of each array are analysis-specific parameters harvested from the XML file, some of which (e.g. deadtime, sbm_zero) are used in early-stage calculations.
In brief, moving from the parsed XML file to this worksheet involves determining (on a peak by peak basis) for each set of 10 constituent integrations:
- a robust mean value for SBM counts, and
- a mean (either robust or arithmetic, depending principally on count-rate) and +/- 1sigma value for species-specific counts, incorporating a correction for deadtime in the ion counter (i.e. electron multiplier).
These calculations (which commence with the Preliminary calculations described above) are documented in detail here.
In Calamari, these calculations culminate in the Calamari CSV file ‘SQUID_01…”, which is an array matching as closely as possible the ‘condensed PD/XML’ worksheet of a SQUID-workbook (which usually takes the name of the machine-data file created by the SHRIMP control software). The CSV has one row per scan, and 5 columns per species (one for each key attribute of ‘total counts at peak’, as described in detail here).
Value-by-value comparisons of the Step 1 outputs from SQUID 2.50 and Calamari for a specified demonstration XML file are documented at G. Synthesis of Steps 1–4: Cell-by-cell comparisons of SQUID 2.50 and Calamari output.
Next: D. Step 2: Background- and SBM zero-corrections, and 'total CPS' columns