Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • DS9 7.2 callable from the command line (might work on earlier versions).  You can install manually or with MacPorts.
  • XPA for allowing commands to be given to DS9 from the command line.  If you are on a mac and have trouble installing XPA manually, try using Fink or MacPorts to install it.
  • Python 2.6 or 2.7 (untested on other versions).  Easiest to install with pip or easy-install.
  • Scipy.  Easiest to install with pip or easy-install.
  • Matplotlib.  Easiest to install with pip or easy-install.

...

Setting up input files.

For each target you want to make a finder chart for, you must set up an input file in the /input/ directory.  Your basic input file will look like this:

...

And here we get to the meat of the code, making a finder chart!  The green outline is the Slit View Camera FOV.  The box in the center is the slit.  The Blue compass shows the directions of North and East.  The rest of this manual will go into detail about creating finder charts.

The following part of the input file is where you select your target:

#--------------------Target Info------------------------------------------
135.0 #Sky Position Angle (Start north and go east, N=0, E=90, S=180, W=270 degrees, Default = 90 deg slit oriented east-west)
2 #1=Input object as RA & Dec., 2=Input object name
HD 219485 #Object Coordinates in RA & Dec [hh:mm:ss.ss<space>+/-hh:mm:ss.s], or Object Name

The first line sets the Position Angle (PA) of how you want the instrument's slit pointed at your target on the sky.  The PA goes clockwise from the North where  N=0, E=90, S=180, W=270 degrees.  The default rotation of the instrument is such that the the slit is oriented East to West, so normally the PA = 90 degrees.  WARNING: You should only rotate the instrument +/- 90 deg. from the default position to avoid entangling wires and hoses, so please try to limit your PA to 0-180 deg.  When rotating IGRINS, you will use the encoder on the instrument rotator.  See the Rotation PA -> Encoder table for IGRINS to convert PA to the number on the encoder.  The PA you set will be reflected in how the sky is imaged in the FOV of the slit view camera, as shown below: