SET UP Procedures

These set-up procedures are the first things you do when preparing INTEGRAL for the night. Some of the set-up is in fact carried out by the ING technical staff before you arrive at the telescope, the rest by the the support astronomer (SA) and/or the observer. The first part of this page details these latter procedures. Pictures of the various INTEGRAL and WYFFOS units are provided.

First Part

Second Part

First part

Starting the computer system

This is the computer that controls everything to do with the WYFFOS and INTEGRAL setup, that is the wavelength setting, switching on and off lamps, changing the spectral focus, etc. This computer terminal is currently located (in the control room) between those controling the telescope and guiding, and those from which you actually take data. To start up this terminal (which is usually already done for you):
Anything to do with the TCS you should leave alone.


Changing gratings and filters

This is almost always done by your support astronomer, and in any case you must be shown how to do it if your SA cannot be there for all your nights.
  1. To change the gratings or filters of WYFFOS, go up to GHRIL, taking with you the filters and gratings needed. INTEGRAL uses the standard ISIS/WYFFOS gratings. These are usually stored in a cupboard in the dome and marked eg. "1200R". If not there, they may be in the GHRIL room already, alternatively the one you are looking for could be installed in ISIS, in which case you will need help to get it out. The filters are located in a cupboard on the control-room floor of the dome, upstairs in a WYFFOS cupboard, or in GHRIL.
  2. Open the access panels to WYFFOS (the blue enclosure). Open the middle top panel and then the bottom, and be careful of the fibre cables coming from INTEGRAL to WYFFOS, which are behind you on the table as you do this.
  3. Press the clamp control button on the grating mount, which is situated facing you, until light shines red. Keep your hand on the grating, to make sure it does not fall out, and press the button again to release the clamps.
  4. Take out the grating with a strong, but careful, pull. Put it in its box shiny side down.
  5. Mount the new grating. The grating should be inserted with the label (on the back) the right way up (ie.\ so you can read it naturally: but note, check this is also true for the echelle), and again with a firm but careful push.
  6. Press again the clamp control button, to fix the grating clamps in place, holding the grating until this is done. Do not press the button again, even if it is still red.
  7. Check that the whole grating mount is set to the reflection/echelle position, as required. There are two metal squares on the bottom right of the grating holder, with "echelle" and "reflection" stickers. One of these will be connected underneath it, with a metal magnetic screw, to another metal square. Check that the physical position of the grating mount agrees with which one is connected; echelle mode has the mount flush with the blue panel, reflection has the mount a bit back and to the left.
  8. To change the filters you need to open the top blue access panel to your left as you face the grating. The filters are down below you inside. Take them out of their tracks (be careful of fingerprints!), and replace with whichever new ones you want. They will gently click into place. Two can be put in. Note which is where; position B is the one furthest from you, on the left, in which usually we place BG39. The other we usually use is GG495 (see the filter function page, or ask ING if this link is broken).
  9. Close all panels. Turn off the lights and check there are no lights very visible from the various INTEGRAL (or other) panels (eg. the power supplies), if there are, cover them. Go back to the control room and update the new grating and/or filters in lpvs1 with the wchange command, which is detailed below.

The filters are used (i) to cut out any second order overlap of the blue spectrum, this being important only at >8000 Å (ii) to cut down on red light if you wish to take very long lamp flats or arcs, which are much brighter in the red than the blue.


Inputing the grating and filter data (wchange)

Whenever you change gratings and filters, you have to tell the system you have done so. If you do not, the wavelength range will be incorrect, as will be the focus. To check and change it, type, in lpvs1 :

ICL> wchange
option? [0] 1 to update the filters. It will ask what filters you have put in.
option? [0] 2 to update the grating. It will ask which grating is present.
option? [0] 3 to update the grating offset value.
Current grating angle offset is xxxx mdeg (in Dec 2004 is was 6850)
New value? [xxx] 6850

