background image

October 30, 1997

7

4

Writing Scripts and Taking Mosaics

Any sequence of qcdcom commands can be entered into a text file (using your favorite editor) and
executed by qcdcom. The command to do this is

source

file, where file is the filename of the

command list. This allows some routine types of observations to be performed automatically, for
example taking a sequence of images in J, H, and K. By entering a sequence of filter move, exposure
time, and go commands into a file, taking a JHK sequence can be done with one

source

command.

Each command is printed along with its file name and line number before it is executed. If some
command in the script fails, execution will stop and the line number where it stopped is printed. A
script may be re-started at a particular line by adding the beginning line as the second argument to
script. Thus “

source jhk3 5

” will begin execution at line 5 of the file jhk3.

Scripts can be most useful for taking mosaics, by using special commands to move the telescope
and communicate with the guider. If you are taking a sequence of unguided exposures, such as for
standard stars, the telescope may be moved directly; the command to do this is

tel aoffset

RA

Dec, where RA and Dec are offsets from the base position (88”) or current telescope position (CFHT,
0.6m). These commands can be interspersed with go commands, filter changes, etc. in a script to
perform whatever pattern you wish.

You can also perform “guided” offsets, either directly (CFHT) or through communication with Atlas
(88”). This is done via the

tel goffset

RA Dec command, which stops the guider, moves the

telescope and guide probe, and turns the guider back on. On the 88" this communicates with Atlas
and MiniOtto over the ethernet to perform the guider movements, and on CFHT commands are sent
over a serial cable to the TCS.

As an example, a potentially useful script is one that takes data for a standard star. This might be a
sequence of exposures in a dithered pattern (using alternating tel aoffset and go commands), followed
by a filter change, followed by another dither pattern, and so forth. Several example scripts may be
found in the home directory of obs/irgroup. Another useful script is one that takes a standard dithered
pattern of a field (e.g. a 13-point diamond). This can be simply a sequence of alternating tel goffset
and go commands, or a multiple-filter sequence.

If you prefer, it is also possible on the 88" to run mosaics from Atlas. To do this, turn pause and
CCD modes off and QUIRC mode on on Atlas. After initiating the mosaic program on Atlas, the
qcdcom

tel gnext

command tells Atlas to move to the first mosaic pattern position and waits for

it to finish moving. The

go

command can then be issued, then another

tel gnext

causes Atlas to

move to the next mosaic position. This can be repeated until the mosaic is complete, and any other
qcdcom commands (except telescope motion, do not use

aoffset

!) can be interspersed. Note that

if Atlas encounters an error, an alert box will pop up and Atlas will cease talking to qcdcom until the
alert is cleared. This will most likely cause the script to fail, and the mosaic will need to be re-started
from the middle.

5

Filters and Focusing

There are now two filter wheels in QUIRC with eight positions each. Because two OPEN positions
(position 5 on both wheels) are required and one position (wheel 2 slot 8) holds a polarizer, thirteen

Summary of Contents for QUick Infrared Camera

Page 1: ...Observer s Guide for QUIRC K W Hodapp J L Hora M R Metzger University of Hawaii October 30 1997...

Page 2: ......

Page 3: ...ith QUIRC The qcdcom program controls taking exposures and writing data in FITS format to disk operates the moving parts of the instrument such as the shutter filter wheel and pupil mask communicates...

Page 4: ...ation differences for integration times less than 1 second Therefore short exposures should be avoided particularly when exposing dome flats it is far better to dim the lights with the domelight dimme...

Page 5: ...elow assume a PSF of 0 5 arcsec FWHM Table 2 QUIRC Sensitivity UH 2 2m Telescope Filter Point SRC Mag Mag arcsec2 Jy ADU 1 sec J 18 6 17 9 1 052e 6 H 17 8 17 1 8 295e 7 K 16 2 15 5 9 622e 7 H K 18 6 1...

Page 6: ...ted image display capability A separate program should be used to display the data One option is to use the viewfits program vf This is a display program developed by Tony Denault at the IRTF that dis...

Page 7: ...ode is running The command to download the current standard DSP code is the following df quirc Occasionally the download will fail if the camera is in some undetermined state and a reset will need to...

Page 8: ...rash for any reason the parameters it reads in may be old and you may need to set them again Typically only resetting the file number is necessary 3 3 Taking exposures For each object you are observin...

Page 9: ...telescope and guide probe and turns the guider back on On the 88 this communicates with Atlas and MiniOtto over the ethernet to perform the guider movements and on CFHT commands are sent over a seria...

Page 10: ...6 H K dual 1 8 m 2 794 20 6 6 1 7 H2BP23 2 12 m 0 914 2 1 7 1 8 2260BP60 2 260 m 2 794 20 6 8 2 1 1560BP120 1 56 m 9 2 2 1710BP120 1 71 m 10 2 3 1 989BP50 1 989 m 11 2 4 1 506 60 1 506 m 12 2 6 1 107...

Page 11: ...th auto or the shutter will not open Also note that you should always do only one filter DARK followed by exactly one filter BACK always in pairs otherwise the filter wheel will get lost and require a...

Page 12: ...chop image and displayed in vf Therefore the observer can take focus frames acquire and center the object etc without saving all the images as separate data files This avoids filling the disk with use...

Page 13: ...P initialization commands In general you will need to initialize the DSP processor in the Leach electronics after power up or after a DSP reset because its cold reset state is not appropriate for runn...

Page 14: ...rform first data read of double correlation pair store image in memory 4 Turn off output amplifiers 5 Open the shutter and wait for a predetermined exposure time 6 Close the shutter 7 Turn on output a...

Page 15: ...e double correlated read on off Controls whether the device is read out before and after the shutter opening or only after If reading before and after the difference between the two are taken and this...

Page 16: ...o stay open slightly longer The exposure time recorded in the header however will reflect the true amount of time the shutter was open filter hnum commandi Set filter This command selects the filter s...

Page 17: ...fp q940811 go h num i Start exposure Go is the command to take an exposure As described above according to the param eters which are set go may reset the chip open the shutter and close it a predeterm...

Page 18: ...resulting image to a disk file set hparami n Set parameter Certain program parameters can be set or unset with this command To set a param eter for example save one issues the command set save To uns...

Page 19: ...direct access to the DSP computer hall hnloopi Read Hall sensors read the Hall effect sensors nloop times The filter wheel 1 sensor is displayed and depending on the position of the switch either the...

Page 20: ...en data is used as a seed for a random number generator and 65536 words of random data are sent per loop diag l3 hcnt fr cg data i Timing board loopback test Loopback test with timing board in place M...

Reviews: