Home · Search · About ING · Astronomy · Public Information · Engineering
LIRIS command list

This is a list of all available user commands as of November 2, 2004 by Heidy Moreno ( ).
A full list including engineering commands can be found in the internal section.

Mechanism commands and monitoring GUI
Thermal commands
Thermal monitoring GUI
Lamps commands
Lamps monitoring GUI
LIRIS Real Time Display (UDASRTD)
Imaging scripts
Spectroscopy scripts
Acquisition scripts
Other scripts
UltraDAS commands
Telescope remote control commands
Diagnostic commands

Mechanism commands and Monitoring GUI

start_liris_inf

Starts the LIRIS Mechanisms Monitoring GUI.
It should be noted that this command expects the EPICS environment to be correctly set.

lsethome    <mech_name> | "all" Sets HOME some or all mechanisms. When ALL is selected the camera wheel is not moved!
lslit            <name> | <wheel_pos> | sethome  Moves the slit wheel to the supplied name/position parameter.
lfwheel1    <name> | <wheel_pos> | sethome  Moves the filter wheel 1 to the supplied name/position parameter.
lfwheel2    <name> | <wheel_pos> | sethome  Moves the filter wheel 2 to the supplied name/position parameter.
lpupil        <name> | <wheel_pos> | sethome Moves the pupil wheel to the supplied name/position parameter.
lgrism       <name> | <wheel_pos> | sethome  Moves the grism wheel to the supplied name/position parameter.
lcamera     <name> | <wheel_pos> | sethome Moves the camera wheel to the supplied name/position parameter.
lmchstat Reports the status of the EPICS Controller and LIRIS Mechanisms.
lwheelconfig Reports the names and positions of each of the elements loaded in the LIRIS wheels.
lmchstop Moves mechanisms to shutdown locations (same as lblanks)
limage        | <filter_setup> | Setups LIRIS mechanisms wheels for imaging depending on the supplied parameter.
Typing ´limage´ with no parameters will display a list of the available setups.
Wheel movements are done simultaneously.
limage_seq | <filter_setup> | Same as ´limage´, but wheel movements are done sequentially.
lspec   | <grism_setup> | | <slit_name> | Setups LIRIS Mechanisms wheels for spectroscopy depending on supplied parameters. Wheel movements are done in parallel.
Typing ´lspec´ with no parameters will display a list of available setups.
lspec_­seq   | <grism_setup> | | <slit_name> | Same as ´lspec´, but wheel movement is done sequentially.
lblanks Move mechanisms to default blank positions.
Wheel movements are done in parallel!
lblanks_seq Same as ´lblanks´, but wheel movements are done sequentially.
lcor  | <coor_setup> |  Setups LIRIS mechanisms wheels for coronography depending on the supplied parameter.
Typing ´lcor´ with no parameters will display a list of the available setups.
lcor_seq     | <coor_setup> |  Same as ´lcor´, but wheel movements are done sequentially.
lipol        | <filter_setup> | Setups LIRIS mechanisms wheels for polarimetry depending on the supplied parameter.
Typing ´lipol´ with no parameters will display a list of the available setups.
(Wheel movements are done simultaneously)

Thermal commands

lthermstat      Reports the status of the Lakeshore 340, Pfeiffer Controllers and their sensors.
lpressstat        Reports the status of the pressure sensors inside the cryostat.  
ltempstat Reports the status of the ´setpoint´ temperature and temperature sensors inside the cryostat.
ltempsetp  | <setpoint> |  Establishes the detector ´s setpoint temperature to the supplied parameter value by starting the automatic temperature control loop. Typing ´ltempsetp´ with no parameters, will establish the ´setpoint´ temperature to the coldfinger_temperature + 0.1
ltempcntroff Turns off the automatic temperature control loop.

Thermal monitoring GUI

starttempgui Starts the temperature/pressure monitoring GUI.
NOTE: This command kills any previous instance of the tempgui program.
shutdowntempgui Shuts down the temperature/pressure monitoring GUI.
helptempgui Displays temperature/pressure monitor help information.

Lamps commands

llampstat Reports the status of the LIRIS Calibration LAMPS.
llampon   <lamp_num>   Turns on the lamp associated to the supplied parameter.
llampoff   <lamp_num> | ´ALL´ Turns off the lamp associated to the supplied parameter or all.

Lamps monitoring GUI

startlampsgui Starts the Lamps Monitoring GUI.
NOTE: This command kills any previous instance of thelampsgui program.
shutdownlampsgui Shuts down the Lamps Monitoring GUI.
helplampsgui Displays Lamps Monitor help information.

LIRIS Real TIme Display (UDASRTD)

startudasrtd                                   Starts the UDASRTD system.
NOTE: This command kills any previous instance of the udasrtd program and Ximtool/Ds9.
shutdownudasrtd                           Shuts down the UDASRTD system
helpudasrtd Display UDASRTD help information.

Imaging scripts

[ag_]mdither<N> <ncycles> <exp_time> [title] [-nruns=int] [-xoffset=int] [-yoffset=int] [-jitter=float] [-clean]

Default values for command-options:

nruns=1, xoffset=12 arcsec, yoffset = 12 arcsec, jitter= 0.0,

Use –clean to discard the first 3 images before runs.

Repeats a dither pattern <ncycles> times using a jitter box to randomly generate new TCS offsets. Scripts prefixed 'ag_' perform telescope guiding at each dither point. The <N> suffix indicates the number of data acquisitions that occur during telescope movement. 

The [-nruns=int] command-option indicates if a multrun or a single run command is going to be used for the data acquisition at each dither point. If the [-jitter=float] command-option is given, the different ditter points will be randomly generated to lie in a box of "jitter" size.

The basic telescope move patterns are 2, 3, 4, 5, 8 and 9 point patterns. Scripts always start and end with the telescope at the same point in space, at the centre of the pattern.

For <N> = 3, 5 and 9 the data acquisition positions are as follows:

               [ag_]mdither3                  [ag_]mdither5              [ag_]mdither9

                               3                             3         4                         4   5   6
                        1                                         1                               3   1   7
                 2                                          2         5                          2   9   8

For <N> = 2, 4, and 8 the acquisition at the central position is dropped. Thus:

               [ag_]mdither2                  [ag_]mdither4              [ag_]mdither8

                            2                               2        3                            3    4    5
                                                                                                    2          6
                     1                                      1        4                            1    8    7

[ag_]mdither<N>ext  <ncycles> <exp_time> <sky_offset> <pa_offset> [title] [-nruns=int] [-xoffset=int]

 [-yoffset=int] [-jitter=float] [-clean]

 

Default values for command-options:

nruns=1, xoffset=12 arcsec, yoffset = 12 arcsec, jitter= 0.0,

Use –clean to discard the first 3 images before runs.

Alternatively switches between the object and the sky positions taking at both points a mdither<N> or ag_mdither<N> pattern. The starting sky position is given by the "pa_offset" angle and the "sky_offset" distance parameters.

mfiltphot <filter_conf1> <exp_time_1> [ filter_conf1] [exp_time_2] ... [ filter_confN] [exp_time_N] [title][-nruns=int] [-xoffset=int] [-yoffset=int]

Default values for command-options:

nruns = 1, xoffset = 12 arcsec, yoffset = 12 arcsec

Takes a 4 dither pattern for each given filter configuration. Different exposure times may be used for each filter configuration.

mosaic <ncycles> <exp_time> <nptx> <npty> [title] [-nruns=int] [-step= int] [-clean]

Default values for command-options:

nruns = 1, step = 180 arcsec

Use –clean to discard the first 3 images before runs.

Moves the WHT in a (nptx, npty) mosaic pattern using LIRIS to take exposures of type "run" or "multrun" at each point depending on the value of the [-nruns=int] command-option. The pattern is repeated "ncycles" times. The [-step= int] command-option indicates the separation between consecutive points. 

For nptx = 5, npty = 4, the acquisition pattern is as follows:

mdithermosaic <ndither> <exp_time> <nptx> <npty> [title] [-nruns=int] [-step=int] [xoffset=int] [-yoffset=int]
                              [-jitter=float] [-clean]

Default values for command-options:

nruns = 1, step = 180 arcsec, xoffset = 12 arcsec, yoffset = 12 arcsec and jitter = 0.0

Use –clean to discard the first 3 images before runs.

Moves the WHT in a (nptx, npty) mosaic pattern taking a dither<N> pattern at each mosaic point, (same as mosaic pattern, but takes a dither at each point ).

Spectroscopy scripts

spec_nod  <ncycles> <exp_time> [title] [-nruns=int] [-offset=int] [-jitter=float] [-clean]

Default values for command-options:

nruns=1, offset=12, jitter= 0.0,

Use –clean to discard the first 3 images before runs.

Moves the WHT in a pattern such that the telescope nods the object between two positions (A,B) along the slit. Positions are separated "offset" arc seconds. Assuming the object is centred on the first position A = (0,0) , the first exposure will be just around there and the second exposure will be around B= (0, offset). 

The [-nruns=int] command-option indicates if a multrun or a single run command is going to be used for the data acquisition at each point.  If [-jitter=float] command–option is given, the A and B positions will be randomly generated to lie within a segment that is centred at each position. The dimension of the segment is the given "jitter" value.

If the pattern is to be repeated, the acquisition pattern is as follows:

For "ncycles" = 5,    AB BA AB BA AB.

ag_spec_nod <ncycles> <exp_time> [title] [-nruns=int] [-offset=int] [-jitter=float] [-clean]

Default values for command-options:

nruns=1, offset=12, jitter= 0.0,

Use –clean to discard the first 3 images before runs.

Same as "spec_nod" pattern, but the autoguider is guiding at each point.

ag_spec_nod3 <ncycles> <exp_time> [title] [-nruns=int] [-offset=int] [-jitter=float] [-clean]

Default values for command-options:

nruns=1, offset=12 arcsec, jitter= 0.0,

Use –clean to discard the first 3 images before runs.

Moves the WHT in a pattern such that the telescope nods the object between three positions (B, A, C) along the slit. The A, B and A, C positions are separated "offset" arc seconds. Assuming the object is centred on position A = (0, 0), the first exposure will be just around there, the second exposure will be around B = (0, offset) and the third will be around position C = (0, -offset).

The [-nruns=int] command-option indicates if a multrun or a single run command is going to be used for the data acquisition at each point.  If [-jitter=float] command–option is given, the A,B and C positions will be randomly generated to lie within a segment that is centred at each position. The dimension of the segment is the given "jitter" value.

If the pattern is to be repeated, the acquisition pattern is as follows:

For "ncycles" = 4,    ABC,  ABC, ABC, ABC

ag_spec_ext <ncycles> <exp_time> <sky_offset> [title] [-nruns=int] [-jitter=float] [-invert] [-clean]

Default values for command-options:

nruns =1, jitter= 0.0

Use –invert command-option to reverse offset direction

Use –clean to discard the first 3 images before runs.

Moves the WHT in a pattern such that the telescope switches between the OBJECT and SKY.  Exposures at OBJECT positions are done with the autoguider ON.
If the pattern is to be repeated, the SKY positions are randomly generated to lie on a 15 arcsec segment perpendicular to the slit centred at (sky_offset, 0).

The [-nruns=int] command-option indicates if a multrun or a single run command is going to be used for the data acquisition at each point.  If [-jitter=float] command–option is given, the OBJECT positions will be randomly generated to lie within a segment of "jitter" value size along the direction of the slit.

For "ncycles" = 4,  the acquisition pattern is as follows: 

Obj Sky1   Obj Sky2  Obj Sky3   Obj Sky4

Example: For "sky_offset" = 30 arcsec and "ncycles" = 3

ag_spec_map <ncycles> <exp_time> <npts> <step> <sky_offset> [title] [-nruns=int] [invert] [-cycle] [-clean]

Default values for command-options:

nruns =1

Use –invert command-option to reverse sky offset direction

Use –cycle to repeat each sequence of OBJn, SKYn

Use –clean to discard the first 3 images before runs.

Moves the WHT in a pattern such that the telescope makes a map switching between OBJECT and SKY positions.  Exposures at OBJECT positions are done with the autoguider ON. 

The [-nruns=int] command-option indicates if a multrun or a single run command is going to be used for the data acquisition at each point. 

Successive OBJECT positions are separated "step" arcs seconds in the direction perpendicular to the slit. SKY positions are taken at a distance of "sky_offset" arc seconds from its corresponding OBJECT pair.

The acquisition pattern will be as follows:

obj1 sky1  obj2 sky2  obj3 sky3 ....... objn skyn

If "-cycles" is given then each objN, skyN pair is repeated, resulting in an acquisition pattern as follows:

obj1 sky1  obj1 sky1  obj2 sky2  obj2 sky2  obj3 sky3 obj3 sky3 ...... objn skyn objn skyn

Acquisition scripts

lobject_inslit_map <slit ID> <x1> <y1> [<x2> <y2>..... <xn> <yn>]  [-fslitmap=string] [-ncor] [-useioff]

