New Spectrograph

Here are notes on how to build a new spectrograph from scratch or to add a new mode.

Entirely New

  1. Build a new name_of_spectrograph.py file in pypeit.spectrograph
  2. Fuss with the Detector object; one per detector - Set datasec, oscansec in the raw frame, i.e. as viewed on Ginga - Or generate a custom reader if these are variable
  3. Set custom parameters

Near-IR

If this is a near-IR instrument, you may wish to turn off overscan subtraction. See Gemini_GNIRS for an example.