next up previous 80
Next: PREPFLAT - Prepare Flat-field frame
Up: Automated ECHOMOP reductions
Previous: PREPRUN1 & PREPRUN2 - Set up automated run


PREPBIAS - Prepare bias frame

Purpose:

Script to prepare a single biasframe from a series of frames.

Language:

C shell script.

Description:

This script produces a single median image from a series of `raw' CCD bias frames. The median bias frame is created using FIGARO MEDSKY. The output image is called biasframe, this can be altered by editing the appropriate line in the script.

Usage:

This script can simply be invoked from the shell; in this case the script will prompt for a list of the input bias images. Alternatively, the list of bias frames can be supplied on the command line, for example:

   % prepbias run0800 run0801 run0802 run0856 run0857 run0858

If wildcarding facilities are available in your shell, you can use them to simplify the command line, for example, the above would become:

   % prepbias run080[012] run085[678]

in the C shell. This wildcarding facility is available when the script prompts for a list of input images.

Source code:

The script source code is available here.
Notes:
  1. If needed, the input parameters can be input at the command line thus:

       % nohup prepbias filename [filename...] &
    

    the nohup command will ensure that the script continues to run even when you have logged off the system. The & at the end of the line will run the script in the background.

  2. This script is designed to be used as part of an automated échelle data reduction package. If you intend to use it for this purpose, you should not change the name of the output median bias frame biasframe. See the comments in the script for changes which can be made if it is to be used stand-alone.

  3. This script will work with FIGARO v5.0-0 or later.

  4. This script is designed to be called by a master reduction script. See the example scripts preprun1 and preprun2 for details.



next up previous 80
Next: PREPFLAT - Prepare Flat-field frame
Up: Automated ECHOMOP reductions
Previous: PREPRUN1 & PREPRUN2 - Set up automated run

Echelle Data Reduction Cookbook
Starlink Cookbook 3
Martin Clayton
10 July 2003
E-mail:ussc@star.rl.ac.uk

Copyright © 2000, 2003 Council for the Central Laboratory of the Research Councils