# Post-shipment (to WSMR) checkout

## System Configuration
- `foxsi-4matter` [v0.1.0](https://github.com/foxsi/foxsi-4matter/releases/tag/v0.1.0).
- `foxsi4-commands` [`5bd6018`](https://github.com/foxsi/foxsi4-commands/commit/5bd60187197612d40b2124a51fd7740df3c524ed).
- DE was the latest update from Minami san. I think his last change was reducing the startup delay for the software from 1 minute to 5 seconds or so. This version was used in the pre-shipment checkout.
- CMOS software version was modified by Shimizu san on Jan 18. This version was used in the pre-shipment checkout.

## Tests
### `run1`
- CdTe configuration: Full readout mode, 0V bias.
- CMOS configuration: default exposure time.
- Got data from Timepix, CMOS, but no CdTe. 
- Conducted shortly after system was turned on (thermal effects on CdTe system should not be significant yet).

#### Folder structure
(see [here](https://docs.google.com/spreadsheets/d/14oV7idhW3nJLKCINS6H_Eq3sqLpr8gnCW0qFMmNseZY/edit?usp=sharing) for detector numbering scheme).
- `run1/`
    - `cdte1.log` - contains event data for `no2022_01`
    - `cdte2.log` - contains event data for `no2021_07`
    - `cdte3.log` - contains event data for `no2021_05`
    - `cdte4.log` - contains event data for `no2021_06`
    - `cmos1_pc.log` - contains photon counting data for CMOS 1
    - `cmos1_ql.log` - contains quick-look data for CMOS 1
    - `cmos2_pc.log` - contains photon counting data for CMOS 2
    - `cmos2_ql.log` - contains quick-look data for CMOS 2
    - `housekeeping.log` - contains RTD data
    - `formatter_termina.txt` - stdout of formatter 

#### DE issue
- Still outstanding: CdTe system shows all write pointers (at `0x01eb 0318 + detector_offset`) as `0x0000 0000` when first running the software. 
- Believed this would be solved by implementing SpaceWire write command verification, but not so.

### `run2`
- CdTe configuration: Full readout mode, 0V bias.
- CMOS configuration: default exposure time.
- Got data from Timepix, CMOS, and CdTe. 
- Conducted after `run1`, but still shortly after system was turned on (thermal effects on CdTe system should not be significant yet).

#### Folder structure
(see [here](https://docs.google.com/spreadsheets/d/14oV7idhW3nJLKCINS6H_Eq3sqLpr8gnCW0qFMmNseZY/edit?usp=sharing) for detector numbering scheme).

- `run2/`
    - `cdtede_logs/` - contains log and PPS log data from CdTe DE for this test.
    - `from_new_logger/` - testing logging with new GSE logger. Doesn't like CMOS.
        - `29-1-2024_16/39/17/`
            - `catch.log` - contains unparsed data
    - `from_old_logger/`
        - `cdte1.log` - contains event data for `no2022_01`
        - `cdte2.log` - contains event data for `no2021_07`
        - `cdte3.log` - contains event data for `no2021_05`
        - `cdte4.log` - contains event data for `no2021_06`
        - `cmos1_pc.log` - contains photon counting data for CMOS 1
        - `cmos1_ql.log` - contains quick-look data for CMOS 1
        - `cmos2_pc.log` - contains photon counting data for CMOS 2
        - `cmos2_ql.log` - contains quick-look data for CMOS 2
        - `housekeeping.log` - contains RTD data
        - `formatter_termina.txt` - stdout of formatter 