/hstcos_dark_data

Preparation of the data for analyzing COS darkrates in D3.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

COS Dark Analysis

Scripts and data contained here are used to prepare the underlying data of the Darkrate Analysis site.

HST data download and re-calibration.

The input FITS datasets must be retrieved through the MAST data portal. Download them to the current directory.

Software installation:

  1. Setup an anaconda environment, and install the STScI provided software suite.
    Instructions can be found here

  2. Install the subsolar branch of CalCOS .

# Calibrated the FUV data
bash recal_fuv.sh

# Calibrate the NUV data
bash recal_nuv.sh

Data extraction, combination with solar data, and output to JSON

python collate_info.py

The prepared dataset orbital_info.json can be supplied to the site mentioned above, either locally or by uploading to the github repository.