Difference between revisions of "SPUPNIC"

From SAAO TOPS Wiki
Jump to: navigation, search
(Dome flat recipe)
(Dome flat recipe)
Line 313: Line 313:
 
# Take e.g. 15 flats by populating the "# Exposures" box accordingly.
 
# Take e.g. 15 flats by populating the "# Exposures" box accordingly.
 
# Once you're done, go back to the TCS and:
 
# Once you're done, go back to the TCS and:
  * turn off the flatfield lights ("Flat Lamp ON" button - turns yellow/OFF)
+
* Turn off the flatfield lights ("Flat Lamp ON" button - turns yellow/OFF)
  * switch the dome to auto (press "Man")
+
* Switch the dome to auto (press "Man")
  * park the telescope (TARGET menu - click "Park")
+
* Park the telescope (TARGET menu - click "Park")
  * close the mirror covers (CLEAR --> DOME --> Mirror CLOSE)
+
* Close the mirror covers (CLEAR --> DOME --> Mirror CLOSE)
  * If you're finishing here, switch the dome back to manual and turn off telescope power (click Telescope Power is ON --> red/OFF), or if you're opening to observe leave dome in auto and power on.
+
* If you're finishing here, switch the dome back to manual and turn off telescope power (click Telescope Power is ON --> red/OFF), or if you're opening to observe leave dome in auto and power on.
 
   
 
   
  

Revision as of 17:36, 11 October 2023

SpUpNIC User Manual

NOTE: There is a memory leak in the Quick-Look software, which causes the software's memory consumption to grow larger each time a new spectrum is loaded. We are working to fix this. In the meantime, the work-around is to restart the Quick-Look GUI at least daily, or more often if required. See instructions below for how to do this.

  • If you find this webpage already loaded in the browser, please refresh the page to ensure that it is current!

SpUpNIC Pointing Restrictions

Please note that SpUpNIC extends far enough from the bottom of the telescope that the instrument could potentially collide with the north pier when pointing east between declinations of -60 and -80. The situation is aggravated by the fact that the telescope can only be used on the east side of the pier. The result is quite severe pointing restrictions in the east, unfortunately for a declination range that includes the Magellanic Clouds! One is able to auto-slew into that dec range up to an hour angle of -2, and extremely careful manual pointing done from the console on the telescope floor can gain an additional half an hour. The absolute pointing limits are thus -2.5 hours for declinations between -65 and -75.

When pointing automatically from the control room, please take note of where the cyan star appears on the TCS crash-limits plot when you start the slew. If the telescope would need to move through that problem region, abort the auto-slew and rather point manually, using the console on the dome floor.

Pointing limits.jpg

SpUpNIC Call list

SpUpNIC.jpg

SpUpNIC Instrument software: Carel van Gend - 076 818 1312

Rear-slit-viewer camera & images: Steve Potter - 072 246 7368

Commissioning/general issues: Lisa Crause - 082 498 4780

Telescope software issues: standby **113 (021 201 5178) or 9118

Electronics Issues: standby **103 (021 201 5179 ) or 9117

Mechanical Issues: standby **104 (021 201 5180 )

Introduction

This is the current user manual for SpUpNIC (Spectrograph Upgrade - Newly Improved Cassegrain), the recently upgraded spectrograph at the 1.9-m telescope's Cassegrain focus. See the SpUpNIC paper presented at the 2016 SPIE Astronomical Telescopes and Instrumentation conference in Edinburgh for more information about the instrument, and please cite the SpUpNIC refereed science paper published in the SPIE Journal of Astronomical Telescopes, Instruments and Systems.
Annotated.jpg

The spectrograph's collimator and camera optics have been replaced, the instrument has a new detector, all of the mechanisms are now under PLC control and the software (both for instrument control + quick-look data reduction) has been completely re-written. There is also a rear-of-slit camera that makes it easier to acquire targets and focus the telescope properly.

