MIDIR is a flexible and modular data reduction toolkit designed to streamline the processing of spectral data from long slit spectrographs. With a focus on usability, reproducibility, and performance, MIDIR provides a graphical user interface and robust backend for handling a variety of input formats and reduction tasks. the goal of MIDIR is to provide a framework that can effortlessly be expanded to work with any long slit spectrograph as a reduction tool.
- Graphical interface for configuring reduction parameters
- Modular design for adding support for new instruments
- Customizable presets for recurring workflows
- Real-time progress tracking
git clone https://github.com/Fabmat1/MIDIR.git
cd MIDIRpip install -r requirements.txtmake
⚠️ You must run make before launching MIDIR to ensure all components are correctly built.
To start the application:
python main.pyThe GUI will guide you through selecting your input files, configuring reduction options, and saving or loading presets.
Read the full instructions on using the GUI here
MIDIR/
├── main.py # Entry point for the application
├── requirements.txt # Python dependencies
├── Makefile # Build script for native components
├── src/ # Source code
│ ├── options.py # Reduction configuration
│ ├── frames.py # Frame processing logic
│ └── ... # Additional modules
└── README.md # Project documentationContributions are welcome! Please open an issue or pull request if you would like to suggest improvements, report bugs, or add features.
This project is licensed under the MIT License. See LICENSE for details.