specialsoss

https://img.shields.io/pypi/v/specialsoss.svg https://img.shields.io/travis/hover2pi/specialsoss.svg Documentation Status https://img.shields.io/coveralls/github/hover2pi/specialsoss.svg Updates

SPECtral Image AnaLysis for SOSS

Authors: Joe Filippazzo, Kevin Stevenson

This pure Python 3.5+ package performs optimal spectral extraction routines for the Single Object Slitless Spectroscopy (SOSS) mode of the Near-Infrared Imager and Slitless Spectrograph (NIRISS) instrument onboard the James Webb Space Telescope (JWST).

Additional resources:

Extracting Spectra from SOSS Observations

The headers in JWST data products provide almost all the information needed to perform the spectral extraction, making the path to your data the only required input. To extract time series 1D spectra, simply do

# Imports
import numpy as np
from specialsoss import SossObs
from pkg_resources import resource_filename

# Run the extraction
data = resource_filename('specialsoss', 'files/soss_example.fits')
obs = SossObs(data)

That’s it! Now we can take a look at the extracted time-series spectra:

obs.plot()
SOSS Extraction