A set of modules for processing data from the Interstellar Dust Experiment (IDEX) aboard NASA's Interstellar Mapping and Acceleration Probe (IMAP) mission.
IDEX-Decom provides a pipeline for processing Interstellar Dust Experiment (IDEX) telemetry from raw Level-0 packets to Level-2C science products.
IDEX-Decom/
├── L0->L1A/
│ └── idex-decom/ # packet parsing and Rice decompression
├── L1A->L1B/
│ └── idex-decom/
├── L1B->L2A/
│ └── idex-decom/
├── L2A->L2B/
│ └── idex-decom/
├── L2B->L2C/
│ └── idex-decom/
└── vectorize_submodules.sh
Each stage converts data to a higher level product and contains scripts, sample Data/, optional HDF5/ outputs, plotting utilities, and a local README describing usage.
- Packet handling –
idex_packet.pyandscience_tool.pyparse XTCE-defined packet binaries and decompress Rice-coded waveforms. - Rice compression –
rice_decode.pyanddavid_rice_decode.pyimplement 10- and 12-bit Rice/Golomb decoding. - OASIS integration –
read_from_ois.pyconnects to the OASIS socket server to record raw telemetry streams. - Support files –
idex_combined_science_definition.xmldefines packet structure, dependency lists are inrequirements.txtandidex.txt, andvectorize_submodules.shturns submodules into normal directories.
-
Set up an environment
python -m venv venv source venv/bin/activate pip install -r L0->L1A/idex-decom/idex.txt
Ensure the
output_from_ois/directory exists for captured telemetry. -
Run the Level-0 to Level-1A example
python L0->L1A/idex-decom/science_tool.py Data/example_packet.binExplore equivalent scripts in subsequent folders to generate higher level products.
- Review
idex_combined_science_definition.xmland LASP'slasp_packetsdocumentation for the XTCE packet format. - Examine advanced tools such as
SNR_Calculator.py,time2mass.py, and mapping utilities inimap_processing. - Learn external libraries like
cdflibfor CDF output and the Rice compression algorithm used throughout the pipeline.
These resources should help newcomers contribute to or extend the IDEX data processing pipeline.