Once you have updated the information, it will be displayed on the mimic of lpvs1. This display mimics the WYFFOS and INTEGRAL configuration (eg. if you move the filters in and out, the mimic will show that), including the current gratings, central wavelength etc. Check that the displayed set-up is correct (eg. that the filters are fully in/out of the beam). Green writing appears when things are changing, blue when they have completed the change.


Slit translation (height) adjustment

Now you have gotten the WYFFOS setup you want, it is time to check that this setup is correct and see what INTEGRAL is giving you. You will need to make sure the fibres are all on the CCD, check that the spectra are as horizontal as possible (although note that they all "fan out" at the ends), check that the wavelength setting is correct, and finally make sure that you have a good spectral focus.

The slit which contains the fibres coming from the bundles must be centred on the CCD in order to get the spectra from all. This step is best carried out with the SB1 bundle, which is the largest, although in fact it fits very easily on the CCD. The dispersion axis is X (lines). The names of the bundles for the purposes of selecting them are:
SB1->STD1, SB2-> STD2, SB3->EXP5, CORONO->STD3 Note the SB3 and CORONO names!.
You should only need to set the slit translation once during your run, nonetheless it is worth checking it each afternoon. The procedure for checking and changing the slit position is:
 

1.  Set up the spectrograph to obtain a flat:


2.  If the fibres all are on the CCD, then you don't need to change anything. If they are not, you will need to use the command, ICL> wslitt xxxx (enter a value between -4500 and 4500).
This will set the WYFFOS fibre slit to a specified position in microns using the slit translation drive (it is an absolute movement, not relative). We suggest movements of about 1000.

A friendly hint for those of you not so familiar with IRAF. If when displaying your images, you find that the edges are not well displayed, you can try using the parameter "fill+" with "display", or
cl> set stdimage=imt8192.


Rotation and tilt of the long camera

The cryostat holding the CCD has to be rotated by 90º compared to its use with WYFFOS. This should have already been done by the ING team. However, as it needs to be rotated each time INTEGRAL and WYFFOS are swapped, it will probably be necessary to check the accuracy of the rotation of the unit. This affects the slope of the spectra on the CCD. In addition, the tilt of the CCD (which moves about 3 axes) affects the spectral focus. It is highly recommended to do this with two people, one in the control room taking data and one in GHRIL, connected to each other by walkie-talkie. If the CCD has been moved about a lot, it can take you a long time to tune it for use with INTEGRAL, so be prepared.

Rotation
If a flat-field image shows that the spectra lie along a slope, rather than being horizontal (although only the central aperture wil be completely horizontal), it will be necessary to rotate the cryostat unit. Go up into GHRIL, where you will see the CCD unit sticking out of the front of the WYFFOS bench. To rotate, you have to loosen (but not undo) the white plastic screws sticking out. You then rotate the unit to the left, by whatever amount you judge necessary (ie. guess). Make sure this does not extend any cables past their length. Then take another exposure, check, and repeat the whole process as necessary. If you can align the spectra such that they are horizontally parallel to 10 pixels or so (ie. the X-coordinate of an arc line on the top spectrum is within this value of that of an arc line on the bottom spectrum), you have done a very good job. Once the rotation is good, remember to tighten all the screws.

Tilt
To adjust the tilt is a more awkward job. This adjustment will be necessary if you need to (i) improve the focus (noticeable if the focus is bad because arc lines will be non-Gaussian or even doughnut-shaped), and (ii) to even out the focus across the CCD as much as possible. The focus can also be changed by moving the fibres bundles in and out, which is detailed in the next section. We recommend that you first roughly set the focus using this second method. You will probably find the focus value somewhere between +1000 and -1000. Then use the method detailed here.