The instrument has two sub-systems, the PLC sub-system (controlling everything that moves) and the detector sub-system (controlling the data acquisition process). The drivers for these sub-systems run as stand-alone processes, and the user interface runs as a separate process on top of these. Typically, users will connect to the graphical user interface (GUI), although certain diagnostic functions may be accessed using the command line interfaces.

We hope that you enjoy using SpUpNIC and that you will provide the instrument team with feedback and suggestions by emailing lisa_at_saao.ac.za.

Change Log

  • October 2023: The new autoguider that forms part of the instrument selector to accommodate both SpUpNIC and SHOC has been commissioned. There are slight changes to the operation of the autoguider, and observers now needs to connect to a new TCS PC (tcs74v4.suth) to use the telescope with SpUpNIC.
  • 27 September 2017: SpUpNIC back in service after fixing a bad connection within the pre-amp electronics. On 8 September the detector began producing only zeros and after extensive trouble-shooting, the detector package was removed from the instrument (on 13 September) and sent down to Cape Town for further investigation and subsequent repair. A total of 12 scheduled nights were lost to this extremely serious failure (although the two observers affected worked with SHOC instead).
  • 3 August 2017: Completed extensive testing of various gratings (particularly G7) in order to characterise the ghosting issues reported previously.
  • 29 July 2017: Moved the SpUpNIC utility panel to improve the routing of the cables and air hose for the pneumatics to reduce the pointing restrictions in the south east. New software limits will soon be implemented to take advantage of the increased clearance between the spectrograph and the north pier.
  • 10 April 2017: G7 replaced with an almost identical new one that does not have fingerprints or scratches! The blaze of the new one is at 5000A, rather than 4600A, since the latter is no longer available from the manufacturer. The 5000A blaze is also a better match for the peak response of this CCD.
  • 30 March 2017: New functionality added to the GUI for the rear-of-slit (Lodestar) camera to allow background subtraction. There is now also a slider bar to adjust the brightness of the display, this works best with background subtraction applied.
  • 20-25 January 2017: Engineering run during which the cryostat was re-aligned to the rest of the instrument in an attempt to remove what was thought to be coma in the images. Eventually concluded that the faint tails extending redward of arc lines are an optical ghost - a series of reflections thought to arise as light bounces between the CCD and the field-flattener lens that forms the cryostat window. There is no simple fix for this so the effect will just have to be quantified.
  • 21 December 2016: Initial documentation for Quick-Look GUI added: https://topswiki.saao.ac.za/index.php/Quick_Look_Tool
  • 6-13 December 2016: Another intensive week of software refinement! Highlights include the introduction of: the ability to send target coordinates from the SpUpNIC target catalogue file to the TCS (both for pointing and for downloading finder charts), a new exposure tab for automatically running sequences of exposures (e.g. arc-object-arc procedures), a more streamlined Hartmann routine, as well as the general tidying up of various minor software issues. Also the start of comprehensive documentation of the SpUpNIC Control and Quick-Look GUIs.
  • 9 November 2016: Installed a new grating lock that restores full software control of the grating mechanism, while maintaining stability of the grating angle. The user can now change gratings and optimise the wavelength range by changing the grating angle via the SpUpNIC Control GUI (without having to call for technical support).
  • 5 August 2016: The cryostat lost vacuum and warmed up. We're not sure what caused this, but suspect that the cryostat valve had not been closed tightly enough and so the vacuum gradually degraded. Leak-testing revealed nothing so we pumped the cryostat over night and the observers were back on-sky a night later.
  • 30 July 2016: A new version of the Quick-Look GUI has been installed and seems to be working reliably, please report any issues to Lisa Crause (lisa_at_saao.ac.za) and David Gilbank (gilbank_at_saao.ac.za).
  • 28 July 2016: The SpUpNIC optics fogged up due to a massive condensation event in the 1.9-m dome. A temporary dry nitrogen purge was introduced into the instrument to drive out the moisture - fortunately no real harm was done.
  • 1 June 2016: Disabled the input field and Go button for changing the grating angle in the instrument control GUI (to accompany the hardware changes described below). Please contact the standby electronics technician if you wish to change either the grating angle or the grating.
  • 26 May 2016: A mechanical brake was installed on the grating mechanism to eliminate play in the system (this will be replaced with an electro-mechanical solution to be developed over the coming months).
  • 25 May 2016: The inner surfaces of the instrument covers were coated with resin to stop the generation of fine fibre-glass dust.
  • 5 May 2016: The optics in the lower box were cleaned to get rid of the fine dust that was being liberated by the instrument covers.
  • 16-23 December 2015: The SpUpNIC software evolved substantially during this week. The wiki has been adapted to reflect these and other subsequent changes.

