Atacama Pathfinder EXperiment APEX
APEX Control System
MPIfR Bonn   ESO   Onsala Space Observatory
  CONTACT APEX WEBMAIL INDEX SEARCH HELP NEWS

Home > Observing with APEX > APEX Control System > Basic APECS commands

Basic APECS commands

This page explains in detail the setup of observing projects at APEX through some basic APECS commands. Note that the information on this page is not needed to submit your project details - it is provided only for those who want to know more about APECS.

Frontends and Backends

The available frontends for APEX are listed on the system summary page. Possible receiver options currently include APEX-2A (known to the system as "het345") and FLASH (which is a PI instrument).

Example 1: APEX-2A

frontends(['het345'])

Example 2: both colors of FLASH

frontends(['flash460','flash810'])

The heterodyne receivers can currently be connected to the facility FFTS (known to the system as "ffts1") as spectral line backend. The bandwidth of the FFTS is fixed to 1GHz, but the number of channels is freely configurable (in powers of 2) between 1024 and 16384, depending on the required spectral resolution.

Example 1: setting up the FFTS for APEX-2A with 8192 channels

het345.backends (['ffts1'])
ffts1_group (1,bandwidth=1000,numchan=8192)

Example 2: setting up the FFTS for FLASH, with 4096 channels for 460GHz and 2048 channels for 810GHz

flash460.backends (['ffts1'])
flash810.backends (['ffts1'])
ffts1_group (1,bandwidth=1000,numchan=4096)
ffts1_group (2,bandwidth=1000,numchan=2048)

Source and line catalogs and selection

Source information and (in case of heterodyne observations) line information can be given as APECS commands or can be stored in catalogs which will be loaded after startup by the APECS system (which is the preferred way). There are system-wide catalogs, with e.g. pointing sources and widely accepted molecular line frequencies, and user catalogs, which include your target sources and special molecular line frequencies.

For projects with just one (or a few) sources it is probably easier to specify all source information using the source command of APECS instead of preparing a source catalog. An example would be:

source(name='R-And',x=('00:24:01.939','hms'),y=('38:34:37.12','dms'),system='eq',epoch=2000.0,velocity=-15.0,frame='LSR')

This command line contains all the information that you could have put into a source catalog.

The same is valid for spectral lines. If you only want to observe one or a few spectral lines, or your lines are contained in the system line catalog, there is no need to create a user line catalog. You should rather specify all necessary information using the line command:

het345.line(name='CO(3-2)', frequency=345.79599, sideband='LSB', unit='GHz')

Observing procedures, patterns, reference positions, offsets, ...

The basic switch mode for heterodyne observations currently is position switching. Other switch modes (wobbler switching and frequency switching) will be implemented in the future. For mapping of extended sources this switch mode can be combined with an on-source raster pattern. In addition, on-the-fly mapping is available, moving the telescope continuously and observing a reference position after each subscan.

Example setup and observing macros

We have collected a number of example macros which give you an idea how the projects are set up and observed in practice.

Further information

Full documentation of the APECS CLI can be found in the following document (pdf format):