To change the tilt you need to unclip the orange capstans (see here), of which there are three evenly spaced around the CCD unit (one immediately to view, the others more hidden from view). Hold the CCD unit and unclip a particular capstan. This will release a copper-coloured knob, which we usually turn 1/4 or 1/2 at a time (please beware that we found it very difficult to return to a previous focus condition on the CCD when returning to a previous knob position). After turning and reclipping the capstan into place, you can then take an arc exposure and test the resulting image for the focus (detailed below). This job can be fiddly because changing the tilt in one direction (on one of the capstans) will change the focus on particular regions of the CCD, but then changing the tilt on another capstan may change the focus on overlapping parts of the CCD, making it necessary to change of the first tilt direction again.
Note added Dec. 2004: capstan A moves the CCD on a V-shaped plane, capstan C in and out of a hole. We found that the best WYFFOS focus could only be slightly improved for INTEGRAL, but it could a little. Moving capstan A 1/4 of a turn anti-clockwise degraded the focus in the top-left diagonal-half of the 2-CCDs (ie. the 2 CCDs considered as one) and improved it on the bottom-right diagonal-half. Moving capstan C likewise improved the focus on the bottom rows and bottom right of the 2-CCDs, degraded on the top left diagonal-quarter, and left it unchanged elsewhere. Capstan B could not be reached without having to reconfigure the human body.

The aim when adjusting the focus by moving the CCD unit is to improve the fwhm of the arc lines, and to make them as similar as possible over the whole CCD. You will not be able to achieve this 100%, as the focal plane where the CCD is located is not flat; the focus will be worse at the edges (particular the top-left corner). Once you have made a tilt adjustment, take an arc exposure and measure the fwhm (eg. with "imexam") of the line in 9--12 positions evenly spaced over the (2) CCDs. Recording the correspondence between tilt changes and fwhm improvements will allow you to eventually reach a fairly well focused, fairly flat focus image. We recommend using one of the 1200 gratings for this job, and bundle STD1 or 2. STD3 is very much oversampled, hence not useful for measuring focus changes. In the end, you should have vaules of about 3.5--4.5 pixels over the CCD for bundle SB2, 13--14 for unbinned bundle SB3, and unknown for bundle SB1. In the page of pictures is one showing an example of the variable focus over the field of view (for a not very well focused set-up),


Focusing the spectrograph

To fine tune the focus after adjusting the tilt, you can next adjust INTEGRAL. A compromise between the best focus and the most flat (even across the CCD) will again be necessary. The focus is worst at the edges, especially at the top left-hand corner. Use the 1200 grating or the highest resolution grating you plan on using for your observing run (although do check the focus results for all the gratings you will use, it is possible you will require different focus positions). Use bundle SB1 or 2. There are two ways to check the focus, the first is faster, the second somewhat more accurate. Note that to run the INTEGRAL tasks mentioned here, you need to copy the data over to a new directory (as you have no permission to write new files to the directory to which the data is sent from the the CCD). In the page of pictures is one showing an example of the variable focus over the field of view (for a not very well focussed set-up),

1. Take one arc exposure with both Hartmann shutters open (ie. take a normal arc):
Select a  central wavelength of ~6000Å.
ICL> wcenwave 6000
Insert the BG39 filter into the beam (here we assume it is in position B), which allows for nicer arc images.
ICL> wfiltb in
Put eg. SB2 in, in calibration position. If you are focused in one bundle, you are in all.
ICL> isp std2 cal
Turn on the spectral calibration lamps (CuAr+CuNe).
ICL> ila cuar on
ICL> ila cune on
Set WYFFOS to a focus position (eg. nominal=0).
ICL> wslitf 0
This nominal position is with the filter BG39 in the beam. Removing the filter applies an offset of  about -1000 units automatically, so be aware that the focus value on the WYFFOS mimic will change as you move the filters in and out of the beam.

2. Take an exposure
SYS> glance integral 10
view your arc image and select at least 9 evenly spaced positions on the detector where there are spectral lines, which are bright and not blended with other lines (using eg. imexam). Write the (x y) positions of the individual lines into an ascii file, space separated and with line breaks and no blank line at the end.

3. Run the IRAF task int_fwhm1 with this input file, to obtain the fwhm for the selected positions (to run the task, you must first have loaded the "integral" package in IRAF).
NOTE that at present, the entry for "dispaxis" should be 1 for horizontal, not 0. Note also that, to avoid the mean and standard deviation values returned by this script being strongly affected by very bad focus values, it is probalby best to avoid the very corners of the CCD, and later to use a separate inspection to make sure they are not too bad at your finally chosen focus values.

4. You can then change the focus, if necessary, with wslitf, in jumps of about 500. The pixel focus for SB3 (unbinned), SB2, and SB1 are, respectively, about 13-14, 4.0+/-0.4 , and 2.8 pixels.

For the other method, one does the following:

1. Take two arc exposures (using "arc", not "glance", to save the images) with the same grating and bundle as recommended above, one with the right Hartmann shutter in, the other with only the left Hartmann shutter in, eg.
ICL> whart r

2. Follow step 2 of the first method.

3. Run the task int_focus, which measures the Hartmann shifts for each selected position The parameters to input are obvious, and the aim is to get the Hartmann shift values (ie.\ the difference between the focus with left or right Hartmann shutters in) as close to 0 as possible (Note added Dec 2004: at present this IRAF routine will not run, hence you will have to measure and record these values by hand. You could measure the difference in fwhm values between the arc lines resulting from the left and right Hartmann shutter exposures, and aim to have a difference close to 0 ).
Remember to open the Hartmann shutters after the Hartmann test, with the command whart OUT, and turn off the arc lamps.

You cannot avoid some of the fibres having bad focus, normally those at the ends of the CCD. To fine tune your adjustments, we suggest the follow iterative procedure. The focus range can be altered from about -3000 to +3000. Use wslitf to set the focus to, say, -3000 and calculate the Hartmann shifts or mean fwhm and dispersion (over the whole CCD). Record the values in a file. Change the focus successively up to the value +3000 (eg. -3000. -2000, -1500, -10000, -800, -600...), measuring and recording the fwhm/shifts each time. A plot of focus vs. eg. the fwhm (which int_fwhm1 produces) will show a minimum, and it is this value of focus you will want. There may be 2 minimum values (separated by a local maximum); that with the smallest dispersion (scatter over the CCD) will be the best.

You should only need to set the focus the day before your first night, nonetheless it is worth checking it each afternoon.


Wavelength centring

Now can check the wavelength centring and desired wavelength range, for each grating/central wavelength you want for that night. There is no particular need to do it also for each fibre bundle, although it does no harm to check. Currently the left CCD is the red, the right CCD the blue. An example sequence of commands would be:

ICL> isp std1 cal
ICL> ila cune on
ICL> ila cuar on
ICL> wcenwave 5524
ICL> glance integral 10
ICL> ila cune off
ICL> ila cuar off
To check the wavelength range you can extract the spectra (detailed here) or compare your CCD image to an arc-map (some of which are provided here). The former method is faster and usually more than sufficient. (We found it necessary to separate the red and blue parts of the 2-CCD image (CCDs) when doing the wavelength calibration with the iraf task "identify", as the same wavelength-to-pixel function would not fit both.) The arcs are very faint in the blue end of the spectrum, so much so that it is necessary to take a very long arc exposure. You can insert the BG39 filter, to avoid the red arc lines saturating,
ICL> wfiltb in (or wfilta)
remembering to take it out afterward. (If using this arc for your wavelength calibration proper, it is adviced to take one long exposure with the filter and one short without, and to then cut and paste the two images together to create one good quality arc image.) Inspect the arc and adjust the wcenwave appropriately. The wavelength you input to wcenwave may not be the actual wavelength centred on, as the correction between input and set may be a bit off (the wchange command). Keep the image somewhere, as it will allow for a quick comparison against subsequent wavelength re-setttings.

The spectral focus and slit translation only need to be done once per run, but it is worth checking them each afternoon.


SUMMARY

The rest of this page details the set-up procedures that are carried out mainly by the ING technical staff. To summarise the set-up procedures that are carried out by the SA and/or the observer:

In GHRIL by the SA
Ask if all the technical set-up has been carried out, including the rotation of the CCD.
Check that WYFFOS is in the correct position (reflection/echelle).
Install the grating and filters, and place those needed during the run somewhere handy.
Check that the flat and arc lamp switched are on but that there are no bright light sources when the main lights are swtiched off.
In the control room by the SA and observer
Enter the correct gratings etc. into lpvs1 with wchange.
Centre the fibre bundles (slit translation).
Check the camera tilt and focus, probably having to fine tune (which can take a long time).
Focus INTEGRAL via arc exposures.
Finally, check the wavelength centring is good and also that your datafiles (not from "glance" however) have all their headers (incl. those from WYFFOS).
Take some biases and dome flats, trace the latter for use later than night in image reconstruction (see data reduction).

Second part

Focusing and Orientation of the Acquisition Bundle

It is very unlikely that the observer will have to do any of the procedures described in the rest of this manual, as they are carried out by the ING technical staff.

The end of the acquisition bundle that is in front of the TV camera can be focused using the focus knob (on the black box in the lowest of the mechano-like shelves). (see there pictures)
In principle there are two procedures, both requiring the presence of two people: one in the GHRIL room (moving the focus mechanism), the other in the control room, looking at the TV screen to check the results.

(A) Put the acquisition bundle into the calibration position (ICL> isp acq cal). Turn on the white flat lamp (ICL> ila w on): it may be necessary to reduce the brightness compared to its use for taking flat-field exposures. The knob for this is located below where the arc lamps are (see pictures). Take images with the acquisition camera GUI in the control room ("start"). When focused, you will be able to make out the individual fibre cells and see many dust balls. If the focus remains unsatisfactory the following procedure should be used (as a last resort).

(B) The bundle is dismounted from the SP (see INT-IAC-PRC001), and connected to a dedicated focusing system. This system allows a test image (eg. a number) to be seen through the bundle.

In order to aid night-time acquisition, the outline and centre of the bundle should be marked on the TV screen. The TO should know the N-E directions. The the field of view is about 20x30 arcsec.
 


Focusing and Orientation of the Guiding Bundle

The end of the guiding bundle that is in front of the TV camera can be focused using the knob on the black box in the middle of the mechano-shelves of the INTEGRAL instrument. This this should be done in "observation" mode. A similar procedure as described above is followed here, where you adjust the focus and check the resulting image with an exposure using the guide camera GUI ("field"). This image will show two square fields of view next to each other If procedure A is used, the sharpest image of the space between the two bundles indicates the best focus position, and the edges of the squares should be sharp.

It is also possible to adjust the tilt of the fields of view. For this, you need to unscrew whichever fibre bundle (again, see pictures). Take off the round cover, and undo a small screw on the top with a shortened, small Allen key. You can then turn the fibre bundle, and check the results.

In the standard configuration the inner (outer) field is to the night (left) of the TV screen.
 



Rotator Limits

The GHRIL rotator has hardware switches limiting its motion to slightly less than one revolution. The TCS software limits are set about 1 degree inside the hardware limits, constraining the rotator mount position angle to a range of 3 to 358 degrees. If one were to over-rotate, the fibre bundles would be stressed and pulled.
 



Rotator Zero Set

Owing to the fact that the absolute encoder "wraps" at a certain point, it is very important to zero-set the incremental encoder against the absolute at a known physical position. That position is mount PA 180, and it is the "park" position for INTEGRAL. When the rotator is at this position, the "180" label marked on the rotator in indelible ink is at the 12 o'clock position when viewed from the GHRIL bench. Before observing with INTEGRAL it is important to ensure that the rotator is in this position (to within twenty degrees or so is adequate).  The local controls can be used to move it if necessary. The incremental encoder can then be zero-set against the absolute in the usual way. It must not be zero-set without a visual check that the rotator is in the required position.
 



The Guide Star Server -- GSS

The GSS with configurations for WHT INTEGRALINNER and WHT INTEGRALOUTER is selected when you log on to the GSS account and select WHT.
 



Control in Engineering Mode

To start the WYFFOS mimic, log in to lpss3 (from an xterm), with username: wyffos; password: wht_wyffos, and
type

start_eng

To start the INTEGRAL mimic, log in to orion.roque (from an xterm) with username: integral; password: wht_integral, and type

start_eng

The low level Software Users Manual has the reference INT-IAC-MNL-001