User's Guide to the Nickel Direct Imaging Camera


Table of Contents


Introduction
Hardware Overview
Software Overview
Detector Characteristics
Filter Wheel
CCD User Interface
Eventsounds
Nickelfocus
Observing Hints
Checklists

Data Archive
Mt. Hamilton Homepage

Observing Hints

Focusing | Dome Flats | Multiple Exposure Script | Observing Scripts | Bias and Dark Frames | Target Acquisition | Minimum Exposure Times | Overscan Subtraction | Data Reduction Pipeline | Target Lists | Saving scratch data


Focusing

Focusing the direct imaging camera is accomplished by moving the telescope's secondary mirror. The focusing procedure consists of making a series of star images, moving the secondary mirror between exposures, until the desired number of images has been made (typically 7-9).

N.B. Nickel's broadband filters are par-focal, but narrowband filters may vary, and should be checked and, if need be, individually focused.

Telescope focus for the Andor camera is nominally between 325 and 355, and can change during the night due to changes in temperature.

There is an interactive GUI to help with the pointing and focusing process, nickelfocus.

Alternatively, one can use the following more manual procedure:

  1. Acquire a focus star near zenith. A star of about 10th magnitude will work well. It is not usually necessary to find and set on a particular star, as most fields will have at least a few stars of suitable brightness, but it is a good idea to take a test exposure of about 10 seconds to confirm the presence an appropriately bright star, to estimate the best exposure interval for focusing, and to note its position with respect to other stars in the field and to the edges of the CCD.
  2. Set the telescope secondary focus to a starting position (e.g. 340) using the Expanded POCO Focus GUI.
  3. Set the exposure time to be equal to the the predetermined exposure interval (make this long enough to get good S/N in at least one star, but be careful to avoid saturation, remembering that the counts/perpixel will increase as best focus is approached), times the number of steps through which you will move the secondary mirror (typically 7 to 9 steps).
  4. Start the exposure, keeping your eye on the elapsed time and the cursor poised over the "Pause" button. As soon as the predetermined exposure interval has passed, pause the exposure.
  5. Using the Expanded POCO Focus GUI., move the telescope 15 or 20 arcsec (choose a direction that will prevent other stars in the image interfering with your chosen focus star, and that will keep it clear of the edges of the CCD). At the same time, change the telescope focus (secondary mirror) by 3 or 5 counts. Note that the POCO focus GUI allows telescope and focus motions to be combined in a single button click.
  6. Resume the exposure and pause again after the same interval.
  7. Move telescope and focus by the same step sizes again.
  8. Repeat the previous two steps 5 to 7 more times. Moving the telescope double the distance before the final exposure interval will unambigously indicate the order in which the images was made -- an essential datum for analysing the resulting focus frame.
  9. After the image is read out (if there was exposure time remaining when you finished your your series, you'll have to click the "Stop and Readout" button) examine it. Each star in the field should have produced a row of images, their number corresponding to the number of focus positions tried (if the series does not pretty clearly pass through and beyond best focus, instead getting monotonically better or worse, you will probably have to reapeat the focus exposure using a different starting point and/or larger step sizes). The final image of each series should be clearly identifiable by the additional separation from the rest. (If you forgot to lengthen the final move, you can recover the direction by reviewing your procedure, but remember that moving a telescope in a given direction will cause a star to move on the CCD in the opposite direction.)
  10. Use the Itv tool in the XVideo image display software to measure the focus.
    1. Make sure that the star you have selected to measure has good signal-to-noise, is not saturated even at its best focus, and is free from significan interference from overlapping stars.
    2. Click on Erase Focus Data.
    3. Click on Pick Stellar Stat Loc.
    4. Click on first stellar image in focus sequence (skip outlying images if they are badly out of focus as the resulting measure will be unreliable, but remember that you'll need at least three measurements to get a fit to the data).
    5. Click on Do Stats.
    6. Click on Add to Focus Data and enter the telescope secondary focus value corresponding to that position.
    7. Repeat steps 3 to 6 for each measurable star in the focus sequence.
    8. The best focus value will be displayed in the focus fitting section of the statistics window.
  11. Set the telescope focus to the best focus position using the Expanded POCO Focus GUI..


Flat Fields

Good flat field frames with the Andor camera should have count levels between 25,000 and 45,000 DN per pixel. Flat fields with slightly more or fewer counts per pixel are still useable, but are less ideal.

Sky Flats: Sky-illuminated flats, taken at evening and/or morning twilight are the preferred method of flat fielding. (Alternatively, domeflats may be made using a continuum light source affixed to the top of the telescope, reflected off the inside of the dome. Dome flats provide an important fallback if weather or other constraints prevent skyflats from being made.)

  1. Provided weather conditions permit, open the dome and then clear the telescope lightpath by lowering the windscreen, retracting the rainscreen, and opening the mirror cover. Dome, windscreen, and mirror cover are controlled from naux_fe; the rainscreen must be opened manually.
  2. The shortness of appropriate twilight illumination, combined with the rapidly changing skybrightness at twilight, require concentration and efficiency for successful skyflats, especially if flats in a number of filters are required. Some control of illumination may be gained by pointing the telescope east or west, away from or towards the part of the sky illuminated by the setting or rising sun, but there is no substitute for being well prepared and undistracted.
  3. It is advisable to begin early, taking unrecorded test exposures until the sky illumination is suitable (either dropping below saturation in the evening, or reaching adequate brightness as dawn). Once the illumination is acceptable, turn on recording and begin taking flats, checking the flux level in each new image and adjusting the next exposure accordingly. (Note that scripts for multiple exposures are not recommended for skyflats because of the constant need to change exposure time to follow the changing sky brightness.)

Dome Flats: There is a flat field screen in the dome or you can use the raised windscreen as a flat field screen. There is also a white patch on the inside of the dome shutter that can be used for flat fields. While one can use the telescope lamps and the windscreen or rainscreen it is advisable to use the flat field screen with the dome flat lamps. Benifits of the flat field screen include: if the dome is dark there are no shadows in the telescope plane vs using the telescope lamps project shadows, it reflects more blue light so is better for U and B flats as well as having less contamination from sunlight leaking in the dome. To do dome flats you will have to do the following:

Open the telescope light path, e.g. open the rainscreen and mirror cover (rainscreen is opened manually from the dome, the mirror cover is opened from the naux_fe GUI.

Windscreen flats

To use the windscreen for flat fields, simply put the Dome into auto mode, i.e., set DomeAuto in the main POCO GUI. This will align the dome slit and windscreen with the telescope. If you wish to use the white patch on the dome for flat fields, the windscreen will have to be in the down position and you may have to adjust the position of the telescope to properly align it. If one is doing flats around sunset then move the telescope 2 or 3 hours east to cut down on sunlight leak through the dome slit.

Turn on the telescope flat field lamps from the naux_fe GUI.

Select a filter and take a test exposure. Make sure the flatfields have acceptable count levels and exposure times of at least 3 seconds to minimize shutter timing effects. The brightness of the flatfield lamps can be adjusted as necessary from the naux_fe GUI.

Flat Field Screen

To use the flat field screen, you need to put the Dome into manual positioning mode, i.e., set DomeHold in the main POCO GUI. If you are doing flats at HA=0 then you will need to command the dome to move to Az=218. Then move the telescope to Dec -05:00:00. If you are doing them elsewhere then set the dome to +38 of the autodome's az.

Note: If the windscreen is down or removed, too much afternoon sunlight may leak into the dome. If that happens, you can use this alternate setting for the dome and telescope for dome flats with the flat field screen: HA=4:00:00, Dec=38:00:00, and Dome Az=328, which will block some of that stray light.

Turn on the dome flat field lamps from the naux_fe GUI.

Select a filter and take a test exposure. Make sure the flatfields have acceptable count levels and exposure times of at least 3 seconds to minimize shutter timing effects. Suggested exposure times and lamp settings are in the table below for the commonly used filters. Please note that stray sunlight in the dome during the afternoon may affect the count levels, as well as the flat field lamps changing brightness with age.

Suggested Flat Field Lamp and Exposure Time Settings*
FilterFlat Field Lamp/SettingExposure Time
BTelescope lamp = 10525 s
VTelescope lamp = 1003 s
RTelescope lamp = 703 s
ITelescope lamp = 703 s
r'Telescope lamp = 654 s
i'Telescope lamp = 654 s
BDome lamp200 s
VDome lamp17 s
RDome lamp4 s
IDome lamp3 s
r'Dome lamp3 s
i'Dome lamp3 s
*Lamp and exposure settings can vary depending on light leaks in the dome, age of the lamps, etc.

The igetnick script is a convenient way of getting multiple identical exposures once you are setup for dome flats.

It is possible to use both the dome and telescope flat field lamps when using the flat field screen but the illimination will not be as uniform.


igetnick - Multiple Exposure Script

Igetnick is a script to take multiple exposures with the current exposure configuration. The script runs from the user account on noir.

Syntax:
igetnick NumExposures

NumExposures is the number of exposures you wish to take with the current exposure parameters.

Example:

Take 10 exposures with the parameters specified in the data-taker:
igetnick 10


Observing Scripts

It is possible to write simple observing scripts. Script commands are:

More script commands may become available in the future. If you require something specific for scripting, contact a support astronomer to find out if it is feasible. Syntax for the script commands: If something is not set in the script, it will use the values displayed in the current setup in the data-taker GUI.

It is possible to abort scripts in progress. Scripts can be aborted by typing Ctrl-C in the xterm window in which the script was started. If an exposure is in progress at the time the script is aborted, the exposure will continue and finish normally at the end of the set exposure time.

If you abort an exposure during a script, the script will continue to the next command unless you have already aborted the script.

Sample Shell Script: (lines beginning with # are comments, except for first line which defines the shell)

#!/bin/sh

# Set object name 
setobject SN2006cx

# set exposure time to 30 seconds
settime 30

# move filter to B
setfilter B

# take 1 exposure
igetnick 1

# move filter to V
setfilter V

# set exposure time to 10 seconds
settime 10

# take 2 exposures
igetnick 2
Observers may write scripts to suit their observing needs. Please place your scripts in your own directory, e.g. /home/user/observers/yourname. Scripts placed anywhere else may be deleted without warning.


Bias Frames and Dark Frames

Bias frames (0 second darks) can be acquired by setting the exposure time to 0.0 seconds and the camera shutter state to "Shut." It is wise to have all lights off in the dome while taking bias frames as there is always the possibility of light leaks in the system.

The dark current on the CCD is very low, so dark frames are usually not necessary. However, if you wish, dark frames may be acquired by setting the shutter state to closed and the desired exposure time. Again, it is wise to have all lights off in the dome while taking darks in case there is a light leak in the system.

If you will be taking long darks at the end of the night and wish to head to bed while the darks are being taken, be sure to do all the end of night tasks first (e.g. park the telescope, close mirror cover and dome, fill dewar, etc), then use the igetnick script to take your darks while you get some sleep. Be sure to notify the staff (mh-techs@ucolick.org) that darks are in progress and at what time the darks will be completed.


Target Acquisition

Traditionally, target acquisition has been done by first identifying the field on the Guide Camera, but the pointing accuracy that has come with the present pointing and control system (POCO) has prompted many observers to bypass this step and acquire directly on the science camera. Both methods are described below. (Note that instructions for autoguiding can be found in the Lick Autoguider manual.

Acquiring with the Guide Camera To use the guide camera for target acquisition you will want to set to Guider on Axis in the POCO GUI. The orientation of the Guider image is indicated by the compass rose, imprinted on the guide TV image display. Telescope pointing is generally good, so your target will most likely be in the field of view of the guide camera at your initial setting. Once you have identified your target, move the telescope so that it the is at the position on the guide camera corresponding to the center of the center of the science camera (this will lilely have been marked by an electronic marker on the guide camera display, or you may have to determine the position as described below). In the POCO GUI, now change to CCD on Axis. This will cause the telescope to move the necessary distance to place your target at the center of the science CCD.

If there is no marker and/or it is the first night of your run, do the following:

  1. Center the object in the Guider field of view and then move the telescope to the CCD on Axis position and take a test exposure.
  2. Move the telescope using the Offset Telescope function of POCO to place the target where you want it on the science CDD. Take another test exposure. Iterate telescope moves and test exposures until you are happy with the target's position.
  3. Move the telescope back to Guider on Axis and put a marker on the object to designate the centered position (markers are controlled from the "Guide Control" tab of the "Guider Control Window. See Guider Control and Monitoring. You should also click on the Mark Centered button in the POCO GUI to make sure that telescope pointing is updated accordingly.

Acquiring Directly on the Science Camera To use the science camera for target acquisition you will want to set to CCD on Axis in the POCO GUI. Point the telescope to your target and take an unrecorded test exposure on the Direct Imaging Camera. Adjust telescope pointing as needed to place your target on the CCD as desired.


Minimum Exposure Times

For dark exposures the minimum exposure time is 0.0 seconds, enabling observers to take zero second bias frames for calibration if desired.

While technically there is no minimum exposure time for the Nickel Direct Imaging camera for open shutter exposures, there are physical limits to how fast the iris shutter can open and close. For practical purposes, exposures of less than 1 second are discouraged because of shutter timing errors and uneven illumination of the field (though it should vary by less than 1% for a 2 second exposure). An exposure of 3 seconds or more brings the shutter timing errors down to insignificant levels.


Overscan Subtraction

A python script to do overscan subtraction from a list of FITS files is also available: (Pending testing and varification)

This script will correctly identify the overscan and data regions regardless of binning or subregion of the Andor iKon-L936 detector. The Andor camera has two overscan regions, 20 columns on each of the left and right sides of the image. We recommend only using the righthand overscan region, thus the script only uses the righthand overscan region. Note, that when not reading out the full detector, the overscan regions may not be available, hence overscan subtraction will not be available. We recommend always taking bias frames, especially when using a subregion of the detector. The overscan region is also binned along with the rest of the detector, so when binning there will be correspondingly fewer overscan columns. Each row of the overscan is median combined and, optionally, a third order legendre polynomial is fit to the overscan. This is then subtracted from the data region and written to a file.

Syntax:
overscanAndor.py -f -i inputfilelist -o outputfilelist

-f is an optional argument to indicate that the Legendre polynomial fit is desired (this is recommended for most data).
inputfilelist is a text file containing the names (one per line) of the FITS files for which you wish to do overscan subtraction.
outputfilelist is a text file containing the names (one per line) of the output FITS file names. This file should have the name number of lines as inputfilelist. outputfilelist may be the same as inputfilelist, which will overwrite the original files with the new overscan subtracted files.

Examples:
overscanAndor.py -f -i rawdataList.txt -o overscanSubtractedList.txt
overscanAndor.py -i inFitsList.txt -o outFitsList.txt

overscanAndor.py requires python packages numpy and astropy. Also, this script assumes that the path to python is /bin/python. If that is not the case on your machine, you may have to edit the first line of the program with the proper path. Bug reports, comments, and suggestions for overscanAndor.py should be directed to Elinor Gates (egates@ucolick.org).


Data Reduction Pipeline

Kyle Westfall has created a Data Reduction Pipeline for the Nickel Direct Imaging Camera. It will reduce the Andor camera data, or the old CCD2, data if provided with sufficient calibration frames (e.g. bias and flat field frames). The software and documentation is available at https://github.com/UCObservatories/pipnick.


Target Lists

Considerable time can be saved and errors avoided if the observer comes prepared with a list of targets in a machine readable format. Target List formats are described elsewhere. Target lists should be placed on noir in /u/user/starlists/ or in your subdirectory under /u/user/observers/.

You can read your targetlist with the Coords program. This program can update frequently showing current hour angle, airmass, and zenith distance of each object in the list. You can also get finding charts for the objects and send the coordinates to POCO, the telescope pointing and control software.


Saving scratch images to data file

Non-recorded data images are on the computer nandor and saved to the file /scratch/scr1.fits. This file remains until the next non-recorded image is started, at which point it will be overwritten. In the case that you want to save the data to a regular data file, copy the file to /data/ on nandor, giving it a unique name so that you don't overwrite any existing data in the /data directory.

Example (for the user account on nandor):
cp /scratch/scr1.fits /data/saved001.fits
will copy scr1.fits to saved001.fits in nandor's /data directory. This location will put the file in the same location as the recorded data and allow the archiving software to properly archive the file.


Support Astronomers (sa@ucolick.org)
Last modified: Wed Nov 4 16:57:28 PST 2026