SWIMS Imaging Data Reduction Pipeline, written in Python, processes SWSB*/SWSR* FITS data to produce a final stacked image in a standard manner.
File | Contents |
swsred_20210131.tgz | Python core scripts (swsred/*py) and configuration/utility files |
&ref(): File not found: "swsred_calib_bpm_20210131.tgz" at page "Data_Reduction/Imaging_Data_Reduction/material"; | Bad pixel mask files |
&ref(): File not found: "swsred_calib_mosaic_20210131.tgz" at page "Data_Reduction/Imaging_Data_Reduction/material"; | Mosaic parameter files |
&ref(): File not found: "swsred_calib_flat_s18a_20210131.tgz" at page "Data_Reduction/Imaging_Data_Reduction/material"; | Flat files for S18A data |
swsred_calib_flat_s18b_20210131.tgz | Flat files for S18B data |
&ref(): File not found: "swsred_calib_flat_s20b_20210131.tgz" at page "Data_Reduction/Imaging_Data_Reduction/material"; | Flat files for S20B data |
SWSRED requires the following python packages and astrOmatic softwares.
Package | Tested version | |
Python | 2.7.17 | 3.7.7 |
astropy | 2.0.9 | 4.0 |
numpy | 1.16.6 | 1.18.1 |
scipy | 1.2.1 | 1.4.1 |
matplotlib | 2.2.3 | 3.1.3 |
sextractor | 2.19.5 | 2.19.5 |
scamp | 2.7.8 | 2.7.8 |
swarp | 2.38.0 | 2.38.0 |
Also, Internet connection is required during reducing data to access Pan-STARRS/2MASS catalogs.
% cd SWSRED_DIRECTORY % tar xvf swsred_20210131.tgz % tar xvf swsred_calib_bpm_20210131.tgz % tar xvf swsred_calib_mosaic_20210131.tgz % tar xvf swsred_calib_flat_s18a_20210131.tgz % tar xvf swsred_calib_flat_s18b_20210131.tgz % tar xvf swsred_calib_flat_s20b_20210131.tgz
% export PYTHONPATH="SWSRED_DIRECTORY:${PYTHONPATH}
SWSRED has no documentations yet, but you can use 'swsred/reduce_all.py' as a quick&dirty tutorial to learn how to use the software.
Be sure to use SWSRED within python (e.g., in ipython or jupyter, etc.), not via the command line, for example as follows.
% ipython > import swsred.make_file_lst > import swsred.flat_field > > file_lst = swsred.make_file_lst.make_file_lst(["SWSB00000001.fits", "SWSB00000011.fits"]) > swsred.flat_field.flat_field(file_lst["in"], file_lst["ff"])
Please send your bug reports or questions to konishi__at__ioa.s.u-tokyo.ac.jp.