astro_reduction_tool is a command-line progam for astro data reduction.
- Python 3.10.8+
- Miniconda 22.11.1+
- Ccdproc 2.3.2+
- Astropy 5.2+
install ccdproc using
conda install -c conda-forge ccdproc
install astropy using
conda install astropy
This program needs a specific data format. (year_month_day/object_objectid) and there must be subfolder with flats named 'flat'
To start use:
python astro_reduction_tool.py -d main_folder_dir -md master_dark_dir -mb master_bias_dir
Argument | Required | Description |
---|---|---|
-d | Yes | The path to the directory |
-mb | Yes | The path to the master_bias |
-md | Yes | The path to the master_dark |
-mf | No | The path to the master_flats. if you already made master_flats and you don't want to make new ones just add -mf dir-to-flat-subfolder |
Make sure to replace main_folder_dir, master_dark_dir, and master_bias_dir with the actual file paths on your system. For example:
python astro_reduction_tool.py -d 2023_01_05/ -md ../dark_mode3_usb50_gain0_offset10_temp-5.fit -mb ../bias_mode3_usb50_gain0_offset10_temp-5.fit
Imports are organized with isort
.
Code is formatted with black
.
Master_flats are saved in flat folder.