Quick Start

This is a basic overview of taking data; if you're unsure about anything, the Advanced User Guide section contains more information.

  • Log into the SpUpNIC PC. If observing remotely, connect to spupnic.suth.saao.ac.za by VNC. Username & password available from support staff.
  • If the instrument Control and Quick-Look interfaces are not running, they may be started from the panel on the left edge of the left screen. The SpUpNIC Control GUI is started with the absorption spectrum icon Control GUI.jpg, and the Quick-Look GUI from the emission spectrum icon Quicklook GUI.jpg.
  • Ensure that the grating you require has been installed by a technician - observers must not handle the gratings (see the grating change instructions in the Start of Run Section), and then set the grating to the required angle.
  • Check that the required filter is in the beam (or left open if required).
  • Run a Hartmann routine (see the Advanced User Guide) to establish the best focus for the spectrograph.
  • The required spectrograph camera focus should be set automatically after a Hartmann run - check that this is the case.
  • Set the slit width.
  • Select the exposure type (ARC, BIAS, SCIENCE, FLAT, TEST).
  • If appropriate, set the exposure time and number of exposures.
  • Load your target catalogue file.
  • Select a target from the target catalogue file so that the object name and coordinates will go into the fits header, and can be read by the TCS.
  • If taking a science image, acquire the target, and ensure that it is visible through the slit and in focus.
  • If taking an arc, ensure that the arc mirror is in-beam, and the required arc lamp is on.
  • Select the SCIENCE exposure type after taking an arc, this will turn off the arc lamp and remove the arc mirror.
  • Start the exposure with the Expose button.
  • The countdown timer will show the time remaining, and the progress bar will first show the exposure completion state, and then the readout state.
  • The software remembers settings used previously for given exposure types (e.g. 3 x 600 sec for a SCIENCE observation, or 25 x 30 sec for FLAT) so keep an eye out for this before you hit Expose for a new setup.

SpUpNIC User Interfaces

SpUpNIC's displays are labelled "Monitor 1" and "Monitor 2", and are located to the right of the TCS monitor in the warm room. To launch the SpUpNIC Control GUI, click on the absorption spectrum icon in the menu bar on the left-hand-side of Monitor 1. All of the spectrograph sub-systems (e.g. grating angle, slit width, arcs, exposures, guide mirror) are controlled from this GUI.

There's an accompanying SpUpNIC Quick-Look GUI https://topswiki.saao.ac.za/index.php/Quick_Look_Tool , which displays each spectrum after readout and allows basic extraction and wavelength calibration. To launch the SpUpNIC Quick-Look, click on the emission line icon below the absorption spectrum icon on the left-hand edge of Monitor 1.

The Instrument Schematic

Normal operations are performed in the Main View tab of the SpUpNIC Control interface.
Control Arc.png
Control Science.png
On the right-hand-side is a graphical representation of the instrument, which shows the light path through the various components controlled by the GUI. You can click on the guide mirror, arc mirror, rear-of-slit mirror and Hartmann shutters to move them in and out of the beam, and on the arc lamps and slit illumination to switch them on and off. A blue border surrounding the graphic indicates that the spectrograph is configured for acquisition or calibration, i.e. some component is in the beam that would obstruct its path to the science detector. If the system is correctly set up for a science exposure, there will be no coloured frame and the red light-path will reach the detector.

Detailed Users Guide

  • The SpUpNIC Control interface has a number of tabs:
    • The Main View tab, in which you'll spend most of your time.
    • The RoScam tab, which will later include the rear-of-slit GUI.
    • The Advanced tab, used at the start of the run, and which may be used if things go wrong (e.g. to reset or initialise mechanisms).
    • The Engineering View tab, which displays various diagnostic settings and allows one to check the CCD and cold finger temperatures.
    • The Config tab, which you should not need for the most part, although this is where the temporary software lock for the grating is now.
  • The panel on the right is an interactive schematic representation of the instrument. Components with in/out or on/off states can be toggled by clicking on the relevant part of the image. The light path is shown in red so that one can easily verify the instrument configuration.

Start Of Run

Setting name and run number

In the SpUpNIC Control GUI:

  • At the start of your run, click on the Advanced tab. In the Observer Info box, enter your name and increment the run number by +1 from the number that was in there for the previous user. In the past, one would determine the run number by looking in the old triplicate observing log book, but with remote observing and electronic logs in use these days, the last logbook entry may not give the appropriate run number. The Quick-Look GUI keeps a detailed electronic log based on fits header info, but issues have arisen with it mixing up exposures, so users are advised to keep their own logs (e.g. a spreadsheet).

Setting up the grating

  • Observers must not handle the gratings - only trained and authorised technicians may do so. Before your run you will receive a google form to submit to request your required grating be installed for you. If you need a grating change during your run, you must contact the standby technician.
  • SpUpNIC suffered severe grating instability problems that were incrementally reduced through various interventions, the last of which was the introduction (in early November 2016) of a pneumatically-actuated lock to clamp the grating mechanism at the user-defined angle. The lock is under software control and can thus be de-activated by the user in order to adjust the grating. We are delighted to report that the lock has eliminated the last of the play within the grating mechanism! Flexure remains inevitable for a Cassegrain spectrgraph as it swings about the sky on the back of the telescope. Therefore we still recommend that users bracket their target observations with arcs (taken immediately before and after the object exposures) so as to calibrate out any remaining shifts due to flexure.
  • The angles listed in the second last column of the table below will get one into the range where lines are visible for a given grating, then adjust the grating angle (decrease/increase the angle to go more red/blue) to obtain the desired wavelength range - consult the sample arcs in the right-hand column of the table and the arc maps linked to below.
  • Click on the following links for Arc Maps for G4, G5, G6 and G7. Otherwise, here are additional sets of maps for CuNe (for G5) and CuAr (for all the other gratings) with many more lines identified.
Grating Lines/mm Blaze (A) 2-Pix (A) Range (A) Star Filter Arc Lamp Arc Filter ~ Angle Arc Map
4 1200 5100 1.3 1250 None CuAr None 3
G4wc.jpg
5 1200 6200 1.1 1130 GG495 CuNe GG495 -4
G5wc.jpg
6 600 5100 2.7 2780 None CuAr None for angle=13, but BG38 for angle<12 (wavelength range beyond ~6800A) 13
G6wc.jpg
7 300 5000 5.4 5550 None CuAr BG38 16
G7wc.jpg
8 400 8500 4.4 4130 GG495 CuAr GG495 12
G8wc.jpg
9 830 7800 1.7 1750 GG495 CuAr GG495 0
G9wc.jpg
10 1200 10000 0.95 960 GG495 CuAr GG495 -9
G10wc.jpg
11 600 10000 2.5 2600 GG495 CuAr GG495 7
G11wc.jpg
12 300 10000 5.5 5630 GG495 CuAr GG495 14
G12wc.jpg
13 2160 5000 0.54 580 None CuAr None -8
G13wc.jpg
  • If a grating is mounted in the spectrograph, it will be indicated at the bottom of the Instrument Setup pane, e.g. gr8 in the Grating field shows that Grating 8 is installed. Above that is the Grating angle field.
  • If you need a different grating, you must ask the standby technician to change it for you.
  • Once you have the correct grating in the spectrograph, enter an approximate starting angle (see the grating table above) in the Grating angle box and click Go.
  • Take an arc and check the wavelength range on the Quick-Look extraction that will appear shortly after the image is read out. Note that it is advisable to double check the arc by displaying the spectrum in e.g. pyRAF, as the Quick-Look plot doesn't always display the arc lines at the end of the wavelength range.
  • If the spectrum is too blue (red), decrease (increase) the grating angle and repeat the arc to check the new wavelength range - iterate until happy with the range.
  • Note that angle changes <0.05 degrees are too small, so make a larger change and then go back the other way to achieve very small shifts (the software takes care of backlash in the system by ensuring that the desired value is always approached from the appropriate direction).
  • The software knows which order-blocking filters should be used with each grating, but it is still a good idea to check that the correct filter is selected (refer to the table above). If necessary, select the required filter from the drop-down menu at the bottom of the Instrument Setup pane and click Go.
  • Please note that grating 13 was a late addition and has not yet been incorporated into the software. This means that the SpUpNIC control software will not report that grating 13 is mounted, and will not know which science filter or arc lamp should be used - users will have to select these themselves based on the table above. The Quicklook software will not be able to identify the arc lines, nor necessarily plot them on a sensible scale - it may be necessary to zoom in on the spectrum in the Quicklook software to see the lines.
  • Note that grating 6 does not require an arc filter when centred on 5100A (grating angle of 13), which extends to ~6500A. If you need to include redder wavelengths than this (angles ~12 and below), you will encounter very bright arc lines from ~6800A and will need a BG38 filter in the arc beam to avoid saturation.

Arc lamp and filter selection

  • Two arc lamps are permanently mounted in the spectrograph - you no longer need to swap out a lamp - but the arc lamp filters are still changed manually. These will be changed for you by the duty technician when you submit your google form requesting your grating/arc lamp/filter setup. Filter requirements are listed in the table above.
  • The software now decides, based on which grating is in use, which lamp to switch on once ARC is selected from the Exposure type drop-down list on the Exposure/CCD info pane.
  • Alternatively, click on the appropriate lamp icon in the instrument schematic, where 1=CuNe and 2=CuAr. This will switch on the lamp and insert the arc mirror into the beam. Having taken the arc, simply click on the arc mirror icon in the schematic to remove the arc mirror and switch the lamp off. One can also control the lamps using the Lamp/Mirror Settings pane of the SpUpNIC Control GUI. Click the appropriate Change state button to switch the desired lamp on/off, and to move the arc mirror into the beam to take an arc exposure.

Daily Daytime Tasks

Bias Frames

The spectrograph camera does not have a shutter, so even though bias frames are zero second exposures, you still need to take them when no light can reach the detector. Ideally while the mirror cover is still closed, or at least not while pointing to an object, or while an arc lamp or the slit illumination etc is on. The bias level on SpUpNIC is stable, but these frames take next-to-no time, so just snap a bunch of them (say 25?) every day.

Dome flat recipe

Dome flats.jpg

Dome flats give a measure of the pixel-to-pixel sensitivity variations over the CCD. The dome's white flat-field screen is not perfectly evenly illuminated by the lamps on the top end of the telescope, but the light goes through the slit, gets collimated, diffracted and re-focussed, so that is not a problem. We do not use the sky for this as you would get spectra of the Sun!

  1. First check the observing floor for ladders or obstructions. If you're observing remotely you can use the webcam, or if you're in the dome just pop upstairs.
  2. On the TCS, click the grey "FLOOR" button near the top to change the telescope control to "TCS".
  3. Click the red "Telescope Power is OFF" button on the top left. Telescope power will switch on, the button will turn green, and the various subsystem statuses will be populated.
  4. Click the red "Man" button on the top right to switch the dome to auto.
  5. Click "CLEAR", then "DOME" and select "Mirror open" from the drop down menu.
  6. Click "CLEAR" then "TARGET" and a range of buttons will appear. Click on the "Dome Flat" button toward the right. This will slew the telescope to point to a panel on the ceiling, painted white. Once the telescope has stopped moving, the dome will switch to manual.
  7. Above the date and time info, click the yellow "Flat Lamp OFF" button. It will turn red and the lamps on the top end of the telescope should now be on.
  8. On the SpUpNIC Control GUI, make sure there are no mirrors in the light path (no blue border around the spectrograph schematic) and take some trial FLAT exposures to determine the exposure time required to reach ~40k counts. The lamps are quite red, so blue settings (e.g. G4) will need long exposures. It's fine to crank the slit wide open to let more light in (you do not care about resolution here).
  9. Take e.g. 15 flats by populating the "# Exposures" box accordingly.
  10. Once you're done, go back to the TCS and:
  • Turn off the flatfield lights ("Flat Lamp ON" button - turns yellow/OFF)
  • Switch the dome to auto (press "Man")
  • Park the telescope (TARGET menu - click "Park")
  • Close the mirror covers (CLEAR --> DOME --> Mirror CLOSE)
  • If you're finishing here, switch the dome back to manual and turn off telescope power (click Telescope Power is ON --> red/OFF), or if you're opening to observe leave dome in auto and power on.


Focusing The Spectrograph - running a Hartmann sequence

Before each night's observations, you should focus the spectrograph. This is done using a scripted Hartmann sequence run from the SpUpNIC Control GUI. The process moves a shutter halfway into the beam, takes an arc exposure; then blocks the other half of the beam and takes a second arc exposure. The arc lines are then cross-correlated to measure the shift between the two. The procedure is repeated at a range of camera focus positions until the line shifts are minimised, indicating best focus. This procedure may be performed manually, but it is typically run automatically, as follows:

  • Take an arc to check that the grating angle is correct and to get an idea of the required exposure time (aim for at about 1000 counts in the weaker lines): in the Exposure/CCD info pane on the Main View tab, select "Exposure type" = ARC from the drop-down menu, and enter e.g. 10 seconds in the "Exposure time" box.
  • If satisfied with the arc obtained, locate the Hartmann focus sequence panel in the Instrument Setup pane on the Main View tab of the SpUpNIC Control GUI (if not, adapt the exposure time and grating angle as required before proceeding).
  • Select the Auto tab and enter the parameters for the Hartmann sequence: 3.6 for the initial focus position, 0.05 for the focus increment and 9 for the number of steps - with the system still set up as it was for the test arc (lamp on, arc mirror in beam), click Run.
  • The slit width will automatically be set to 1.05" and the exposure type will switch to HARTMANN, then the GUI will grey out and not be available during the focus sequence (although you will see the Current Camera Focus field changing and the Hartmann shutters indicate Moving.
  • On completion of the sequence: in the SpUpNIC Quick-Look GUI, in the log box to the right of the spectrum display window, you will see a list of focus positions and their corresponding pixel shifts. Best focus corresponds to a shift of zero.
  • Enter the best focus into the Requested Camera Focus box on the SpUpNIC Control GUI's Instrument Setup pane and click Go.
  • The Hartmann sequence ends with the shutter out of the beam, but for some reason it sends the slit width to zero! So select the desired slit width in the Instrument Setup pane and click Go. Check that it goes to the required position, click Go again if it does not do it the first time.
  • Select "Exposure type" = ARC and take an arc to confirm that the focus looks good.
  • Click on the arc mirror in the schematic to switch off the arc lamp and move the arc mirror out of the beam.

Observing Setup

Target Catalogue File

Target names and coordinates get propagated into the fits headers by loading a target catalogue file into the Target Info pane and then selecting the appropriate target.

  • Open a terminal on the SpUpNIC PC and use your favourite text editor to produce a simple text file (e.g. Run007.txt) with the format shown below:
 Target_1_name HH:MM:SS -DD:MM:SS J2000
 Target_2_name HH:MM:SS -DD:MM:SS J2000
 Target_3_name HH:MM:SS -DD:MM:SS J2000

(Note: do not include spaces in the target names and use single spaces between the object name, RA, Dec and Equinox)

  • Click on the Load Target Catalogue button, then navigate to, and select, your catalogue.
  • Select the appropriate target name from the drop-down list that appears after the catalogue file has been loaded.
  • If you edit the catalogue file, you'll need to reload it into the GUI before the changes will appear in the drop-down list.

Setting up the slit position on the TCS - using the SpUpNIC Control GUI

The purpose of this step is to figure out where on the acquisition image you need to place your star, in order for it to land close to the ideal spot on the slit. Very bright stars can be seen reflected on the slit jaws, and can be placed on the slit directly, but this is not the case for fainter stars, which need the superior reflectivity of the guide mirror in order to be seen on the acquisition camera. This position should be stable throughout your run, but it is worth checking every couple of days that the red box on the acquisition camera screen still corresponds to the appropriate position on the slit. This is much easier now that the instrument has a rear-of-slit camera!

  • Move the guide mirror into the beam, either by setting the Acquisition state in the Lamp/Mirror Settings pane of the SpUpNIC control GUI (if it says Guide Mirror Science, click Change), or by clicking on the guide mirror in the instrument schematic.
  • Acquire a bright star (e.g. ~4th mag from the Bright Stars chapter of the Sutherland Almanac, available in the warm room), roughly centre it in the acquisition camera field and continue exposing.
  • Move the guide mirror out of the beam (i.e. centre the mirror so that light can go down the central hole).
  • Move the rear-of-slit mirror into the beam (Lamp/Mirror Settings pane, RoS mirror change from Out of beam to In beam).
  • Turn on the slit illumination (in the Instrument Setup pane, Change to turn on the lamp). Tune the exposure time/LUT sliders on the TCS until you can clearly see the slit running horizontally across the acquisition image, approximately halfway up.
  • Using the hand paddle, move the telescope to place the star on the slit, approximately one quarter of the image width away from the right-hand edge.
  • Turn off slit illumination.
  • Click on the icon Potcamicon.jpg for the rear of slit camera (on the left-hand side of Monitor 1).
  • An image window for the rear-of-slit camera will pop up. This looks up at the slit from below, to enable you to check that your star is centred on the slit. Move the telescope such that the star falls on the centre of the slit image in both x and y.
    Slit view.png
  • Move the rear-of-slit mirror out of the beam and take a test spectrum (e.g. 20 seconds) of the bright star (in the Exposure/CCD info pane, select Exposure type = SCIENCE from the drop-down menu, enter 20 in Exposure time and click Expose).
  • The resulting image will be displayed on the Quick-Look GUI, on Monitor 2. You are aiming for the spectrum to fall on approximately the central row of pixels within the image area (note that this is a roughly central band that only covers about half the vertical extent of the CCD). If the spectrum is too high or low, move the telescope slightly in RA (the RA- button moves the spectrum downwards in the image), iterate until the star is well positioned.
  • Once you are happy with the position of the spectrum on the image, go back to the TCS and add a red marker over the position of the star on the slit (TCS Pointer pane: Markers, Add a red marker).
  • Finally, move the guide mirror into the beam, and add a second red marker at the position of the star. This marker will be used to approximately position stars on the slit that are too faint to be seen reflected off the slit jaws.
  • The red markers are lost if the TCS software gets restarted, so it is a good idea to note down their coordinates!

Focusing the telescope

  • Acquire a ~11th mag star (e.g. one of the spectrophotometric standards) with the guide mirror in the beam
  • Position the star on the appropriate red box on the acquisition image
  • On the instrument schematic, set the guide mirror to Science (so that light reaches the slit)
  • Also insert the rear-of-slit mirror into the beam to direct the light to the Lodestar (rear-of-slit) camera
  • View the stand-alone rear-of-slit software window
  • Click on the "continuous" button for an ongoing series of 2 second exposures
  • Open the slit wide, to about 4"
  • Adjust the slider bars at the bottom of the image (both most of the way to the left) to set the brightness and contrast
  • Use the hand-paddle to position the star near the centre of the slit (in both X and Y)
  • Adjust the telescope focus with the hand-paddle in steps of 3-5 units and assess how the star image changes
  • The star will move around due to the translation of the secondary mirror, so adjust it back into view with the hand-paddle if necessary
  • Astigmatism in the system extends the star image diagonally and the orientation indicates whether the focus is too high or too low:
 Star extended from upper-left to lower-right: focus number is too high
 Star extended from lower-left to upper-right: focus number is too low
  • Best focus is where the star is as round and sharp as possible
  • Optimum focus varies with temperature, typical summer values are ~2200 while cold winter nights may be closer to 2270 units