Default Values for command-options:

fslitmap = /wht/var/liris_slitdb_pos.dat

Use –nocor command-option to NOT perform telescope corrections due to flexures.

Use –useioff command-option to activate TCS Yoffset adjustment, otherwise Yoffset is 0.

Centres an object in a given <x,y> position within a slit by adjusting the WHT position.

If more than one x ,y positions are given then a multi slit is assumed.

lpos_mult  <slit position file> <exp_time(s)> <title> [-dbdir=string] [-fcent=string] [-run=int]

Default values for command-options:

dbdir = /wht/var/

fcent = liris_rotcent_pos.dat

nrun = 1

Other scripts

lsleep 

Place LIRIS in sleep mode. Wheels are moved to their "blank" locations. Temperature control loop is turned OFF and all calibration lamps are turned off.

UltraDAS commands

This section lists the most important UltraDAS commands used by LIRIS.
For a complete UltraDAS commands see the UltraDAS User Manual.

rmode  liris <read_mode> <Nr> <Nc>             Sets the detector read mode (MNDR / RAMP), the number of reads (Nr) and the number of coadditions (Nc) for future exposures.
storemode liris <save_mode> Sets the MNDR file save mode (normal /diff /diff_pre) for future exposures.

coave liris <Nc>

Sets the detector number of coadditions for future exposures.
arc liris <int_time> ["title"] Takes a run and sets OBSTYPE header parameter to ARC
multarc liris  <N> <int_time> ["title"] Repeats an arc N times
dark liris   <int_time> ["title"] Takes a run and sets OBSTYPE header parameter to DARK
multdarc  liris  <N> <int_time> ["title"] Repeats a DARK N times
flat            liris  <int_time> ["title"] Takes a run and sets OBSTYPE header parameter to FLAT
multflat    liris  <N> <int_time> ["title"] Repeats flat N times
glance       liris   <int_time> Takes a glance and saves it in: s1.fit. The file is overwritten every time a new glance is taken.
multglance   liris  <N> <int_time> Same as ´glance´, but produces a series of N exposures. Can be interrupted with Cntrl-C
runliris  <int_time> ["title"] Takes a run and saves in: r<xxxxxx>.fit
multrun  liris  <N> <int_time> ["title"] Repeats a run N times.
scratch    liris  <N> <int_time> ["title"]          Takes a run and saves in: s<n>.fit
multscratch   liris <N> <int_time> ["title"] Repeats a scratch N times

Telescope remote control commands

This section lists the most important TCS commands used by LIRIS.
For a complete TCS commands see the TCS User Manual.

add Add current entry to TCS catalogue
aperture   <aperture number> Offset the telescope so the image moves by a vector fixed in the focal plane.
autoguide ON | OFF Lock or unlock the autoguider loop.
gocat      <src_name> Go to specified object in catalogue
next Go to next object
object     <name> <ra> <dec> <equinox> Define new object
offset     <offs_sys> <delta-ra> <delta-dec> Offset the telescope from the reference position so that the image moves to a given position on the detector. <offs_sys> = ARC Tangent plane offset <offs_sys> = TIME RA, DEC offset
park Moves the telescope to the zenith park position and stops
rotate     <mode> <position angle> Move telescope rotator
user      <string> Send arbitrary USER command to TCS. Note: The command string should be entered in quotes, unless it consists of only one word.

Under the "user" command LIRIS scripts use the following TCS commands:

user  "SLOWOFF <ra_off> <dec_off> <slew_rate>" Same as "offset", but telescope is moved slowly so that the autoguider can track the guide star.
user  "ENTER ARC 0 <xi_skyoffset> <eta_skyoff>"  
user  "POSITION 0"  
user  "AUTO ON <X> <Y>" Tells the TCS to start guiding on the specified point.
user  "AUTO OFF" Tells the TCS to stop guiding
user "TWEEK" <xoffset> <yoffset> <paoffset>  

Diagnostic commands

lmchstat Reports the status of the EPICS Controller and LIRIS Mechanisms.
llampstat Reports the status of the LIRIS Calibration LAMPS.
lpressstat        Reports the status of the pressure sensors inside the cryostat.
ltempstat Reports the status of the ´setpoint´ temperature and temperature sensors inside the cryostat.
detstat Show LIRIS Detector Status.


ING Logo
Last Updated: 02 Nov 2004
Mischa Schirmer ( )