Search
Text Size:
Smaller Text Normal Text Larger Text

Facebook page

Twitter profile

YouTube channel

ALFOSC Sequencer Command Documentation

Go to the SEQUENCER Reference Manual Main Page.

Instrument : ALFOSC
Observing Mode: ANY IMA SPEC POL
Command Type: ANY DATA DET DISP INST TEL
Usage: BASIC GENERAL STAFF
Description: SHORT LONG

SystemCommandArgumentsDescriptionType
alfosc abort [-d] Aborts an ongoing exposure. DET
alfosc acquisition [-c] [-q] [-nofo] <slit> <tt> Script for ALFOSC-spectroscopy target acquisition for slit <slit> using exposure time <tt>. If optional flag -c is used, a check image of the star on the slit is made. If optional flag -q is used, the user is queried for another iteration. The -nofo flag should be used if no automatic focus-offset should be set. TEL
alfosc allopen [-e] Moves all ALFOSC/FASU optical wheels to the OPEN position. INST
alfosc autoshow_off [-d] Turns off the automatic image display while reading out. If a DS9 is running it will be terminated. DISP
alfosc autoshow_on [-d] Turns on the automatic image display while reading out. If no DS9 is running one will automatically be started. DISP
alfosc calibexp [-e] [-f] [-n <nn>] [-o <ObjName>] [-lmi] <lampID> <tt> Sets ALFOSC calibration items up for a calibration spectrum with lamp <lampID>, take <nn> calibration images of exposure time <tt>, switch off lamps and, if not -lmi is given, take out mirror. With <lampID>=He/Ne/HeNe/ThAr/Halogen . DET
alfosc dark [-d] [-t] [-f] [-n]<tt> Makes a dark exposure of <tt> seconds. If <tt> is set to zero a BIAS exposure is made. If the exposure time is larger then 60 seconds, automatic remnant removal is done before the exposure starts. If the option [-f] (fast mode) is used, the prompt will be returned when the exposure time is over and before the readout begins. If the option [-n] is used, there will be no automatic remnant removal. DET
alfosc display [<file>] Loads the image <file> into the ALFOSC DS9 display. If no file is specified, the last image obtained will be loaded. DISP
alfosc expose [-d] [-t] [-f] [-n]<tt> Makes an exposure of <tt> seconds. Remnant removal is made before the exposure starts, if the exposure time is larger then 60 seconds. If the option [-n] is used, no remnant removal is done. If the option [-f] (fast mode) is used, the prompt will be returned when the exposure time is over and before the readout begins. If [-f] is used, make sure that "alfosc.wait-camera-state idle"-command is given before any "alfosc_camera_commands". If the exposure time is larger than 300 seconds, the time left until the rotator reaches its limit will be checked. If there is not time enough to complete the exposure, an error will be generated and the exposure will not start. DET
alfosc focus [-e] [-n <N>] [-nodefault] [-t <nn>] [-a <mode>][-filter] Focuses the telescope. [-n <N>] makes <N> loops. [-t <nn>] sets exposure time to <nn> . [-nodefault] starts from current focus. [-a <mode>] acquisition using <mode>. TEL
alfosc focus-offset [-e] [-d <nn>] Applies focus offset for optical elements in the light beam. If no offset is known a value of 0 will be assumed. Use [-d] flag to defocus the telescope with <nn> units. TEL
alfosc imexam Initiates an IRAF imexam session on the loaded DS9 image. DATA
alfosc lamp [-d] [position] <n> <m> Turns on/off lamp number <n>, <m>=1 is turn on, <m>=0 is turn off. [position] returns a 4 bit pattern corresponding to the state of the 4 lamps. INST
alfosc log-comment "Comment in quotes" [file1 file2 ...] Set a comment in the last image (or the specified ones, if any) using the LOGCOMME keyword DATA
alfosc mdark [-t] [-n] [-f]<tt> <nn> Makes <nn> dark exposures of <tt> seconds. If the [-t] flag is used, a simulated exposure is made. If the exposure time is larger then 60 seconds, automatic remnant removal is done before the exposure starts. If the option [-f] (fast mode) is used, the prompt will be returned when the exposure time is over and before the readout begins. If the option [-n] is used, there will be no automatic remnant removal. DET
alfosc mexpose [-t] [-n] [-f]<tt> <nn> [<imtype>] Makes <nn> exposures of <tt> seconds. Remnant removal is made before the exposure starts, if the exposure time is larger then 60 seconds. If the option [-n] is used, no remnant removal is done. If the option [-f] (fast mode) is used, the prompt will be returned when the exposure time is over and before the readout begins. If [-f] is used, make sure that "alfosc.wait-camera-state idle"-command is given before any "alfosc_camera_commands". If the exposure time is larger than 300 seconds, the time left until the rotator reaches its limit will be checked. If there is not time enough to complete the exposure, an error will be generated and the exposure will not start. DET
alfosc object [-d] <text> Sets the FITS keyword OBJECT to <text>. DATA
alfosc quickspec [<file>] Does a rough spectral extraction for file <file>, or for the last image written to disk if no file is specified, and displays the reduced spectrum interactively. DATA
alfosc quickspec-config [<options>] Sets parameters used in the quickspec script. See the ALFOSC Sequencer Command and Script Reference for a full list of possible options. DATA
alfosc readout [-d] Closes the shutter and readout the ccd. The exposure must first be put in the background. Does not work correctly when using a window in Y direction. DET
alfosc readspeed [-d] <readout_speed> Sets the CCD readout speed to <readout_speed> kpix/second. Valid values for <readout_speed> are 100, 200, 400 or 800. DET
alfosc remove_remnants Remove remnants from the CCD DET
alfosc rempath [-d] <nn> Sets the remote saving path to <nn>. DATA
alfosc remsave_off [-d] Turns off remote saving. DATA
alfosc remsave_on [-d] Turns on remote saving. DATA
alfosc reset-log Resets the talker/obslog and sets it for alfosc DATA
alfosc resetxy [-d] Resets the ccd binning to 1, the X and Y size to maximum and the X and Y beginning to 1. DET
alfosc slitoff [slit=<nn> | xref=<x> yref=<y>] Calculates the telescope offset needed for slit number <nn>, or for a slit with position (<x>, <y>). TEL
alfosc slitrot Uses the currently loaded DS9 image to compute the TCS field rotation angle required to align two objects (interactively identified by the user) along a slit. DATA
alfosc wheels [-e] [-s <slit>] [-g <grism>] [-c <crossdisp>] [-f <filterID>] [-d <diffuserID>][-nowait] [-forceFASU] Sets all 5 ALFOSC wheels to the given setup. Default is OPEN. If optional flag -nowait is used, the script exits while wheels are moving. INST
alfosc xbeg [-d] <nn> Sets the X beginning to <nn>. DET
alfosc xbin [-d] <n> Sets the binning factor in the X direction to <n>. DET
alfosc xsize [-d] <nn> Sets the X size to <nn>. DET
alfosc ybeg [-d] <nn> Sets the Y beginning to <nn>. DET
alfosc ybin [-d] <nn> Sets the binning factor in the Y direction to <n>. DET
alfosc ysize [-d] <nn> Sets the Y size to <nn>. DET

In scripts, the syntax alfosc.<command> should be used.
If a part of a command is written in <angle brackets>, this is an argument that should be replaced with a value.
If a part of a command is written in [square brackets], this is an optional argument or flag.
When available, the optional flag -d will write extended debugging information to the log.
When available, the optional flag -e will show the script on standard output instead of executing the commands.
When available, the optional flag -t will only make a simulated exposure. Useful for testing scripts.

Type definitions:
DATA: All commands related to handling/modifying data (editing fits-headers, post-processing etc.).
DET: Commands related to operations with the detector.
DISP: Commands related to displaying images on the instrument computer.
INST: Commands related to operations with the instrument.
TEL: Commands related to operations with the telescope.

Back to top Last modified: January 26 2023