For spectroscopic flats in the zJ grism you can use the Wolfram lamp that is integrated in the A&G box. Spectroscopic flats in the HK grism are better done as dome flats due to an otherwise present broad absorption feature. The following is for the zJ grism.
In order to bring the light from the lamp to the detector, we need to move a mirror in the light path, include a neutral density filter, and switch the Wolfram lamp on. This is done in this order by the three commands
SYS> agcomp
SYS> compfilta i (with i=4 or 6 for ND=1.3 or ND=3.0)
SYS> complamps w
In the schematic display of the A&G box the changes you have done are drawn. In this representation the light from the sky enters from above, and LIRIS sits below the lower exit (not shown).
Now bring LIRIS into spectroscopic mode and do not forget to insert the slit mask you want as well (these slit masks and grisms are currently available). Take N spectroscopic flats.
SYS> lspec <grism name> <slit mask name>
SYS> multflat liris <N> <int time> "Specflat"
Once you are done, switch off the lamp, remove the neutral filter and move the mirror out of the beam so that LIRIS can see the sky again:
SYS> complamps off
SYS> compfilta clear
SYS> agmirror out
Hint: The A&G Box can also be configured by means of the Instrument Control Box, instead of from the command line. To this end, in the A&G menu, select the Main ND Filter you desire. In the A&G Observer window, (un-)select the "W" for the Wolfram lamp, then click the gears symbol next to it to switch the lamp on (off). In the Mirror Control section, select Acq/Comp to move the mirror in, or Out to remove it again. Do not forget to remove the ND filter once you are done with the flats.
Guidelines for specflat exposure times:
| Grism |
Slit |
Light source |
Neutral density filter |
Exposure time |
| lr_zj |
l1 |
W |
ND=1.5 (ID-Nr: 5) |
1.8 s |
| lr_hk |
l1 |
Dome flat lamps |
- |
1 s |
| mr_k |
l1 |
Dome flat lamps |
- |
6 s |
| hr_k |
l1 |
Dome flat lamps |
- |
3.5 s |
This gives you a level of about 20 000 counts. Scale the exposure times according to the slit width (1" in this example).
|