Tutorial¶
Running SPyderWebb¶
In order to be able to run SPyderWebb you will need to install the JWST calibration pipeline. It is best to create a python environment for this.
Step 1: Download Data¶
Download your data from MAST.
You want all of your _rate.fits files and the _msa.fits file which contains the information about
what shutters the sources are in.
Each exposure and detector should have its own directory. That’s what SPyderWebb expects. For example:
jw02609006001_03101_00002_nrs1/
jw02609006001_01_msa.fits
jw02609006001_03101_00002_nrs1_rate.fits
jw02609006001_03101_00002_nrs2/
jw02609006001_03101_00002_nrs2_rate.fits
jw02609006001_03101_00003_nrs1/
jw02609006001_03101_00003_nrs1_rate.fits
jw02609006001_03101_00003_nrs2/
jw02609006001_03101_00003_nrs2_rate.fits
# m71/
from spyderwebb import reduc
reduce.process('jw02609006001_03101_0000?_nrs?/*_rate.fits',outdir='red')
# m71/red/
obsname = 'jw02609006001_03101'
out=reduce.reduce(obsname,clobber=True,noback=True)
This will create an output file called spectrum_doppler.fits.