Data Reduction Pipeline for Imaging Data

Overview

SWIMS Imaging Data Reduction Pipeline, written in Python, processes SWSB*/SWSR* FITS data to produce a final stacked image in a standard manner.

Reduction Flow Chart
flowchart.png

Download

FileContents
fileswsred_20210131.tgzPython 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.tgzFlat 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

Installation

prerequisites

SWSRED requires the following python packages and astrOmatic softwares.

PackageTested version
Python2.7.173.7.7
astropy2.0.94.0
numpy1.16.61.18.1
scipy1.2.11.4.1
matplotlib2.2.33.1.3
sextractor2.19.52.19.5
scamp2.7.82.7.8
swarp2.38.02.38.0

Also, Internet connection is required during reducing data to access Pan-STARRS/2MASS catalogs.

Install SWSRED

  1. Download SWSRED files.
  2. Extract files on a directory you want.
    % 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
    
  3. set PYTHONPATH to SWSRED_DIRECTORY.
    % export PYTHONPATH="SWSRED_DIRECTORY:${PYTHONPATH}
    

Usage

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"])

Questions & Answers

Known bugs

Changes

Version 2021.01.31

Contact

Please send your bug reports or questions to konishi__at__ioa.s.u-tokyo.ac.jp.


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS