ToO P45-005 scripts (version 1.1)

All scripts are located in ~obs/scripts/45-005.

./too-alfosc-photometry.sh

Description:

First moves the telescope to OBJECT. The user is requested to check guiding and press return to continue if OK. Then NUM_EXP exposures with EXP_TIME exposure time are taken for each filter FILTER. Optionally a dither pattern DITH_PAT with dither step DITH_STEP, CCD window xsize XSIZE, ysize YSIZE and CCD amplifier AMPLIFIER may be set.

The script exits with full CCD window, high gain, amplifier A , field rotation 90, guiding off and all wheels in open position.

Format:

./too-alfosc-photometry.sh OBJECT FILTER,EXP_TIME,NUM_EXP ... [dither=DITHER xsize=XSIZE ysize=YSIZE ampl=AMPLIFIER]

OBJECT: Object name (as defined in the TCS catalogue)
FILTER: FILT_ID[:FILT_FOC]
FILT_ID: Filter ID (as defined here) | FILT_ALIAS
FILT_ALIAS: U(7) | B(74) | V(75) | R(76) | I(12)
FILT_FOC: Filter focus offset
EXP_TIME: Exposure time (in seconds)
NUM_EXP: Number of exposures
DITHER: DITH_PAT:DITH_STEP | no (default)
DITH_PAT: Dither pattern (2-point-x | 2-point-y | 3-point-x | 3-point-y | 4-point | 5-point | 9-point | abba-x | abba-y)
DITH_STEP: Dither step (in arc seconds)
XSIZE: CCD window x size (in pixels) | full (default)
YSIZE: CCD window y size (in pixels) | full (default)
AMPLIFIER: CCD amplifier (A (default) | B | AB | C | AC)


Example:

./too-alfosc-photometry.sh sn2009dc U,60,3 B,60,3 V,60,3 R,60,3 I,60,3 dither=3-point-x:10


Will take 3 exposures of 60 seconds each in each of the filters U(7), B(74), V(75), R(76), I(12) of sn2009dc. Dithering with 3-point-x pattern and 10 arc seconds step will be used. CCD amplifier A and the full CCD window will be used.

./too-alfosc-spectroscopy.sh

Description:

First moves the telescope to OBJECT. The user is requested to check guiding and press return to continue if OK. Then the target is positioned interactively on the slit using the alfosc.aquisition sequencer script. This procedure is described in detail here. The user is requested to check the target position and press return to continue if OK. Then one wavelength calibration exposure followed by NUM_EXP exposures with exposure time EXP_TIME using grism GRISM, slit SLIT and a optional blocking filter FILTER are taken. Flat exposures are also taken depending on the value of FLAT. Optionally a dither pattern DITH_PAT with dither step DITH_STEP, CCD window spatial size WSIZE , CCD amplifier AMPLIFIER and wavelength calibration lamp LAMP may be set.

The script exits with full CCD window, high gain, amplifier A , field rotation 90, guiding off and all wheels in open position.

Format:

./too-alfosc-spectroscopy.sh OBJECT GRISM SLIT ACQ_TIME EXP_TIME NUM_EXP [filter=FILTER dither=DITHER flat=FLAT wsize=WSIZE ampl=AMPLIFIER lamp=LAMP]

OBJECT: Object name (as defined in the TCS catalogue)
GRISM: Grism ID (as defined here)
SLIT: Slit ID (as defined here)
ACQ_TIME: Exposure time (in seconds) for slit positioning images
EXP_TIME: Exposure time (in seconds)
NUM_EXP: Number of exposures
FILTER: FILT_ID[:FILT_FOC] | no (default)
FILT_ID: Blocking filter ID as defined here
FILT_FOC: Filter focus offset
DITHER: DITH_PAT:DITH_STEP | no (default)
DITH_PAT: Dither pattern (2-point | 3-point | abba)
DITH_STEP: Dither step (in arc seconds)
FLAT: take flatfield exposures (before (default) | before-each | before-after-each | no)
WSIZE: CCD window spatial size (in pixels) (default: 400) | full
AMPLIFIER: CCD amplifier (A (default) | B | AB | C)
LAMP: Wave calibration lamp ID (He | Ne | HeNe (default) | ThAr)

