imap_processing.idex.idex_l1b.get_event_dead_time#
- imap_processing.idex.idex_l1b.get_event_dead_time(l1a_dataset: Dataset, idex_attrs: ImapCdfAttributes) dict[str, DataArray]#
Compute event dead time (in seconds) from packed txhdrblocks.
The dead time is encoded via two bitfields: - dead_blocks_base (6 bits) - dead_blocks_shift (4 bits)
- Dead time is computed as:
dead_time = dead_blocks_base * 2**dead_blocks_shift * DT_BLOCK
where DT_BLOCK is the duration of a single low-rate block.
- Parameters:
l1a_dataset (xarray.Dataset) – IDEX L1A dataset containing the packed idx__txhdrblocks variable.
idex_attrs (ImapCdfAttributes) – CDF attribute manager object.
- Returns:
Dictionary containing the dead_time DataArray (seconds).
- Return type: