Skip to content

gnoir0t/stsci_mos_workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

README file for the JWST pipeline Demo.


Setting up your environment:
First, download the material (jwst_pipeline_mos_workshop.ipynb, inputs, outputs_saved) into your local directory where you will run the demo.
jwst_pipeline_mos_workshop.ipynb can be found here (https://github.com/gnoir0t/stsci_mos_workshop)
inputs: https://stsci.app.box.com/s/yb4npoke3uzdlcdvzcgu5858hka41sku/file/808941511013
outputs_saved: https://stsci.app.box.com/s/yb4npoke3uzdlcdvzcgu5858hka41sku/file/808962409172


Set up a new conda environment (here called 'jwst') with python 3.8 as follow:
$ conda create -n jwst python=3.8


Then, activate the environment and install the jwst pipeline:
$ conda activate jwst
$ pip install jwst==1.1.0


Install 'jupyter' and 'pandas' in your new environment:
$ pip install jupyter
$ pip install pandas


The last step before opening the jupyter notebook demo, is to set up the CRDS cache so that reference files can be directly downloaded from the server when running the different pipeline steps:
$ export CRDS_PATH=$HOME/crds_cache
$ export CRDS_SERVER_URL=https://jwst-crds.stsci.edu


Then, the notebook can be opened with:
$ jupyter notebook jwst_pipeline_mos_workshop.ipynb


Before the workshop, make sure at the very least that you can successfully run the first cell in the notebook to verify that you can import all the necessary packages. Make the necessary installs if need be.


---
Link to live demo (starts at 40min): https://bluejeans.com/playback/s/t5eCJ811L4VVAhZFSvZTxKVJkhzk02WglJjLDTCMEIiN7LkRQhSNnF0IVEaP5v4h


See also:
Official JWST reduction pipeline: https://jwst-pipeline.readthedocs.io/en/latest/index.html

Link to STScI workshop website: https://www.stsci.edu/contents/events/stsci/2021/may/multi-object-spectroscopy-for-statistical-measures-of-galaxy-evolution 
---


2021 May 07 
Gaël Noirot
Postdoctoral Fellow
Saint Mary's University

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published