-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
51 lines (30 loc) · 1.84 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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