Skip to content

Setting up Enviornments

Bill Freeman edited this page Apr 28, 2015 · 14 revisions

Setup

In your .cshrc file add something like (please use trailing slashes):

setenv BMEP_MOSDEF_2D /Users/yourname/MOSDEF/output/2D/
setenv BMEP_MOSDEF_1D /Users/yourname/BMEP/output/1D/
setenv BMEP_MOSFIRE_DRP_2D /Users/yourname/mosfire/output/2D/
setenv BMEP_MOSFIRE_DRP_1D /Users/yourname/mosfire/output/1D/
setenv BMEP_MOSFIRE_DRP_MASKS /Users/yourname/mosfire/output/
  • BMEP_MOSDEF_2D - Where the output of the program the MOSDEF group uses for 2D reduction is. This should be a folder with like 2000+ 2d spectra in it.
  • BMEP_MOSDEF_1D - Where the output of the extraction program will be. This folder will soon contain many 1D spectra in it. This folder should also have several files that are outputs from the reduction (starinfo.txt, 00 extract info.txt, 00 np info.txt). This is also where the serendipitous file should go (newmasks_slitobjs.dat)
  • BMEP_MOSDEF_MASKS - This env is no longer used since all the info we need is saved in the headers.

  • BMEP_MOSFIRE_DRP_2D - This is where the FOLDERS are that the DRP output. Each one of these has a reduced mask with the std and eps files
  • BMEP_MOSFIRE_DRP_1D - This is where the output of the extraction program will go. NOTE if you do not set this, the output will go within the folder that is in the 2D directory called 1d extracted. This is how I prefer to have my folders set up.
  • BMEP_MOSFIRE_DRP_MASKS - The program will look for "BMEP_MOSFIRE_DRP_MASKS[maskname]\[maskname]_SlitList.txt"

Note: These environment variables OVERRIDE the path_to_output keyword

Note: There SHOULD be a trailing slash on all of them.

Clone this wiki locally