Focusing the acquisition camera

  • Having focused the telescope as described above, one needs to focus the acquisition camera.
  • The star used to focus the telescope may be too bright, so aim for something fainter (e.g. a guide star that needs a ~1 sec exposure).
  • Adjust the acquisition camera focus with the up/down buttons in the lower right corner of the TCS GUI to get the stars as sharp as possible.

User's Troubleshooting Guide

Please be sure to inform the instrument team of any technical issues you encounter during your run, either by emailing lisa(at)saao.ac.za, or by means of the SAAO's online fault forum at [[1]].

Re-starting the Quick-Look software

  • There is a memory leak in the Quick-Look software which causes its memory consumption to grow larger each time a new spectrum is loaded. To work around this, please restart the quick-look software once daily, or more often if required. Open a terminal and issue the command
   ps aux | grep ql-spupnic
  • If nothing is returned, then the quick-look software is not running. If one or more lines are returned, then they describe running instances of the quick-look software.
  • Each running process should be terminated before a new instance of the Quick-Look software is started.
  • The second column in each line of the output obtained above is a number. This is the process ID (PID) of the running instance. To terminate a running process, issue the command
   kill -9 <PID>

where <PID> is the process ID of the process.

  • Once all the quick-look processes have been terminated, start a new instance of quick-look by clicking on the Quick-Look icon on the left-hand task bar.

If the Quick Look does not extract spectra for science frames

  • A dialogue box saying "Please Wait" lingers just below the image display and no extracted spectrum appears in the plot below
  • Dismiss the dialogue box (and any others piled up behind it) until they are all gone
  • Locate the Auto and Manual extraction options just below the spatial profile plot in the upper right of the Quick Look main tab
  • Click on whichever one is not currently selected (return to the one you want if it's the one that was originally selected)
  • Test by loading a science image by selecting one from the Observing Log tab on the Quick Look
  • If the problem persists, again make sure the dialogue box(es) are dismissed before stopping and restarting the Quick Look GUI

The Exposure/CCD Info pane gets a red frame and complains about timing issues

  • Go to the Advanced tab on that pane
  • Click the Reset Exposure Controls button
  • If that does not clear the red frame, close the Control GUI
  • Open a terminal and type restart_services
  • You may be asked for a password, it's the usual one!
  • Restart the SpUpNIC Control GUI by clicking on the absorption spectrum quick-launch button

If the slit runs anything but horizontally across the rear-of-slit image, the camera needs mechanical relocation

  • The rear-of-slit camera has a spring-loaded kinematic mount which can move slightly if the USB cable snags or the camera gets bumped somehow
  • If this happens, the slit image will be displaced, making acquisition difficult
  • Insert the rear-of-slit mirror and turn on the slit-illumination to confirm that this is indeed the case
  • Go out and grip the rear-of-slit camera assembly (which projects from the south side of the instrument cover) and gently jiggle it - the camera will pop back into its required position
  • Use the slit illumination to verify that the slit runs horizontally across the image again

If the rear-of-slit (ROSCam) camera window does not produce any images (though the exposures seem to count down), it probably needs a reset

  • Check that you've got the light path right: guide mirror centred and the rear-of-slit mirror in the beam
  • Then check that it's not an image scaling issue, by turning on the slit illumination (which is bright enough to show up under most circumstances)
  • If you still don't see anything:

-stop ROSCam exposures

-exit the ROSCam GUI

-press the "power cycle ROS camera" button from the TCS GUI

-wait 30s

-restart the ROSCam GUI.

-restart exposures

Technical Notes