CGS4 Configs
Up:
CGS4
Handbook
How To Define Configs
CGS4 settings such as grating selection, wavelength, slit orientation,
on chip exposure times and coadds etc. are saved as formatted ascii files,
with a name of your choosing, which can be recalled at any time by the
data acquisition system. These files are called CONFIGS and a single CONFIG
may contain all the information necessary to take object, and the associated
flat, arc, bias and dark observations. This document describes how to use
the UKIRT_PREP system to define CONFIG files off-line, either from JAC
or at the summit. You can run UKIRT_PREP and change or create new CONFIG
files while observing is in progress.
In the following descriptions the menu names are in capitals to make
them easier to read, they are not in capitals on the SMS screens.
Run up UKIRT_PREP, enter your user ID, and use the enter key to go into
the CGS4... menu.
To define a CGS4 CONFIG:
Go into the menu DEFINE_ASTRONOMICAL_CONFIG and use the cursor keys to
move to each menu item and fill them in as follows:
CONFIG_NAME: Type in the name you want to use for this config.
Do not put an extension, or a directory on the name.
GRATING: Use the cursor keys to set the highlight on your desired
grating.
Only two gratings are in CGS4 at any one time - if in doubt your support
scientist or telescope operator can advise which they are. When observing
with the Echelle you should normally select ECHELLE_AUTO_ORDER.
WAVELENGTH: Enter the central wavelength for your spectrum in
microns.
ORDER: Enter the order to use the grating in. If you have selected
ECHELLE_AUTO_ORDER the value here will be ignored.
The CGS4
sensitivity page contains information about the appropriate choice
of orders for the gratings as a function of wavelength. Normally echelle_auto_order
should be used for echelle observations. However see the echelle
section for details of where this is not appropriate. If in doubt
your support scientist can advise you.
CVF_OFFSET_(ECH_ONLY): If necessary enter an offset in microns
for setting the CVF when you are using the Echelle. Normally the default
of 0.0 should be used. This value is ignored for the 40 and 150 l/mm gratings.
The precise calibration of the CVF for Echelle observations can depend
on which row you choose to observe, the order and the slit width. Sometimes
it is desirable to set the CVF to a slightly different wavelength from
the grating to correct for this. Your support scientist will help you check
the CVF setting for your wavelength and order. Enter a non-zero value for
a CVF offset with caution and only after checking flats taken with NO CVF
offset.
POLARISER: The polariser should be NONE for normal spectroscopy.
Select PRISM or GRID if you want to do spectropolarimetry.
You cannot do spectropolarimetry with the echelle and prism.
SLIT_WIDTH: Choose a 1-pixel, 2-pixel or 4-pixel wide slit, by
moving the highlight. There is 1 pixel per resolution element and so a
two pixel wide slit will give reduced, resolution, but can be useful in
poor conditions. The 4-pixel wide slit is not available with the Echelle.
POSITION_ANGLE: Enter the position angle of the slit on the sky
in degrees EAST of North. 0 deg is a N-S alignment. Due to a historcal
reason, CGS4 will not accept angles greater than about 10 degrees. To request
a slit position angle greater than this, you need to specify an angle 180
degrees away. E.g., if you want 45 degrees east of north, you need to specify
-135 degrees as the position angle.
OBJECT_SAMPLING: The sampling required x the number of pixels
to sample over.
There is 1 resolution element per pixel so the detector is stepped to
fully sample. To Nyquist sample your spectra a sampling of 2 should be
selected (ie 2 data points per resolution element). Many users prefer to
slightly over-sample and choose a sampling of 3. To help eliminate bad
pixels from your spectra you can also choose to carry out the sampling
over 2 pixels. This means that each data point in your final spectrum has
been observed with two neighbouring pixels. When the data reduction interleaves
the raw integrations data from a bad pixel is replaced by that from its
good neighbour. Most observers therefore chose sampling of 2x2 or 3x2 for
this reason.
As an example, if you choose sampling of 2x2 the data in the final spectrum
is taken at the following detector positions :
resolution elements | | | | |
detector pos1: array pixels along row 1 2 3 4 5 ...256
detector pos2: array pixels 1 2 3 4 5
detector pos3: array pixels 1 2 3 4 5 &
nbsp;
detector pos4: array pixels 1 2 3 4 5
Except for at the begining and end, or where there is a bad pixel, each
data point in the final array is the average of two measurements. For 2x2
sampling the reduced spectrum has 514 data points on the x-axis.
DATA_ACQUISITION_MODE: Choose ND_STARE, STARE or CHOP, by moving
the highlight with the arrow keys.
For exposure times less than 1 STARE is a little more efficient but
NDSTARE may aso be used. Use ND_STARE for all other observations that do
not require chopping. ND_STARE uses a multiple non-destructive read algorithm
to give optimum read noise performance.
SINGLE_EXPOSURE__SECS: Enter the on-chip exposure time in seconds
to be used for observations of your source. See the optimum
exposure times for a guide to what value to enter here. The minimum
exposure time is 0.12secs for the 256x178 array. For the 256x48 array,
the minimum time is 0.023 secs, and for the 256x32 array, the minimum time
is 0.016 secs.
EXPS/INT_OR_EXPS/CHOPBEAM: Enter the number of exposures to be
coadded into an integration (integ) at each array sample position.
For long exposures on faint sources set object_exp_per_integ to 1. For
very short exposures on a bright source it is a good idea to choose a value
so that the time per integration is a few seconds for best observing efficiency.
CHOP_CYCLES/INTEGRATION This only applies to CHOP mode, and is
ignored otherwise. Enter the number of chop cycles you want before nodding
the telescope (one chop cycles is an object-sky pair).
After filling in all the menu items, use the PF1 key to exit from this
menu - the CONFIG will automatically be saved to disk with the name you
have chosen.
You have now created a config with all the information necessary to
observe an astronomical source. This config can also be used to take a
DARK observation with same exposure time, exposures per integration and
integrations per observation as your object observation. When the data
acquisition is asked to take a dark the detector will be automatically
blanked off. If your CONFIG is for a stare mode observation it can also
be used take a BIAS frame of 3x30x0.12secs.
If you want to take FLATs and ARCs for this CGS4 setup you can now add
the necessary information to the CONFIG that you have already created by
going into the ADD_FLAT/ARC_INFORMATION menu.
Use the arrow keys to move to each menu item and fill them in as follows:
ADD_TO_CONFIG...: enter the name of the config you want to add
the flat and arc information to.
FLAT_SAMPLING: choose 1x1 in most cases
For Echelle users it is now possible for the data acquisition to take
over-sampled flats with the same sampling factor as your object observations
to help remove CVF ripple. There is no need to take oversampled flats
for spectra taken with the 40 and 150 l/mm gratings.
FLAT_LAMP: choose your required lamp. The numbers refer to black-body
apertures. There is a table of flats
of appropriate values as a function of grating wavelength and order.
If you choose off then the calibration unit will not be used - useful for
if you want to observe the sky, or the dome etc for a flat.
FLAT_ACQUISITION_MODE: Normally this will be NDSTARE
FLAT_EXPOSURE_SECS: typically 0.12 - 1 sec. See the table
of flat exposure times.
FLAT_EXP_PER_INTEG: The number of exposures to be coadded into
an integration. typically 50-100.
FLAT_INTEG_PER_OBS: The number of integrations to be taken and
returned to the Vax. Typically 1.
ARC_LAMP: Choose your required lamp. There is a table
of recommended arcs lamps as a function of wavelength. Plots of sample
arc spectra can also be found at that page. If you choose OFF for the lamp
then the calibration unit will not be used - useful for if you want to
observe sky lines for wavelength calibration.
ECHELLE_ARC_CVF_WAVELENGTH: Defaults to the same wavelength as
for your object observation.
Because the wavelength coverage on the array with the Echelle is not
very large it is possible to observe at wavelengths where there are no
lamp lines which would fall on the array. This allows you to select a different
CVF wavelength from the grating, to look at lamp lines in a different order
from your source.
If the value shown here is -1 the default CVF setting - ie the same
CVF wavelength as for your object will be used. If you have just recalled
or created a CONFIG then the default wavelength should appear here.
ARC_ACQUISITION_MODE: Usually NDSTARE
ARC_EXPOSURE_SECS: Typically 0.12 secs with the 40 l/mm grating
and long camera.
ARC_EXP_PER_INTEG The number of exposures to be coadded by the
into an integration at each detector sampling position. Typically 5.
All ARCS are automatically taken with the same sampling and sampling
range as your object observations. Although on-chip exposure times are
short, you should add sufficient exposures so that the time per sampling
position is at least 0.5 secs, to prevent the background increasing due
to the detector translation stage getting warmer.
ARC_INTEG_PER_OBS The number of integrations to be taken and
returned to the Vax at each detector sampling position. typically 1.
When you PF1 out of this menu the ARC and FLAT information is added to
the CONFIG named at the top of the menu and the CONFIG is re-saved to disk.
If you are observing bright sources you will need to create one CONFIG
for each wavelength/order/grating that you are going to observe with.
If you are observing a range of brightnesses of sources you will probably
need to create at least two CONFIGs - one set up for short exposures on
a standard star, and one for background limited observing with long exposures.
There is a system CONFIG called EXAMPLE_K, which is all set up for observing
with the 40 l/mm grating and the long camera at 2.2um. You can recall this
and look at it or use it as template for creating your own. There is a
system CONFIG called ECH_S1 which is set up for observing the 2.122um line
of molecular hydrogen with the Echelle. This CONFIG has the CVF set to
observe krypton lines in a different order, because there are no good arc
lines close enough to the H2 line to use for calibration.
DESCRIPTION OF OTHER CONFIG MENU ITEMS IN UKIRT_PREP
DEFINE_INTERMEDIATE_CONFIG:
This menu allows you to define a semi-engineering CONFIG in which the setting
for each motor in CGS4 is defined explicitly. For example you can manually
select a blocking filter, or change the image rotator angle or focus setting
etc. You should not need to use intermediate configs for normal observing.
If you have a special requirement, your support scientist will help you
to define the necessary intermediate config on your first night because
they are easiest to set up when you can drive the CGS4 motors in real time.
RECALL_CONFIG:
This menu allows you to recall a previously created CONFIG into the DEFINE_
and ADD_ menus so that you can use it as a template for a slightly different
one if you wish. You can recall the system configs example_k and ech_s1
too.
NB The old style of CONFIG created before August 1994 cannot be recalled
or used to take data with the new array.
PRINT_CONFIG:
This menu allows you to print out the CONFIG you have created. It will
also allow you to print and examine the system CONFIGS (eg example_k).
If you choose SCREEN for the print device the CONFIG will be typed a page
at a time underneath the menus.
DIRECTORY_OF_CONFIGS:
This menu allows you to list all or some of the configs you have created.
You can also list the system ones (most of these are currently for engineering).
If days back to look is set to -1 then all configs are listed.
Last Modification Date: 1998/08/11 - Last Modification Author: Tom
Kerr - Original Author: Gillian Wright
Tom Kerr (tkerr)
|