Example:

./too-alfosc-spectroscopy.sh sn2009dc Grism_#4 Slit_1.0 60 300 3

Will take 3 exposures of 300 seconds each using Grism_#4 and Slit_1.0 of sn2009dc. Will also take one wavelength calibration exposure using HeNe lamp and one flat exposure. The exposure time for slit positioning images will be 60 seconds. CCD amplifier A and a CCD window of 400 pixels in the spatial direction will be used.

./too-alfosc-spec-flat.sh

Description:

NUM_EXP flat exposures with exposure time EXP_TIME using grism GRISM, slit SLIT and a optional blocking filter FILTER are taken.
Optionally the CCD window spatial size WSIZE , CCD amplifier AMPLIFIER may be set.

The script exits with full CCD window, high gain, amplifier A and all wheels in open position.

Format:

./too-alfosc-spec-flat.sh GRISM SLIT EXP_TIME NUM_EXP [filter=FILTER wsize=WSIZE ampl=AMPLIFIER lamp=LAMP]

GRISM: Grism ID (as defined here)
SLIT: Slit ID (as defined here)
EXP_TIME: Exposure time (in seconds)
NUM_EXP: Number of exposures
FILTER: FILT_ID[:FILT_FOC] | no (default)
FILT_ID: Blocking filter ID as defined here
FILT_FOC: Filter focus offset
WSIZE: CCD window spatial size (in pixels) (default: 400) | full
AMPLIFIER: CCD amplifier (A (default) | B | AB | C)

Example:

./too-alfosc-spec-flat.sh Grism_#4 Slit_1.0 3

Will take 3 flat exposures using Grism_#4 and Slit_1.0. CCD amplifier A and a CCD window of 400 pixels in the spatial direction will be used.

./too-alfosc-flat.sh

Description:

NUM_EXP flat exposures are taken for each filter FILTER using the alfosc.easyflat sequencer command. Optionally the CCD window xsize XSIZE, ysize YSIZE and CCD amplifier AMPLIFIER may be set.

The script exits with full CCD window, high gain and amplifier A .

Format:

./too-alfosc-flat.sh FILTER,NUM_EXP [
xsize=XSIZE ysize=YSIZE ampl=AMPLIFIER]

FILTER: FILT_ID[:FILT_FOC]
FILT_ID: Filter ID (as defined here)
| FILT_ALIAS
FILT_ALIAS: U(7) | B(74) | V(75) | R(76) | I(12)
FILT_FOC: Filter focus offset
NUM_EXP: Number of exposures
XSIZE: CCD window x size (in pixels) | full (default)
YSIZE: CCD window y size (in pixels) | full (default)
AMPLIFIER: CCD amplifier (A (default) | B | AB | C | AC)

Example:

./too-alfosc-flat.sh U,3 B,3 V,3 R,3 I,3

Will take 3 flat exposures in each of the filters U(7), B(74), V(75), R(76), I(12). CCD amplifier A and the full CCD window will be used.

./too-alfosc-bias.sh

Description:

NUM_EXP bias exposures are taken. Optionally the CCD window xsize XSIZE, ysize YSIZE and CCD amplifier AMPLIFIER may be set.

The script exits with full CCD window, high gain and amplifier A .

Format:

./too-alfosc-bias.sh NUM_EXP [
xsize=XSIZE ysize=YSIZE ampl=AMPLIFIER]

NUM_EXP: Number of exposures
XSIZE: CCD window x size (in pixels) | full (default)
YSIZE: CCD window y size (in pixels) | full (default)
AMPLIFIER: CCD amplifier (A (default) | B | AB | C | AC)

Example:

./too-alfosc-bias.sh 10

Will take 10 bias exposures. CCD amplifier A and the full CCD window will be used.

./too-stancam-photometry.sh

Description:

First moves the telescope to OBJECT. The user is requested to check guiding and press return to continue if OK. Then NUM_EXP exposures with EXP_TIME exposure time are taken for each filter FILTER. Optionally a dither pattern DITH_PAT with dither step DITH_STEP and CCD window xsize XSIZE and ysize YSIZE may be set.

The script exits with full CCD window, high gain, field rotation 90 and guiding off. The filter wheel remains in the position set by the script.

Format:

./too-stancam-photometry.sh OBJECT FILTER,EXP_TIME,NUM_EXP ... [dither=DITHER xsize=XSIZE ysize=YSIZE]

OBJECT: Object name (as defined in the TCS catalogue)
FILTER: FILT_POS[:FILT_FOC]
FILT_POS: Filter wheel position | FILT_ALIAS
FILT_ALIAS: U(1) | B(2) | V(3) | R(4) | I(5)
FILT_FOC: Filter focus offset
EXP_TIME: Exposure time (in seconds)
NUM_EXP: Number of exposures
DITHER: DITH_PAT:DITH_STEP | no (default)
DITH_PAT: Dither pattern (2-point-x | 2-point-y | 3-point-x | 3-point-y | 4-point | 5-point | 9-point | abba-x | abba-y)
DITH_STEP: Dither step (in arc seconds)
XSIZE: CCD window x size (in pixels) | full (default)
YSIZE: CCD window y size (in pixels) | full (default)

Example:

./too-stancam-photometry.sh sn2009dc U,60,3 B,60,3 V,60,3 R,60,3 I,60,3 dither=3-point-x:10


Will take 3 exposures of 60 seconds each in each of the filters U(1), B(2), V(3), R(4), I(5) of sn2009dc. Dithering with 3-point-x pattern and 10 arc seconds step will be used. Full CCD window will be used.

./too-stancam-flat.sh

Description:

NUM_EXP flat exposures are taken for each filter FILTER. For each filter a test exposure is first taken. The user is requested to check the count level in the ds9 window and press return if OK (~20000 ADU). Otherwise a new exposure time has to be entered. This process is repeated until a satisfactory count level has been achieved. Dithering with a 3-point pattern and 15 arc seconds step is always used. Optionally the CCD window xsize XSIZE and ysize YSIZE may be set.

The script exits with full CCD window and high gain.

Format:

./too-stancam-flat.sh FILTER,NUM_EXP [xsize=XSIZE ysize=YSIZE]

FILTER: FILT_POS[:FILT_FOC]
FILT_POS: Filter wheel position | FILT_ALIAS
FILT_ALIAS: U(1) | B(2) | V(3) | R(4) | I(5)
FILT_FOC: Filter focus offset
NUM_EXP: Number of exposures
XSIZE: CCD window x size (in pixels) | full (default)
YSIZE: CCD window y size (in pixels) | full (default)

Example:

./too-stancam-flat.sh U,3 B,3 V,3 R,3 I,3

Will take 3 flat exposures in each of the filters U(1), B(2), V(3), R(4), I(5). Full CCD window will be used.

./too-stancam-bias.sh

NUM_EXP bias exposures are taken. Optionally the CCD window xsize XSIZE and ysize YSIZE may be set.

The script exits with full CCD window and high gain.

Format:

./too-stancam-bias.sh NUM_EXP [
xsize=XSIZE ysize=YSIZE]

NUM_EXP: Number of exposures
XSIZE: CCD window x size (in pixels) | full (default)
YSIZE: CCD window y size (in pixels) | full (default)

Example:

./too-stancam-bias.sh 10

Will take 10 bias exposures. Full CCD window will be used.