Home

APECS User Manual

image

Contents

1. 1 10 R vision 1 13 2 c LL sisi au Bee ads LE de HERR eR Ew ds be D de 1il Revision LID eos Lisa ew BA ee eh eda me Be SEE da LIFE Es es Observing with the APEX Telescope Breath ie eu is se E ae er tse face chess ot memset ak Hecate ete en aa la da e A dee es Se eg 3 2 ap cs commands 2 aos r poe w eb bay RY eR od ee Re ee ee a ae S 3 2 1 Generals ec ae op the ae ante pecs A Gach ns dome A ote a ae fs me Rie ate ot wo oh we Be ahd es A A te See ee nd a ds dl En seers Terror cee 3 2 1 3 observer ad s sa e 48 a Bee bod leet hd ae da 3 2 1 4 SHOW hig 2 Re A Re eee ee Rw SE Re GE oe AS aoe ae a ee a 3 2 1 5 ME AAA iaa oc 3 2 1 7 TCH A Seftor tee ce tahoe ance SM A i Ate Ee Se ce 3 2 1 8 Cancel SEE Se e AS ae Gee gee Be ive En Se a ee 3 2 1 9 SA 4 44 dpe a M de a ae Hi Ae es he owt 3 2 1 10 Save DISTOPY yeso du deh hw oe ee aa ee ek Se ee Pitts a de es Oa eee Be LUN a a da eee ee a a ee E E ee B2113 reset defaults 3 2 1 14 ODSErVEl s sir a bw hk Gd a A a ee a wh le sd 3 2 1 15 continuous datal 3 2 1 16 skiphardware_setupl 17 remote Control a 24 He He Gh a a Ge IE nos due ue 3 2 2 CATAlOBS e ne Dame Sa A ee oe 3 2 2 1 SOUTC CALS 24 8 8 4 eb ads D EAU ebb et bees en ba Ss do 3 2 2 2 ephemerides 3 2 2 3 Mime Cates Setar tet
2. Table 3 4 APEX heterodyne and continuum frontends The receiver cabins are named A left Nasmyth B right Nasmyth and C Cassegrain 1One pixel per sideband 2Virtual dual pixel setup to capture amplitude and phase Create Date April 11 2012 Page 19 Contact author Dirk Muders APEX APECS User Manual Backend CLASS Type Bandwidths per Number Numbers of Status Acronym input MHz of inputs spectral channels AFFTS AF Spectral 1500 32 8192 4096 4 2 1 PI XFFTS XF Spectral 2500 4 65536 32768 1 PI XFFTS2 X2 Spectral 2500 4 32768 1 Facility ZSPECBE ZB Spectral 120000 3 160 30 1 PI PBE_A PA Continuum FE IF bandwidth 8 1 Facility PBE_B PB Continuum FE IF bandwidth 8 1 Facility PBE_C PC Continuum FE IF bandwidth 8 1 PI PBE_D PD Continuum FE IF bandwidth 8 1 PI PBE_E PE Continuum FE IF bandwidth 8 1 PI PBE_F PF Continuum FE IF bandwidth 8 1 PI ABBA AB Continuum FE IF bandwidth 320 1 Facility SZACBE ZA Continuum FE IF bandwidth 331 1 PI SZDCBE ZD Continuum FE IF bandwidth 331 1 PI ARTBE AR Continuum FE IF bandwidth 256 1 PI KIDSBE KB Continuum FE IF bandwidth 256 1 PI Table 3 5 APEX spectral and continuum backends AFFTS XFFTS XFFTS2 ZSPECBE PBE A PBEB PBE_C PBE_D PBE_F MPI R MPIR ESO MPIFR MPIfR MPIR HET 230 HET345 HET460 P P lt P lt P lt HE
3. find go re APEX MPI MAN 0011 i Atacama Pathfinder Revision 2 5 EXperiment Release April 11 2012 Category 4 User Manual Author Dirk Muders APECS User Manual Dirk Muders Keywords APECS Observing Operating Author Signature Dirk Muders Date April 11 2012 Approved by G Wieching Signature G Wieching Institute APEX Date Apr 11 2012 Released by G Wieching Signature G Wieching Institute APEX Date Apr 11 2012 APEX APECS User Manual Change Record Revision Date Author Section Remarks Page affected 1 0 2005 08 26 Dirk Muders All Initial Version 1 1 2006 06 16 Dirk Muders Selected paragraphs Updated to APECS 0 9 1 11 2006 06 22 Dirk Muders 14 Updated FLASH frequency ranges 18 Updated calibrate command syntax 1 12 2006 09 03 Dirk Muders Selected paragraphs Updated to APECS 1 0 Added spiral mode setup commands Updated use_ref documentation Fixed derotate command description 1 13 2007 04 03 Dirk Muders Introduction Updated project directory structure apecs commands Added drift command Iterated project_id and spiral_setup commands Updated instrument list CORBA CDB reference Updated CORBA component list 1 14 2007 06 08 Dirk Muders apecs commands Updated Heterodyne frontend name source raster and otf command syntax Added hexa comm
4. With APECS 2 2 we begin providing version controlled observing and data reduction scripts in the APECSROOT share apecs APECSROOT share gildas and APECSROOT share boa directories The observing scripts can be easily used via the new exec_apecs_script command which automatically prepends the corresponding path One can also run them via execfile APECS_SCRIPTS lt script name gt The list of existing frontends and backends and the tables of CORBA component names has been updated The ACS alarm system has been enabled for BACI properties to provide alarms for critical monitor points such as rack or cabin temperatures 1 6 Revision 2 1 This revision of APECS was introduced in mid 2009 to fix a bug in VxWorks that caused the ABM to crash quite often The VxWorks operating system was upgraded from version 6 6 to 6 7 1 7 Revision 2 0 Revision 2 0 of APECS was installed in January 2009 It was a major change in several aspects The version of the ALMA Common Software ACS was upgraded from 2 0 1 to 8 0 the Linux version changed from RedHat 7 2 to Scientific Linux 5 2 and the server and network hardware was upgraded to modern machines and gigabit bandwidths to be able to handle the high data rates of the current and future instrumentation at APEX Using an up to date ACS allows to benefit from the ongoing software developments of the ALMA project and to use new ACS features 1 8 Revision 1 15 This revision describes the APEC
5. ms rr he e045 ebb a e Pee we Ea Ea ee be pe 48 O1 Chapter 1 What s new 1 1 Revision 2 5 In January 2012 APECS was upgraded to ACS 10 1 This maintenance upgrade was installed to follow the ALMA ACS developments and to benefit from improvements and bug fixes Some of the APECS servers have been replaced with new machines The deployment diagram and tables have been updated accordingly The apecs commands chapter has been updated to document a number of small changes introduced in 2011 1 2 Revision 2 4 In February 2011 the Antenna Control Unit ACU was upgraded to model ACU 8200 involving an ICD change between the APECS ABM and the ACU The new ICD was implemented in APECS 2 4 The normal APECS functionality was not changed compared to APECS 2 3 1 3 Revision 2 3 In January 2011 APECS was upgraded to ACS 9 0 and Scientific Linux 5 5 This maintenance upgrade did not change the functionality compared to APECS 2 2 1 that was used until the end of 2010 APECS 2 3 was installed as a fallback system still using the the Antenna Control Unit ACU 8100 1 4 Revision 2 2 1 Added remote control command Updated project_id description to document new parameter values The frontends and backends commands now also take names without quotes and brackets Updated the instrument and CDB tables 1 5 Revision 2 2 The revision describes the APECS 2 2 release version as of March 2010 The main change is the switch to the current vers
6. Set up a spiral On The Fly pattern for use with other observing commands The spiral is performed relative to the current offset position It is defined by a start radius a radial velocity and an angular velocity The default backend dumptime 0 5 s This can be overriden with the backend setup commands The total time for the spiral is defined by the individual observing commands like on raster point etc The spiral mode is mutually exclusive with the linear and Lissajous modes 3 2 7 3 lissajous lissajous xlen lt x Length gt ylen lt y Length gt omega_x lt Angular velocity in x direction gt omega_y lt Angular velocity in y direction gt xlen_unit arcsec arcmin deg ylen_unit arcsec arcmin deg omega_x_unit rad s deg s omega_y_unit rad s deg s Set up a Lissajous On The Fly stroke for use with other observing commands The Lissajous pattern is performed relative to the current offset position It is defined by extents and angular velocities along the x and y axes of the observing coordinate system The angular velocities are currently limited to 0 0 0 11 rad s The Lissajous mode is mutually exclusive with the linear and spiral modes 3 2 8 Switch Mode 3 2 8 1 tp tp Create Date April 11 2012 Page 31 Contact author Dirk Muders APEX APECS User Manual Select total power mode All subsequenct scans are performed witho
7. window Apart from the scan progress it also shows antenna and environmental conditions and signals warnings as inverted yellow text and critical conditions as inverted red text Immediate observer or operator attention is required for the latter ones To process your data please use the GILDAS software for spectral line data and BoA or Crush for bolometer data Please run any data reductions on the paruma or paniri computers At the end of the observing session please stop all clients using the stopAPECSMonClients and stopAPECSObsClients scripts before logging out Create Date April 11 2012 Page 14 Contact author Dirk Muders APEX APECS User Manual 3 2 apecs commands The apecs commands are divided into several groups to handle source setup instrument setup and pattern setup In addition to that there are commands for various calibrations and some miscellaneous commands Type help apecs at the APECS gt prompt to get an overview and help command to get a descrip tion of the individual commands and their current default values User parameters are usually taken as the next default except for a few cases where this does not make sense e g source pcorr fcorr etc APEX does have a 30 degree Sun avoidance zone There is an automatic avoidance mechanism that moves the telescope around the Sun if necessary This mechanism works only when using apecs commands Observers must not move the tele
8. 3 3 3 Spectral Line Instrument Setup Define frontend s frontends pi460 Define lines pi460 line C0O 4 3 Spectral backend setup Note the group numbers that the CLI displays They can also always be queried using the show command pi460 backends affts Configure the spectral backends affts_group configure 1 numchan 8192 3 3 4 Initial Calibrations Select a submm calibrator source mars Select continuum backend s also for heterodyne receivers flash345 backends pbe_a flash460 backends pbe a Perform a SKY HOT COLD measurement calibrate Perform an OTF cross scan The online calibrator automatically fits a Gaussian and provides the offsets to correct the pointing model point Fetch the pointing offsets and apply them to the receiver pointing model pcorr Perform a focus measurement default Z i e radial focus focus Fetch the focus offsets and apply them to the receiver focus position and auto correct its pointing model for lateral focus shifts fcorr 3 3 5 Continuum Observations Select frontends and continuum backends as shown above Select a science target source orion Define a reference position for the calibration reference 3600 0 Perform a SKY HOT COLD measurement calibrate Perform an OTF map Note that the reference is not being used here since no spectral backend is connected otf 36
9. Macros are executed using the execfile command Create Date April 11 2012 Page 16 Contact author Dirk Muders APEX APECS User Manual 3 2 1 11 save defaults save defaults lt File name gt Not yet implemented Will save the current user command defaults to a file 3 2 1 12 load defaults load defaults lt File name gt Not yet implemented Will load user command defaults from a file 3 2 1 13 reset_defaults reset defaults Not yet implemented Will load system defaults for all commands 3 2 1 14 observe observe observe lt Scan object gt The internal method to submit a scan to the Observing Engine May be used to submit non standard Scan Objects 3 2 1 15 continuous data continuous_data on off Switch between subscan based off or continuous on data taking during the whole pattern i e also when turning around to the next row or column etc Turning this mode on is recommended only for bolometer array observations For all other observing setups the online and offline data calibration and reduction would no longer work 3 2 1 16 skip hardware setup skip_hardware_setup on off Select whether or not hardware should be set up for a scan If the flag is set then hardware is not configured if the setup is identical to the one used in the preceeding scan and if that scan has been completed less than 30 minutes ago This saves sca
10. The dump time is given in seconds and can range from 0 0 to 4 0 s The gain can be an integer between 1 and 100 It controls the dynamic range by scaling the input signal by 1 gain 3 2 3 9 lt Continuum backend name gt group configure lt Continuum backend name gt _group configure group lt Group number gt offset lt Offset in MHz gt sections lt List of backend sections gt Configure a continuum backend section group The necessary group number is being displayed by apecs when connecting the backends to the frontends It can also be queried using the show command The section group radio frequency offset is given in MHz The default sections making up this group can be overridden if needed They must be given as a list 3 2 3 10 lt Spectral backend name gt configure lt Spectral backend name gt configure dumptime lt Time in seconds gt Configure the spectral backend dump time The default is 0 0 s which means that the system determines the time automatically The dump time is given in seconds and can range from 0 0 to 4 0 s 3 2 3 11 lt Spectral backend name gt group configure lt Spectral backend name gt group configure group lt Group number gt bandwidth lt Bandwidth in MHz gt numchan lt Number of channels gt offset lt Offset in MHz gt linename lt Alternative line name gt sections lt List of backend sections gt Configure a spectral line backend section group The necessary group numbe
11. command In case of the race track pattern all cycles are performed in one subscan The durations in seconds of the linear stroke and the turn around can be set individually however the turn around time must be at least 2 seconds to avoid extreme telescope accelerations The default backend dump time for drift scans is 0 5 s This can be overridden by setting individual backend dump times using the backend setup commands Create Date April 11 2012 Page 30 Contact author Dirk Muders APEX APECS User Manual This mode is mainly used for the SZ project to minimize signal modulations by the earth s atmosphere 3 2 6 10 repeat repeat lt Number of pattern repeats gt Set the number repeats for any given observing mode Used to repeat a given pattern e g a raster lt N gt times Note that repeat also applies to the pointing and focus commands Selecting a new source or a new backend setup will reset the repeat count to 1 3 2 7 Stroke Mode 3 2 7 1 linear linear Select the linear stroke mode This is the normal mode for all patterns Alternatively one can select spiral or Lissajous figures The linear mode is mutually exclusive with the spiral and Lissajous modes 3 2 7 2 spiral spiral r0 lt Starting radius gt r_dot lt Radial veolcity gt phi_dot lt Angular velocity gt r0 unit arcsec arcmin deg r_dot_unit arcsec s arcmin s phi_dot_unit deg s arcmin s
12. embedded systems For a proper debugging one needs to have at least a coarse idea of how the system works The details of the APECS design have been compiled in some training documents Here we give just a short summary of the setup The APECS system is using CORBA as the main communication mechanism A number of CORBA services naming notification CDB etc are started first Without those services the system will not work at all There is a central manager process that knows about the layout of the system in particular which process is running on which machine Next there are a number of so called container processes in which the CORBA objects are being instantiated The CORBA objects are mostly used to map hardware functionality into the control system For APEX it was decided to not burden the instrument developers with CORBA software development which can be quite heavy Instead we agreed on a simple text protocol based on the SCPI standard to send commands to the instrument control systems and to receiver monitor point information Thus the APEX CORBA objects are simply a wrapper between CORBA requests and corresponding SCPI commands sent via UDP socket connections to the embedded systems I They are therefore automatically generated from the IDL interface files The ABM CORBA objects inherited from ALMA via the TICS software are different They are implemented using the CAN bus communication directly without additional layers It is im
13. in the scan status the MBFITS writer reports increasing monitor point delays of many seconds The antenna CORBA compo nents are no longer available Restart APECS Restarting the APECS servers does not start the ABM properly The ABM may have lost its ethernet connection and can no longer be booted remotely Type lt CTRL X gt in the minicom 1 window on opt2 to reboot the ABM Wait until it is back up and then restart APECS again Table 4 2 Known APECS problems and their solutions With APECS 2 0 we began providing a number of individual restart scripts for the core applications This helps in restarting only portions of the system and it also makes sure that the application is running under the correct account The restart scripts need to be run as user apex on control3 Table 4 3 shows the available commands Create Date April 11 2012 Page 41 Contact author Dirk Muders APEX APECS User Manual Application Restart command Online Calibrator onlineCalibrator start stop restart Online MBFITS Writer fitsWriter start stop restart Observing Logger Server obsLoggerServer start stop restart Observing Engine obsEngine start stop restart Table 4 3 Core APECS application restart commands 4 5 Notes and Caveats Note that using only stopAPECSServers followed by startAPECSServers will not stop any clients The idea is to leave the clients
14. A APEX IF3 CHAIN3 aux if3 N A APEX IF3 CHAIN4 aux if3 N A APEX IF4 aux if4 N A APEX IF4 CHAIN1 aux if4 N A APEX IF4 CHAIN2 aux iff N A APEX IF5 aux if N A APEX IF5 CHAIN1 aux if N A APEX IF5 CHAIN2 aux if N A APEX IF5 CHAIN3 aux if N A APEX IF5 CHAIN4 aux if N A APEX IFC1 aux if control champ N A APEX IFC1 CHAIN1 aux if control champ N A APEX IFC1 CHAIN2 aux if control champ N A APEX IFC2 aux if control champ N A APEX IFC2 CHAIN1 aux if control champ N A APEX IFC2 CHAIN2 aux if control champ N A APEX IFVI aux instruments2 apexVLBIDownConverter Control APEX IFV1 CHAIN1 aux instruments2 apex VLBIDownConverterControl APEX IFV1 CHAIN2 aux instruments apex VLBIDownConverterControl Table 5 3 APECS CORBA components containers server hosts and processes providing the actual implementation ctd Create Date April 11 2012 Page 45 Contact author Dirk Muders APEX APECS User Manual CORBA Object Name Container Embedded System Process Host s APEX OPTICS A aux cs al apexOpticsA Control APEX OPTICS B aux optics b N A APEX OPTICS C aux cs al cmirror APEX OPTTEL opttel instruments2 N A APEX RADIOMETER environ instruments2 apexRadiometerControl APEX RADIOMETER RESULTS environ instruments2 apexRadiometerControl APEX RADIOMETER MAINTENANCE environ instruments2 apexRadiometerControl Table 5 4 APECS CORBA components containers server hosts and processes
15. REFPLLSYNTHESIZER aux apexcool compdata amp apexSynthesizer Control APEX REFILLTANK infra apexcool compdata amp pt100server APEX TEMPERATURES infra apexcool pt100server APEX TSGEN aux instruments apexTSGenControl APEX WEATHERSTATION environ instruments apexWeatherStationControl Table 5 6 APECS CORBA components containers server hosts and processes providing the actual implementation ctd Create Date April 11 2012 Page 48 Contact author Dirk Muders Bibliography ER N w al CA N 00 Hafok H Muders D amp Olberg M 2006 APEX SCPI Socket Command Syntax and Backend Data Stream Format APEX Report APEX MPI ICD 0005 Rev 1 0 Muders D 2007 APEX Instruments Generic CORBA IDL Interfaces APEX Report APEX MPI ICD 0004 Rev 1 9 Muders D Hafok H Wyrowski F Polehampton E Belloche A K nig C Schaaf R Schuller F Hatchell J v d Tak F 2006 APECS The Atacama Pathfinder Experiment Control System A amp A Letters 454 L25 L28 Muders D Hatchell J Lemke R Olberg M amp Hafok H 2002 Software Interfaces for Submil limeter Telescope Instrumentation APEX Report APEX ICD MPI 0001 Muders D Polehampton E amp Hatchell J 2007 Multi beam FITS Raw Data Format APEX Report APEX MPI ICD 0002 Rev 1 62 Pardo J R Cernicharo J amp Serabyn 2001 Atmospheric Transmission at Microwaves ATM An Improved Model for Millimeter Submillimeter App
16. and the ones expected until the end of 2012 Table shows the backends and their specifications The CLASS acronyms in both tables are being used to create the CLASS header variable TELESCOPE according to the naming scheme AP lt 2 letter frontend acronym gt lt 2 digit pixel number gt lt 2 letter backend acronym gt lt 2 digit baseband number gt Finally tables and show the possible FEBE combi nations Frontend CLASS Type Receiver Number Tuning Bandwidth Status Acronym cabin of pixels Range GHz GHz HET230 H2 Heterodyne SSB A 1 211 275 4 Facility HET345 H3 Heterodyne SSB A 1 275 370 4 Facility HET460 H4 Heterodyne DSB A 1 385 500 4 Facility HET1300 H1 Heterodyne DSB A 1 1250 1390 2 Facility FLASH345 F3 Heterodyne 2SB A 274 376 2 x 4 PI FLASH460L FL Heterodyne 25B A 2 385 490 2x4 PI FLASH460H FH Heterodyne 25B A 27 460 510 2x4 PI CHAMP690 C6 Heterodyne SSB B 7 620 720 4 PI CHAMP810 C8 Heterodyne SSB B 7 790 950 4 PI PI460 P4 Heterodyne DSB A 1 450 490 2 PI PI1100 Pl Heterodyne DSB A 1 967 1042 4 PI ZSPEC ZS Heterodyne A 2 180 300 120 PI LABOCA LB Bolometer C 295 345 760 Facility SABOCA SB Bolometer C 37 850 50 Facility BOLOSZ SZ Bolometer C 331 150 750 TBC PI ARTEMIS450 A4 Bolometer A 256 666 N A PI ARTEMIS200 A2 Bolometer A 256 1499 N A PI BOLOB BB Bolometer B 37 230 80 PI KIDS KI Bolometer B 93 345 60 PI HOLO HO Holography C 1 92 4 0 56 Techn
17. baseband numbers as defined in MBFITS 4 The spec tra naming scheme is AP lt 2 letter frontend acronym gt lt 2 digit pixel number gt lt 2 letter backend acronym gt lt 2 digit baseband number gt The frontend and backend acronyms are given in tables and The obslogs link points to the directory containing the project s automatically generated ob servation logs in XML and HTML format by the apexObsLoggerServer The files are named APECS lt Project ID gt lt YYYY MM DD gt obslog and APECS lt Project ID gt lt YYYY MM DD gt html The apexObsLoggerClient application will display today s project specific logs in a window and allow editing the user comments while observing System comments are given in square brackets 13 APEX APECS User Manual A file menu allows to view older logs of the same project The log files are also transferred to the project database for remote access The logs are part of the final data package that the PI will receive These links point to the local data directories depending on whether the machine is located at Chajnantor or in Sequitor This avoids transferring large amounts of data over the network The data and log files are first stored on a RAID at Chajnantor They are transferred to Sequitor once per hour For data inspection immediately after the observations one must therefore use the Chajnantor data reduction computer chajdr paruma For full data reduction using data taken over longer
18. given radius for 2 or more consecutive time ticks of 48ms 3 2 9 2 park park Move the telescope to the stow position South at 15 degrees elevation and switch to SHUTDOWN mode without inserting the stow pins This command should be used at the end of an observing session to park the telescope in a safe position 3 2 9 3 zenith zenith azimuth current lt Angle in degrees gt Move the telescope to zenith By default the scan is performed at the current azimuth Optionally an azimuth value can be given in degrees 3 2 9 4 stow stow Move the telescope to the stow position South at 15 degrees elevation insert the stow pins switch to SHUTDOWN mode and stow the wobbler Note that the Observing Engine will refuse to observe any further scan until the telescope is un stowed This command should be used in case of critical environmental conditions that could do harm to the telescope if it is not stowed Create Date April 11 2012 Page 32 Contact author Dirk Muders APEX APECS User Manual Caution You must use unstow to retract both the antenna and wobbler stow pins Local operation at the ACU is not sufficient 3 2 9 5 unstow unstow Retract the antenna and wobbler stow pins and park the telescope at the stow position South at 15 degrees elevation The telescope is now prepared for observations Note that the wobbler is not unstowed if the antenna pins are taken out at the ACU or via the acu_wiu script
19. gt Perform a rectangular On The Fly mapping The telescope scans along map rows or columns with a speed defined by the step and time parameters while data is being written once per defined time interval If zigzag 1 the OTF map is done bi directionally reducing the telescope overhead The direction defines the scanning axis The angle defines the position angle of the map relative to the coordinate system The sign of this angle follows the mathematical convention for all coordinate systems The mode can be ordered to obtain a defined sequence of points or jiggle to observe the OTF lines in random order Reference subscans are inserted according to the settings given in the reference command except for wobbler mode For long scans calibrations can be inserted within the map for every on2cal on subscans The setup makes sure that ref on cycles are completed before the next calibration Thus on2cal is the minimum number of subscans between calibrations The calibrations are performed according to the settings in the calibrate command Note that an initial calibrate command is needed after tuning a receiver to auto level the IFs Note that the steps along the scanning axis should be ideally chosen to be 0 45 times the current beam size The beam will become elongated if the steps are chosen to be too large Note that the resulting CLASS data are projected into encoder coordinates horiz
20. model Usually the numbers are fetched automatically f from the online calibrator For line pointings one currently needs to run the reduction script lpoint class manually offline and enter the numbers manually as displayed by the script Specifying keeps the previous value 3 2 5 9 pcorr_reset pcorr_reset Reset the user pointing offsets to zero 3 2 5 6 focus focus amplitude lt Amplitude in mm or arcsec gt time lt Time per subscan gt points lt Number of points gt axis z y x xtilt ytilt mode pos neg sym Perform a focus scan to check the local focus point at the current elevation The focus of the selected axis is moved in the range of amplitude to tamplitude with the given number steps in between The mode can be pos itive for increasing offsets neg ative for decreasing offsets or sym metric for both starting with increasing offsets A measurement is taken for each focus setting and the online calibrator tries to fit a parabola to the data 3 2 5 7 fcorr fcorr fcorr delta lt Offset in mm or arcsec gt f axis z y x xtilt ytilt febe lt FEBE to use for the fit gt group lt Section group number gt Correct the local focus setting for a given axis The number and the axis are fetched automatically f from the online calibrator if no parameters are give
21. operations account in the contro13 1 VNC server After that server startup clients can use the APECS services It is possible to run several client sessions in parallel for different projects The operators will also create a new account for you based on your project ID You must use that account for observing since all data products and log files are produced in separate project direc tories which are only accessible to the project account Personal bash setups should be made in HOME acs bash_profile USER to avoid overwriting APECS settings After logging on to one of the APECS client computers you will find three symbolic links to your project s data The rawdata link points to the directory containing the current MBFITS raw datasets on a computer at Chajnantor The MBFITS dataset directories are named APEX lt Scan number gt lt YYYY MM DD gt lt Project ID gt where the scan number is a sequential number starting with 1 on January 1 every year and the project ID is defined as described in section 3 2 1 1 The scidata link points to the directory containing the project s calibrated CLASS files at Cha jnantor The file naming scheme is lt Project ID gt lt YYYY MM DD gt apex i e you will find one file per day The spectra are identified using the CLASS TELESCOPE header variable Due to the variable length restriction of 12 characters we had to use acronyms to specify the frontend and backend names and the pixel and
22. parameters The mode can be DSB SSB or 2SB The ratios are the linear image to signal band gain ratios for all feeds in numerical order The frequency switching throw s are given in MHz Usually symmetric switching fthrow is assumed Asymmetric switching can be commanded using a list of throws e g 10 0 15 0 The offsets are being used for the frequency switching observing mode which is activated by the fsw command Note that the Observing Engine automatically chooses the recommended harmonic number if the user sets this to zero which is the default A non zero number will override the system defaults The doppler parameter controls whether a Doppler correction is being applied for this frontend It can be ON or OFF The tuning mode is an optional string to control the receiver tuning Details are given in the online help in the apecs CLI Create Date April 11 2012 Page 21 Contact author Dirk Muders APEX APECS User Manual 3 2 3 5 lt Heterodyne frontend name gt line lt Heterodyne frontend name gt line name lt Line name gt frequency lt Number gt sideband 1lsb usb unit GHz cats all user sys Select the line to be used for the heterodyne frontend tuning The system will try to find the line in the catalogs if only the name is given Reading from the line catalogs performs a left sided match with upper or lower case and wildcards for remainder of the string The cats
23. periods one must use the Sequitor machine seqdr paniri Note that all of the above directories and files belong to the apexdata operations account You cannot modify any of those files or create new ones within those directories as they are the base of the APEX archive Make new directories and files off of your home directory and work from there Please do not start applications inside the system directories since you do not have write permission there Apart from the data directories there are a number of init files for the GILDAS software and the lpoint class macro to reduce line pointings type lpoint in your CLASS session and enter the parame ters asked for by the script the line pointing fit will later be done automatically by the Online Calibrator If you log into a full KDE session there is also a Desktop setup with the APECS_XTerm icon Note that the normal KDE terminals need to be started with the 1s option to correctly load the APECS paths To start your observing session type restartAPECSMonClients in one window This will start several monitoring programs Then type restartAPECSObsClients to start the necessary observing programs including the apecs CLI The latter can also be simply started by typing apecs in a terminal window The observing clients include a default log message display showing the observer related logs only The operator logs are shown in the control3 1 VNC server The calibrator messages are shown in the calibra
24. providing the actual implementation ctd Create Date April 11 2012 Page 46 Contact author Dirk Muders APEX APECS User Manual CORBA Object Name Container Embedded System Process Host s APEX AFFTS backends affts N A APEX AFFTS BAND1 backends affts N A APEX AFFTS BAND2 backends affts N A APEX AFFTS BAND3 backends affts N A APEX AFFTS BAND4 backends affts N A APEX AFFTS BAND5 backends affts N A APEX AFFTS BAND6 backends affts N A APEX AFFTS BAND7 backends affts N A APEX AFFTS BAND8 backends affts N A APEX AFFTS BAND9 backends affts N A APEX AFFTS BAND10 backends affts N A APEX AFFTS BAND11 backends affts N A APEX AFFTS BAND12 backends affts N A APEX AFFTS BAND13 backends affts N A APEX AFFTS BAND14 backends affts N A APEX AFFTS BAND15 backends affts N A APEX AFFTS BAND16 backends affts N A APEX AFFTS BAND17 backends affts N A APEX AFFTS BAND18 backends affts N A APEX AFFTS BAND19 backends affts N A APEX AFFTS BAND20 backends affts N A APEX AFFTS BAND21 backends affts N A APEX AFFTS BAND22 backends affts N A APEX AFFTS BAND23 backends affts N A APEX AFFTS BAND24 backends affts N A APEX AFFTS BAND25 backends affts N A APEX AFFTS BAND26 backends affts N A APEX AFFTS BAND27 backends affts N A APEX AFFTS BAND28 backends affts N A APEX AFFTS BAND29 backends affts N A APEX AFFTS BAND30 backends affts N A APEX AFFTS BAND31 backends affts
25. running so that they can re connect once the servers are back up This only partially works in APECS 2 5 We still recommend to always use restartAPECSServers or issue an explicit stopA11APECSClients before stopping the servers The abm computer s console is connected to opt2 via an RS232 line which is accessible through the minicom 1 command on opt2 One can thus access the abm independent of the ethernet to check its status or possibly reboot it by typing reboot at the abm1 gt prompt or if it is not reacting anymore by typing lt CTRL X gt Never type exit at the abm prompt as this closes the login shell and the computer needs to be rebooted Use logout if you are connected via rlogin or rsh Create Date April 11 2012 Page 42 Contact author Dirk Muders Chapter 5 CORBA CDB Reference Tables 5 1 to 5 6 summarize the names of all APECS CORBA objects as defined in the CDB Configuration Database The names are needed to access the objects e g via the apexObsUtils getMCPoint command CORBA Object Name Container Embedded System Process Host s ABMO CLOCK abm0 control2 maciContainer abm0 ABMO TIMER abm0 control2 maciContainer abm0 ABMO TRAJECTORY abm0 control2 maciContainer abm0 ABMO ANTMOUNT abm0 control2 maciContainer abm0 ABMO WOBBLER abm0 control2 maciContainer abm0 ABM1 CLOCK abm1 abm maciContainer abm1 ABM1 TIMER abm1 abm maciContainer abm1 ABM1 AMBCAN abm1 abm maciContain
26. the correct apecs name space and will thus not work Note that Python is strict about keeping the same amount of indentation for a given loop or branch level Note that all APECS computers are running on TAI rather than UTC even though the time com mands claim to display GMT Linux does not have a TAI timezone The local time is thus currently 34 seconds ahead of UTC This number will increase by one whenever the next leap second will be introduced For operators and astronomers on duty Be extremely careful when using apexAntMount expert to move the telescope because it does not obey the Sun avoidance zone Create Date April 11 2012 Page 36 Contact author Dirk Muders Chapter 4 Operating the APEX Telescope 4 1 Introduction This section is aimed at APEX operators and experienced test observers It describes how to start APECS and how to troubleshoot the system The hints and recipes apply to the software status as of March 2010 The system is still evolving as development debugging and improvements are still going on Thus the content of this chapter will change with time and this document will be updated accordingly APECS is running on a number of control computers inside the antenna instruments3 opt2 abm in the control containers at Chajnantor servers contro13 display2 clients observer3 chajdr paruma and in the base at Sequitor segdr paniri All of those c
27. 00 1 200 8 time 0 005 system eq Create Date April 11 2012 Page 34 Contact author Dirk Muders APEX APECS User Manual 3 3 6 Spectral Line Observations Select frontends and spectral line backends as shown above Select a science target source orion Define a reference position Note that the time will be automatically computed for the different observing modes if it is set to 0 0 in the reference command this is the default reference 3600 0 Perform a SKY HOT COLD measurement calibrate Perform an OTF map Note that the reference is being used automatically if spectral backends are connected otf 400 3 30 3 time 0 1 system eq 3 4 Macros and Loops Macros are supported via execfile The scripts must use standard Python syntax with brackets To run a set of apecs commands edit them into a text file and execute them from the APECS gt prompt by typing execfile lt filename gt There are some default observing macros in the APECSROOT share apecs directory To run them one can use exec_apecs_script lt Script name gt or execfile APECS_SCRIPTS lt Script name gt Currently there are macros to set up SHFI shfi_commands apecs FLASH flash_commands apecs and CHAMP champ_commands apecs which provide high level setup commands setup_shfi setup_flash and setup_champ that take into account certain hardware limitation
28. 3 2 9 6 stow_wobbler stow_wobbler Perform a direct stow of the wobbler To be used only when recovering from any wobbler error conditions see wobbler manual 3 2 9 7 init wobbler init wobbler Perform a direct unstow and initialization of the wobbler To be used only when recovering from any wobbler error conditions see wobbler manual 3 2 9 8 reset _wobbler reset wobbler Perform a direct reset of the wobbler errors To be used only when recovering from any wobbler error conditions see wobbler manual 3 2 9 9 switch c optics switch c optics cabin A B C Switch the Cassegrain optics to point to the given cabin A B or C Note that this can only be done when the telescope is pointing to zenith 3 3 A typical Observing Session The following sections show some example sequences of apecs commands to set up source and instruments and to perform some typical continuum and spectral line observations 3 3 1 Source Setup Define a source catalog sourcecats user cat Define a line catalog linecats user lin Load a source from the catalog source bn k1l Create Date April 11 2012 Page 33 Contact author Dirk Muders APEX APECS User Manual 3 3 2 Continuum Instrument Setup Define frontend s frontends laboca laboca configure gain 2 Continuum backends laboca backends abba Select continuum backend gain abba configure gain 4
29. CS User Manual CORBA Object Name Container Embedded System Process Host s APEX HET230 frontends hfe_ control N A APEX HET230 LO1 frontends hfe_control N A APEX HET345 frontends hfe_control N A APEX HET345 LO1 frontends hfe_control N A APEX HET460 frontends hfe_control N A APEX HET460 LO1 frontends hfe control N A APEX HET1300 frontends hfe control N A APEX HET1300 LO1 frontends hfe_control N A APEX FLASH345 frontends flash LabView APEX FLASH345 LO1 frontends flash LabView APEX FLASH460L frontends flash LabView APEX FLASH460L LO1 frontends flash LabView APEX FLASH460H frontends flash LabView APEX FLASH460H LO1 frontends flash LabView APEX CHAMP690 frontends champ N A APEX CHAMP690 DEROTATOR frontends champ N A APEX CHAMP690 CALUNIT frontends champ N A APEX CHAMP810 frontends champ N A APEX CHAMP810 DEROTATOR frontends champ N A APEX CHAMP810 CALUNIT frontends champ N A APEX P1460 frontends instruments2 emuEmbSys APEX PI1100 frontends pil100 N A APEX ZSPEC frontends instruments2 emuEmbSys APEX IF1 aux if control if procl N A APEX IF1 CHAINI aux if control if procl N A APEX IF1 CHAIN2 aux if control if procl N A APEX IF2 aux if control if proc2 N A APEX IF2 CHAINI aux if control if proc2 N A APEX IF2 CHAIN2 aux if control if proc2 N A APEX IF3 aux if3 N A APEX IF3 CHAINI aux if3 N A APEX IF3 CHAIN2 aux if3 N
30. Date April 11 2012 Page 5 Contact author Dirk Muders List of Figures 2 1 APECS Pipeline Structure 2 2 see eee eee eee eee enken 4 1 APECS deployment at the site in Chile List of Tables 3 1 APECS logging GUI commands 2 0 o 14 3 2 Example of an APEX source catalog 2 eee eee eee eee eee eee een 18 3 3 Example of an APEX line catalog 18 3 4 APEX heterodyne and continuum frontends The receiver cabins are named A left Nasmyth B right Nasmyth and C Cassegrain 19 Nien so an ene gn pean emer 20 OA 20 a e ada lo de da a 21 A oe oe ae Gye ewe Pee E 40 4 2 Known APECS problems and their solutions Al bits de cats E E E ain 42 a a ena or ee T ee ee AN 43 5 2 APECS CORBA components containers server hosts and processes providing the actual imple mentation ctd o 44 mentation ctd 45 5 4 APECS CORBA components containers server hosts and processes providing the actual imple mentation ctd 444 Bee eee caa eA Oe ee ER Rw ee g 46 5 APECS CORBA components containers server hosts and processes providing the actual imple mentation ctd 444 4 44 Bo e ee eR Ra a o i 47 5 6 APECS CORBA components containers server hosts and processes providing the actual imple mentation Ctd
31. EX source catalog 3 2 2 2 ephemerides ephemerides lt File name gt ephemerides lt File name 1 gt lt File name 2 gt D Not yet implemented Will define the paths to user ephemeris files in xephem edb format specifying orbital elements of solar system objects 3 2 2 3 linecats linecats lt File name gt linecats lt File name 1 gt lt File name 2 gt D Define the paths to user line catalog files to specify transition details Table 3 3 shows an example of a line catalog The entries must be stored in a simple text file in the given format Transition name Frequency Unit Sideband CO 4 3 461 040750 GHz LSB CO 3 2 345 795969 GHz USB Table 3 3 Example of an APEX line catalog Create Date April 11 2012 Page 18 Contact author Dirk Muders APEX APECS User Manual 3 2 3 Instruments This group of commands is used to define the instrument s to be used for the next scan Instruments are composed of a frontend and a backend thus they are also called frontend backend combinations or FEBEs There are bolometer continuum frontends and heterodyne frontends Bolometers can be connected to continuum backends only Heterodyne frontends can be connected to continuum backends typically used for calibration pointing focus and skydip and to spectral line backends for single point integrations or maps Table gives an overview of the current frontends
32. N A APEX AFFTS BAND32 backends affts N A APEX XFFTS backends xffts N A APEX XFFTS BANDI backends xffts N A APEX XFFTS BAND2 backends xffts N A APEX XFFTS BAND3 backends xffts N A APEX XFFTS BAND4 backends xffts N A APEX XFFTS BAND5 backends xffts N A APEX XFFTS BAND6 backends xffts N A APEX XFFTS BAND7 backends xffts N A APEX XFFTS BAND8 backends xffts N A APEX XFFTS2 backends xffts2 N A APEX XFFTS2 BAND1 backends xffts2 N A APEX XFFTS2 BAND2 backends xffts2 N A APEX ZSPECBE backends zspecbe N A APEX ZSPECBE BANDI backends zspecbe N A APEX ZSPECBE BAND2 backends zspecbe N A APEX ZSPECBE BAND3 backends zspecbe N A Table 5 5 APECS CORBA components containers server hosts and processes providing the actual implementation ctd Create Date April 11 2012 Page 47 Contact author Dirk Muders APEX APECS User Manual CORBA Object Name Container Embedded System Process Host s APEX SYNTHESIZER1 aux apexcool compdata amp apexSynthesizer Control APEX SYNTHESIZER1 DESTINATION aux apexcool compdata amp apexSynthesizerControl APEX SYNTHESIZER1 FSUNIT aux apexcool compdata amp apexSynthesizerControl APEX SYNTHESIZER2 aux apexcool compdata amp apexSynthesizerControl APEX SYNTHESIZER2 DESTINATION aux apexcool compdata amp apexSynthesizerControl APEX SYNTHESIZER2 FSUNIT aux apexcool compdata amp apexSynthesizerControl APEX
33. S 1 1 release version as of October 17 2007 The changes are the itera a O 7 9 9 ao 4 tion of the frontends lt Heterodyne frontend name gt line raster hexa otf on source off set reference stow and unstow command syntax and descriptions Added set_cold_params re set_cold_params stow_wobbler reset_wobbler init_wobbler use_focus_compensation zenith and switch_c_optics commands Note the important change that the frontends command now reloads all pointing models from file and issues warnings if the models have changed Create Date April 11 2012 Page 9 Contact author Dirk Muders APEX APECS User Manual 1 9 Revision 1 14 Addition of the hexa command and updates of the source raster and otf command syntax 1 10 Revision 1 13 This minor revision includes the description of the drift command which is mainly used by the SZ project The project_id and spiral setup commands have been iterated In addition the project directory structure and the list of components have been updated to reflect the current status 1 11 Revision 1 12 This revision describes APECS 1 0 as of September 3 4 2006 The main changes are the introduction of the spiral observing modes for bolometer observations and changing the mode parameter of the use_ref comma
34. T1300 FLASH345 X X FLASH460L x Z Z X FLASH460H X 5 X CHAMP690 P1460 X CHAMP810 X 5 X X PS Psy PI1100 ZSPEC a E X 7 7 Z HOLO a 5 2 z X Table 3 6 Possible FEBE combinations for the APEX heterodyne frontends 3 2 3 1 frontends frontends lt Frontend name gt frontends lt Frontend name 1 gt lt Frontend name 2 gt ire frontends lt Frontend name gt frontends lt Frontend name 1 gt lt Frontend name 2 gt D Select the frontends to be used for the next scan This command reloads all pointing models from files 3 2 3 2 lt Frontend name gt feeds lt frontend name gt feeds ref default lt Reference pixel number gt Create Date April 11 2012 Page 20 Contact author Dirk Muders APECS User Manual ABBA SZACBE MPIR SZDCBE MPIR KIDSBE MPIR LABOCA X SABOCA BOLOSZ X X ARTEMIS450 X ARTEMIS200 X BOLOB S gt 5 X KIDSBE X Table 3 7 Possible FEBE combinations for the APEX bolometer frontends select all lt Pixel number list gt circle lt radius gt lt Specific geometry keyword gt Configure the frontend feed setup The reference feed number defined by ref shifts the receiver pointing m
35. and 1 15 2007 10 17 Dirk Muders apecs commands Updated to APECS 1 1 Updated descriptions of commands Added new commands 2 0 2 2 2010 03 25 Dirk Muders New apecs commands Updated to APECS 2 2 Observing Operating New server observing and network setup Instruments Updated list of APEX frontends and backends CORBA CDB reference Updated CORBA component list 2 2 1 2010 09 21 Dirk Muders apecs commands Added remote control command Updated project id description Updated frontends and backends description Added new instruments All pages Fixed typos 2 3 2 5 2012 04 11 Dirk Muders All pages Updated to APECS 2 3 ACS 9 0 SL 5 5 Updated to APECS 2 4 ACU 8200 Updated to APECS 2 5 ACS 10 1 New instruments New APECS server setup Create Date April 11 2012 Page 2 Contact author Dirk Muders Contents 1 What s new 1 17 Revision 25 2 e 4424 ee ke ee eee a EAR ek ee ee eee LME MARNE 1 27 R vision 24 amp 5 Li to a a ob eee Oe eee be ke ee eee ee dis 1 35 R vision 23l oe sir sk eet SO a ERA R ES PES ANUS a bd RE O EE T4 Revisionca 2 lios ao ae te ee Oe ee da a Zope ea ee eee al gate meg 1 5 Revision 22 zw a emea ew dd RA AU eee ee LS et we ee od LO Revision 2 cogio as ee ee de LAS DRM Eb ee he eee Aw ee e RE EE 1 7 Revision LO aoa aaa eee eee eee eee 18 Revision TAB cr een Re Re we ee RUE UE ee eee RE od ae ek ise 19 Revision 1 144
36. ase mysqld Table 4 1 This table shows the APECS hosts typical processes and their shell commands The standard server processes on control3 instruments3 display2 opt2 and abm are started by restartAPECSServers on control3 The server processes must run under the apex operations account The recommended observing setup comprises the observer client processes on observer3 as started by restartAPECSObsClients and the monitoring client processes as started using restartAPECSMonClients All client processes must be started under the observing project account in order to get access to macros catalogs raw and scientific data and observing logs Create Date April 11 2012 Page 40 Contact author Dirk Muders APEX APECS User Manual Table summarizes a number of known conditions and their usual solution Sometimes the suggested measures might not resolve the problem and further debugging is needed Always try to get the system back into operation by restarting only small portions of it rather than simply restarting everything This way one learns more about the structure of the system and it is faster too Symptom Cause Solution The scan gets stuck at the end of a subscan The online calibrator does not re turn from the CORBA reduce command and thus stalls the Ob Restart the online calibrator by typing onlineCalibrator restart in a ter minal in the contro13 1 VNC session The telescope can not be taken in
37. bmits a request for a scan encoded as a so called Scan Object to the Observing Engine which then coordinates all hardware and software tasks to perform the observation It sets up the instruments moves the telescope to the desired position and starts the data recording The Raw Data Writer collects the data streams and creates an MBFITS file After each subscan the Calibrator provides calibrated data and shows results on the online display for user feedback Online Display doys uels Create Show Results Configure The interfaces for common instruments such as frontends or continuum and spectral backends are kept generic so that new instruments can be easily added to the system The CORBA side of the interfaces is automatically generated from the interface files Simulators can be used to run a full control system under Linux without the need for real hardware The observer level of APECS provides a scripting language for observing apecs a graphical user interface xapecs is under development the central Observing Engine to coordinate all devices and processes apexObsEngine the online MBFITS raw data writer apexOnlineFitsWriter and the online data calibrator apexOnlineCalibrator program to automatically perform the atmospheric corrections and provide CLASS Gildas software data with the T temperature scale 7 All scans are automatically logged as XML and HTML file
38. ckend name 2 gt D Connect continuum and or spectral line backends to the selected frontends Note that apecs automatically assigns backend inputs In case of continuum backends the wiring is not computer configurable and the inputs are selected according to the hardware setup stored in apecs In case of spectral line backends some connections are computer configurable e g via an IF processor apecs administers those resources automatically and assigns a number of spectral line backend inputs according to the number of receiver feeds In both cases the selected inputs are named a backend section group The lt Frontend name gt backends command will print a group number which is needed later on when configuring the properties of a particular backend section group Usually one uses simple backend names e g pbe_a xffts2 etc Optionally one can specifiy the IF chain name e g if4 cl xffts2 to bypass the automatic section group assignment and to control the exact sequence in which backend section groups are assigned 3 2 3 8 lt Continuum backend name gt configure lt Continuum backend name gt configure dumptime lt Time in seconds gt gain lt Gain 1 100 gt Create Date April 11 2012 Page 22 Contact author Dirk Muders APEX APECS User Manual Configure the continuum backend dump time and gain The default dump time is 0 0 s which means that the system determines the time automatically
39. de For long scans calibrations can be inserted within the map for every on2cal on subscans The setup makes sure that ref on cycles are completed before the next calibration Thus on2cal is the minimum number of subscans between calibrations The calibrations are performed according to the settings in the calibrate command Note that an initial calibrate command is needed after tuning a receiver to auto level the IFs Note that the resulting CLASS data are projected into encoder coordinates horizontal system or J2000 co ordinates equatorial system Due to the use of descriptive coordinate systems in APECS the projections are no longer simple rectangles Create Date April 11 2012 Page 28 Contact author Dirk Muders APEX APECS User Manual 3 2 6 6 hexa hexa time lt Time per raster point gt sampling full half extend beamsize 0 0 lt Beam size gt unit arcsec arcmin feedsep lt Feed separation in number of beam sizes gt system eq ho epoch 2000 0 mode ordered jiggle on2cal lt Number of on subscans between calibrations gt Set up a hexagonal raster pattern to map out the footprint area of a hexagonal array receiver e g CHAMP The time is used per raster point The sampling can be full half or extend for fully half sampled maps or to extend a half sampled map with the remaining points to ob
40. e is set to HOT only SKY HOT is being observed Auto levelling should usually be turned on For some instruments levelling takes a very long time This step can be skipped by specifying autolevel off The sky position is being set up using the position defined in the reference command except for wobbler mode where the wobbler reference position is being used Note that calibration scans automatically turn off the wobbler while calibrations within maps use it if wobbler mode has been selected 3 2 5 2 skydip skydip azimuth current lt Angle in degrees gt am_stop lt Number gt am_start lt Number gt points lt Number gt time lt Time per point in seconds gt Perform a skydip scan at the given azimuth default is the current value between the two air masses defined in the command Do not specify an air mass of exactly 1 0 to avoid problems with the antenna control system 3 2 5 3 point point length lt Number gt unit arcsec time lt Time per subscan in seconds gt mode otf ras points lt Number gt direction x y Create Date April 11 2012 Page 24 Contact author Dirk Muders APEX APECS User Manual Perform a cross scan in OTF or raster mode to check the local pointing near the source 3 2 5 4 pcorr pcorr pcorr lt Azimuth offset in arcsec gt f lt Elevation offset in arcsec gt f Correct the receiver pointing
41. er abm1 ABM1 TRAJECTORY abm1 acu pte maciContainer abm1 ABM1 ANTMOUNT abm1 acu maciContainer abm1 ABM1 WOBBLER abm1 wiu maciContainer abm1 ABM1 ACU aux acu can Monitor ABM1 PTC aux pte canMonitor ABM1 PTC METROLOGY aux pte canMonitor ABM1 PTC METROLOGY TILTMETERS aux pte canMonitor ABM1 PTC METROLOGY TEMPERATURES aux pte canMonitor ABM1 PTC SUBREF aux pte canMonitor ABM1 PTC SUBREF HEXAPOD aux pte canMonitor ABM1 PTC UPS 1 aux pte canMonitor ABM1 PTC UPS 2 aux pte canMonitor OPT CLOCK opt instruments2 maciContainer opt OPT TIMER opt instruments2 maciContainer opt OPT OPTPOINT opt instruments2 maciContainer opt APEX CALUNITS A aux cs al calunit APEX CALUNITS A MIRRORS aux cs al calunit APEX CALUNITS A COOLER aux cs al calunit APEX CALUNITS B aux instruments2 emuEmbSys APEX CALUNITS C aux instruments emuEmbSys Table 5 1 APECS CORBA components containers server hosts and processes providing the actual implementation 43 APEX APECS User Manual CORBA Object Name Container Embedded System Process Host s APEX ABBA backends abba N A APEX PBE_A backends instruments2 apexPBEControl APEX PBE_B backends instruments2 apexPBEControl APEX PBE_C backends instruments2 apexPBEControl APEX PBE_D backends instruments2 apexPBEControl APEX PBE_E backends instruments2 apexPBEControl APEX PBE_F backends instruments2 apexPBEControl APEX SZACBE bac
42. es be ce ee ae ae Ge ee ee ee ee cc ee A 3 2 3 Instruments 4 ee EK Rae eels Sew Ee A a ae ee 3 2 3 1 frontends e seas aa Oke ee eR AE RUE HAUSSE AU ea lee 3 2 3 2 lt Frontend name gt feeds 3 2 3 3 lt Continuum frontend name gt configure APEX APECS User Manual 3 2 3 4 lt Heterodyne frontend name gt configurel 3 2 3 5 lt Heterodyne frontend name gt linel 3 2 3 6 lt Heterodyne frontend name gt derotate he Be oe ads a aaa NE Re S 3 2 3 9 lt Continuum backend name gt _group configure 3 2 3 10 lt Spectral backend name gt configurel 3 2 3 11 lt Spectral backend name gt group configure Target eee ve oo Rae doe ed Eee Pe eee eee a Poe a eS 3 2 4 A Se A 3 2 5 Callbration z 2 ee fe te det D e Bodh tee Dto oda ds e de ad 3 2 5 1 Calibrat l cic da dr a Oe a See oe oe ER Le 3 2 5 2 SVL DR SNS Chen es MP tag we te JE sy Ef ade he he A A 3 2 5 3 PONG GLS o NES ARR TRS ar labre dG eed Dias o eed eh e twee bee Peat been RSC 3 2 5 5 PCOTT Test ot ke i a du a ai a a ae ee UN 3 2 5 6 FOCUS i naw a eS ae a does OEE PREP eG h a Sa DA EE pan 3 2 0 0 COF se eo 25 24 Ate eek eS AE DAD RER OO A ee Se ee ae l 3 2 5 8 COrr F Set 2 4 esa deu ale GRRE Pe EERE A Rw Re SOR de bed snes A Pec oe oe eet se es Bese NES an wi
43. g a receiver to auto level the IFs Note that the resulting CLASS data are projected into encoder coordinates horizontal system or J2000 coordinates equatorial system Due to the use of descriptive coordinate systems in APECS the projected values are not the same as the commanded descriptive values 3 2 6 5 raster raster xlen lt x Length gt xstep lt x Step gt ylen lt y Length gt ystep lt y Step gt time lt Time per raster point gt direction x y zigzag 1 0 angle lt Position Angle gt size_unit arcsec arcmin deg angle_unit deg arcmin arcsec system eq ho epoch 2000 0 mode ordered jiggle on2cal lt Number of on subscans between calibrations gt Set up a rectangular raster pattern given by sizes and steps in both directions The time is used per raster point If zigzag 1 the raster is done bi directionally reducing the telescope overhead The direction defines the fastest varying axis for an ordered setup The angle defines the position angle of the map relative to the coordinate system The sign of this angle follows the mathematical convention for all coordinate systems The mode can be ordered to obtain a defined sequence of points or jiggle to observe the raster points in random order Reference subscans are inserted according to the settings given in the reference command except for wobbler mo
44. ided match with upper or lower case and wildcards for remainder of the string The angles can be given as numerical values with units deg arcmin or arcsec as string HH MM SS ssss with unit HMS or as string 7DD MM SS ssss with unit DMS The special unit description HDMS is interpreted as HMS for longitude and DMS for latitude The cats parameter allows to restrict the catalogs to be searched In particular one can switch off searching the system catalogs by specifying user The major solar system objects are automatically recognized by their names Ephemeris files for a number of other solar system objects comets etc are installed in the system User ephemeris files in xephem s edb format can be introduced into the system ask one of the software engineers to copy them to right place before the observations begin Note that the TICS software always uses descriptive coordinates i e the new coordinate system centered at the source is using great circles in the sky This is different compared to many other telescope control systems but it makes sense for the observing in particular for wobbler observations where the wobbler motion occurs in that coordinate system too 3 2 5 Calibration 3 2 5 1 calibrate calibrate mode cold hot time lt Time per point in seconds gt autolevel on off Perform a calibration scan Default is a sequence of SKY HOT COLD If the mod
45. ified in some observing pattern commands follows the mathematical convention i e positive values are assigned to the north to west rotation thus 45 means NW in the astronomical coordinate system 3 2 6 1 offset offset x lt numerical x Offset gt HH MM SS ssss DD MM SS ssss y lt numerical y Offset gt HH MM SS ssss DD MM SS ssss unit arcsec arcmin hdms hms dms deg rad system eq ho epoch 2000 0 Define the offset position for the next pattern to be centered on The special hdms unit is interpreted as hms for the longitude offset and dms for the latitude offset Note that observing a horizontal pattern on an equatorial offset position leads to shifting the user coordinate system to that offset position before applying the horizontal offsets 3 2 6 2 reference reference x lt numerical x Offset gt HH MM SS ssss DD MM SS ssss y lt numerical y Offset gt HH MM SS ssss DD MM SS ssss time lt Time in seconds gt on2off lt Number of On s per Off gt unit arcsec arcmin hdms hms dms deg rad mode rel abs system eq ho epoch 2000 0 Define a sky reference position for any On Off type observation including calibrations The special hdms unit is interpreted as hms for the longitude offset and d
46. ion of the ALMA Common Software ACS v8 1 and an updated Linux operating system Scientific Linux 5 3 APECS 2 2 was installed in January 2010 In addition this version of the APECS manual describes some important changes and additions regarding the apecs commands New logging GUI commands New load and track commands Frontend backend backend section group configure commands APEX APECS User Manual Lissajous setup Position angle for the raster mode NB the addition of this option changed the raster command interface Version controlled observing and reduction scripts Some old commands have been deprecated and replaced by new ones The old commands will continue to work for some time until they will be removed The following table gives an overview Old command New command lt Continuum frontend name gt lt Continuum frontend name gt configure lt Heterodyne frontend name gt lt Heterodyne frontend name gt configure lt Continuum backend name gt lt Continuum backend name gt configure lt Continuum backend name gt group lt Continuum backend name gt _group configure lt Spectral backend name gt lt Spectral backend name gt configure lt Spectral backend name gt _group lt Spectral backend name gt _group configure spiral_setup spiral use_spiral Obsolete Automatically set by new spiral command run_macro execfile exec_apecs_script
47. kends szbackend N A APEX SZDCBE backends szbackend N A APEX ARTBE backends artemis N A APEX HOLO frontends instruments2 emuEmbSys APEX LABOCA frontends laboca N A APEX LABOCA CALUNIT frontends laboca N A APEX LABOCA AMPLIFIER frontends laboca N A APEX LABOCA POLARIMETER frontends laboca N A APEX LABOCA MAINTENANCE frontends laboca N A APEX SABOCA frontends laboca N A APEX SABOCA AMPLIFIER frontends laboca N A APEX BOLOSZ frontends bolosz N A APEX BOLOSZ FRIDGE frontends bolosz N A APEX BOLOSZ MAINTENANCE frontends bolosz N A APEX ARTEMIS450 frontends artemis N A APEX ARTEMIS200 frontends artemis N A APEX BOLOB frontends instruments2 emuEmbSys APEX KIDSBE backends instruments2 emuEmbSys APEX TILTMETERS BASE infra instruments2 apexTiltmeterControl APEX RACKCHILLER infra apexcool compdata amp pt100server APEX COMPRESSORCHILLER infra apexcool compdata amp pt100server APEX PCCHILLER infra apexcool compdata amp pt100server APEX COMPRESSOR1 infra apexcool compdata amp pt100server APEX COMPRESSOR2 infra apexcool compdata amp pt100server APEX COMPRESSOR3 infra apexcool compdata amp pt100server APEX COMPRESSOR4 infra apexcool compdata amp pt100server APEX DOORS infra apexcool compdata amp pt100server Table 5 2 APECS CORBA components containers server hosts and processes providing the actual implementation ctd Create Date April 11 2012 Page 44 Contact author Dirk Muders APEX APE
48. lications IEEE Trans on Antennas and Propagation 49 1683 Polehampton E 2005 APEX Calibrator Manual APEX Report APEX MPI MAN 0012 Rossum G v Drake Jr F L 2010 Python Reference Manual Release 2 6 5 http docs python org release 2 6 5 49
49. ms for the latitude offset The mode can be rel ative or abs olute The ideal time on the reference position is calculated automatically for all observing modes unless a non zero value is defined here The reference positions are always taken before the target measurements The reference position is also used by the calibrate command to set up the sky subscan Note that the reference position is not used for wobbler observations 3 2 6 3 use ref use_ref on off Select whether to use the reference position in an observing mode Note that the system automatically skips the reference if only continuum backends are connected except for the on command or if the wobbler is being used Thus it is usually not necessary to change the default of on for use_ref 3 2 6 4 on on time lt Time per point gt drift no yes feeds lt feed number gt lt feed number gt offsets lt x1 gt lt y1 gt lt x2 gt lt y2 gt lt xN gt lt yN gt offsets_unit arcsec arcmin deg on2cal lt Number of on subscans between calibrations gt Observe a single point centered on the offset defined by the offset command The time is given in seconds Uses the reference if use ref is ON Enabling the drift option leads to observing a fixed Create Date April 11 2012 Page 27 Contact author Dirk Muders APEX APECS User Manual horizontal positi
50. n overhead times but it is somewhat risky as the correct setup is no longer guaranteed One needs to take care that nobody modifies hardware parameters manually The go command ignores this flag and always enforces a hardware setup 3 2 1 17 remote control remote control on off Switch apecs remote control mode on or off This mode allows to send observing commands via a UDP socket connection on port 22122 to the current apecs session This is mainly used for VLBI mode where the field system controls the telescope according to the schedule The apecs prompt indicates whether the remote control mode is active Create Date April 11 2012 Page 17 Contact author Dirk Muders APEX APECS User Manual 3 2 2 Catalogs Define user source and line catalogs 3 2 2 1 sourcecats sourcecats lt File name gt sourcecats lt File name 1 gt lt File name 2 gt D Define the paths to user source catalog files in IRAM PdB format to specify source coordinates equatorial J2000 or horizontal no other systems are currently supported and radial source velocity LSR K Table shows an example of a source catalog The entries must be stored in a simple text file in the given format Source name s System Epoch Lambda Beta Velocity frame Velocity RA or Az Dec or El Orion BN KL EQ 2000 0 05 35 14 16 05 22 21 5 LSR 8 0 Stow Park HO 180 00 00 00 15 00 00 0 Table 3 2 Example of an AP
51. n to fcorr Specifying keeps the previous value 3 2 5 8 fcorr_reset fcorr reset Reset the user focus offsets for the current frontends to zero 3 2 5 9 use focus compensation use_focus_compensation useFocusTemperatureCompensation on off Define whether to use the Z focus temperature compensation Create Date April 11 2012 Page 25 Contact author Dirk Muders APEX APECS User Manual 3 2 5 10 set tilts set tilts AN lt AN pointing model term gt AW lt AW pointing model term gt Set tilt values in arcsec to override the current pointing model base plus frontend values completely reset_tilts reverts back to the models This command may be needed if the telescope tilts change on a short time scale of a few hours Please ask the APEX staff about the apecs script to determine the new numbers 3 2 5 11 reset_tilts reset_tilts Revert back to the tilts defined by the pointing models 3 2 5 12 use_linear_sensors use_linear_sensors useLinearSensors on off Define whether to use the linear sensor pointing correction Accepts values on and off 3 2 5 13 use_tiltmeters use_tiltmeters useTiltmeters on off temp_comp on off Define whether to use the tiltmeters pointing correction Accepts values on and off Optionally enable temperature compensation on or off 3 2 5 14 set_cold_params set_cold_params f
52. nd to accept values on and off rather than 1 and 0 to homogenize the commands for various flag settings withing apecs Create Date April 11 2012 Page 10 Contact author Dirk Muders Chapter 2 Overview The Atacama Pathfinder EXperiment APEX Telescope is controlled by the APEX Control System APECS APECS is based on the ALMA Common Software ACS and the ALMA Test Interfer ometer Control Software TICS ACS provides the CORBA based middleware communication layer to interface the hardware components to the control system TICS provides the basic CORBA objects for antenna control in horizontal and equatorial coordinates In addition to that there are utilities to record several kinds of time stamped monitor points into a database DB2 and to perform optical pointing runs The ACS and TICS packages fulfill the requirements of common network communication automatic mon itoring real time tracking and remote observing The overarching software to use all hardware devices in a coordinated way necessary for astronomical observations was developed by the APEX software develop ment group 3l This included defining the instrument and device interfaces 4 2 and the raw data format interface MBFITS 5 Observer Observing ee Raw Data Ate mprits USE saree Interface Engine Move p Send Pos l Writer Data Reduce Figure 2 1 This diagram illustrates the APECS observing pipeline structure The astronomer su
53. nes are all idle and that the disks are not full This is absolutely necessary since the startup script is currently time critical In any event one should not run any other applications on the APECS server computers control3 display2 instruments3 and opt2 anyways Make especially sure that there is no web cam display running on any of the core computers at the site at Chajnantor as those use all the available CPU power For the server startup one needs to log on to control3 as user apex At the prompt on contro1l3 type restartAPECSServers f to start APECS There is also a simulation mode in which the telescope is being simulated and the real telescope is not moved Everything else is identical to the real setup This mode can be started by typing restartAPECSServers s f Note that the tracking in simulation mode is not as good as in the real hardware due to the 10 ms Linux scheduler not being commensurate with the 48 ms ticks used in APECS One thus needs to increase the tracking tolerance to about 5 arcseconds using the tolerance command in apecs 37 APEX APECS User Manual Chajnantor Sequitor opt 2 Optical Camera Terminal to ABM O S o rsync instruments3 o instrument control 9 6 display2 a E x FitsWriter Data i Calibrator A U D i control3 i CORBA Services i VNC o Observing Engine Connections VNC Server O FREE 280 02747400 0 272 YF EP
54. nnal 1 4 tn de A LA Li Li er a Ge add desde A kA ses feck Sy a otk ghee O EN A EE as 3 2 9 3 A AE a ER a ee ee ee s 3 2 9 4 STOW is Sc eee Rh be bee ERE Re ee eA EE RR e 3 2 9 5 UNSGOW 22 ce et es ae ER ek ee A ee ete a ed DR 28 3 2 9 6 Stow wobbl r ses ees mad RD ee a eee D cee ae Sh ae a te eee See oe 3 2 9 8 reset wobbler g 4 aee ads 5546686 a Dee ae es switch c optics 3 3 typical Observing Session Create Date April 11 2012 Page 4 Contact author Dirk Muders APEX 3 3 1 ource Setup APECS User Manual edd be ae oe Rae Ee es id a ee ee ee 33 3 3 2 Continuum Instrument Setup e 34 3 3 3 Spectral Line Instrument Setup 2 2 e ne 34 3 3 4 Initial Calibrations 34 3 3 5 Continuum Observations 34 3 3 6 pectral Line Observations 39 A D es I D NN 35 3 5 User defined Commands 35 3 6 Not s and Caveatsh s 4 4 Da 4 ge a hu Gee ee AS Mb e G a 36 37 a he Bec es ie eee St Ae a NB ener teat det cap ed Be 37 bo ae E Ts E ee oe O 37 E eo tre SR Ke ond de de a da Ge RE AL Gi Ae te ww Se RS ee Ge a De AE aits 38 4 4 Troubleshooting 39 4 5 Notes and Caveats h s a ee Da ua sus Mu Bae Le oe a kh ae Bek S SE 42 43 Create
55. observer3 APECS Clients VNC Server Development Remote Sites Maintenance network Figure 4 1 APECS deployment at the site in Chile After about 6 minutes the system will be up and running and a number of windows and displays will open Table 4 1 summarizes the processes that need to be running for APECS to work The troubleshooting section refers to the commands in this table when suggesting to restart part of the system 4 3 Configurations APECS uses a number of configurations from the area defined by the APECSCONFIG environment variable APECSCONFIG Pointing Pointing models APECSCONFIG Focus Focus models APECSCONFIG FeedParams Detailed frontend feed configurations APECSCONFIG RCPs Frontend feed offsets and gains APECSCONFIG Catalogs System source and line catalogs APECSCONFIG Ephemerides Ephemeris files The pointing models are split into a master model MASTER ptg which describes the overall antenna behavior and delta models for frontends see below tiltmeter corrections TILT ptg and linear sensor corrections DISP ptg The master model is currently based on the optical pointing model and might be replaced later by bolometer radio pointing models Create Date April 11 2012 Page 38 Contact author Dirk Muders APEX APECS User Manual The receiver delta pointing models are named after their apecs name e g HET345 ptg They contain only the deltas to be added to the maste
56. odel to center the observations on the new feed and tells the online display software which data to show One needs to provide a number or the string default to go back to the original value The select parameter allows to restrict the number of feeds to be used One can either specify an explicit list of feeds e g 1 2 4 6 or use specific geometric selections like wedgel wedge2 etc or circlejradius all pixels within the radius given in arcsec from the coordinate system center Currently the following specific geometries are defined BOLOSZ wedgel wedge2 wedge6 selects the corresponding wedge of pixels 3 2 3 3 lt Continuum frontend name gt configure lt Continuum frontend name gt configure gain lt Amplifier gain gt Configure the continuum frontend The gain parameter is used by some frontends Typical values are 1 2 4 8 etc The parameter is only used if there is an amplifier CORBA object present in the system 3 2 3 4 lt Heterodyne frontend name gt configure lt Heterodyne frontend name gt configure mode dsb ssb 2sb ratios lt Image to signal band gains for feed 1 gt lt for feed 2 gt lt for feed N gt fthrow lt Frequency switching throw gt lt Phase 1 throw gt lt Phase 2 throw gt harmonic lt Number gt doppler on off tuningmode lt mode gt Configure basic heterodyne frontend
57. omputers except abm are running under Linux currently Scientific Linux 5 5 due to using ACS 10 1 The abm computer is a VME system running VxWorks 6 7 In addition to the APECS computers there are a number of embedded system computers apexcool cs al hfe control affts xffts laboca abba if control etc and to some extent instruments3 to control the instruments Those computers run different versions of Linux or Windows Embedded system computers are under the responsibility of the respective system developers The interface to the embedded system is realized via ASCII SCPI commands sent over UDP sockets 1 Fig 4 1 shows the deployment of the APECS software on the various computers inside the telescope and in the control rooms at Chajnantor and in Sequitor 4 2 Starting the APECS servers The APECS servers provide the necessary infrastructure to perform observations They are being started via a single script called restartAPECSServers This script needs to run on the central APECS machine called contro13 It starts the core CORBA services and the APECS service applications such as Observing Engine MBFITS Writer and Online Calibrator Usually a VNC session contro13 1 is used to start APECS so that one can check the server consoles remotely One needs to connect to the VNC server via typing vncviewer shared control3 1 Before starting APECS one should make sure that the machi
58. on equivalent to the mid subscan astronomical source position This is being re calculated per subscan Specifying a list of feed numbers causes the setup of a sequence of on commands on the corresponding feed offset positions This is usually used for wobbled dual beam scans where the off phase happens to fall onto another feed of the array receiver in use Reset to to disable this option Specifying a list of offsets causes the setup of a sequence of observations pointed to those offsets relative to the position defined by the source and offset commands The offset positions are given as a list of tuples e g 10 20 20 40 The values are interpreted as angles given by the offsets_ unit parameter Reference positions are observed according to the settings in the reference and use ref commands Reset to to disable the offsets option Note that the feeds and offsets parameters are mutually exclusive For long scans calibrations can be inserted within the map for every on2cal on subscans The setup makes sure that ref on cycles are completed before the next calibration Thus on2cal is the minimum number of subscans between calibrations The calibrations are performed according to the settings in the calibrate command Setting on2cal to O disables calibrations within maps Note that an initial calibrate command is needed after tunin
59. ontal system or J2000 co ordinates equatorial system Due to the use of descriptive coordinate systems in APECS the projections are no longer simple rectangles 3 2 6 9 drift drift azsize lt map size in azimuth gt elsize lt map size in elevation gt elstep lt step size in elevation gt lineartime lt time for linear stroke gt turntime lt time for turn around gt mode 0PEN CLOSED azunit deg arcmin arcsec elunit arcmin deg arcsec Set up a rectangular azimuthal On The Fly drift pattern along lines of constant elevation with half circle turn arounds to minimize microphonics through telescope accelerations The pattern is centered on a horizontal source or around the average azimuth and elevation of an equatorial source The source thus drifts through the line of sight during the scan Note that the source name is changed to lt Original name gt DR_ lt Az gt _ lt El gt to show that a fixed position in horizontal coordinates was observed The extent of the pattern is given by the size of the linear portion of the azimuth stroke and a size in elevation In open mode rows spaced by the elevation step size are set up with zig zag scanning In closed mode a race track like closed loop pattern is set up In this mode the elevation size can be zero to obtain a simple sweep pattern at one elevation value Repetitions of these patterns are controlled with the repeat
60. ore information on programming The command definition must be read into apecs using execfile def flash point length 180 time 30 frontends flash345 flash460 flash345 backends pbe_a flash460 backends pbe_a Create Date April 11 2012 Page 35 Contact author Dirk Muders APEX APECS User Manual point length length time time mode otf The newly defined commands can be used like any other apecs command 3 6 Notes and Caveats Note that scans are submitted to a queue which is 2 deep i e while the current scan is being executed the next one will be kept on hold within the apecs CLI giving the user a chance to cancel the submission by typing lt CTRL C gt be careful though about lt CTRL C gt at the normal prompt see below Under ACS 10 1 it is usually also safe to type lt CTRL C gt at the normal apecs prompt This does not lead to an immediate segmentation fault like in the old system under ACS 2 0 1 However repeated typing of lt CTRL C gt under certain circumstances can still crash the apecs CLI Do not type help lt command gt note the second pair of brackets as this will execute the command rather than print help on it In particular one may inadvertently submit a new scan to the Observing Engine help must be used with just the command name i e help lt command gt Do not use the Python function run to run a script It will not be executed in
61. parameter allows to restrict the catalogs to be searched In particular one can switch off searching the system catalogs by specifying user For 2SB receivers the line name in the opposite sideband is set to lt Line name gt _OSB unless an explicit name is given in the corresponding lt Spectral backend name gt _group configure command 3 2 3 6 lt Heterodyne frontend name gt derotate lt Heterodyne frontend name gt derotate mode ca ho eq angle full half lt User angle in degrees gt Define derotation setup of array receivers The angle in degrees defines the rotation of the array relative to the selected coordinate system This is used to select the spatial sampling setup Alternatively one can specify full or half to automatically select those sampling setups The mode can be CA fixed no derotation HO horizontal derotation or EQ equatorial derotation 3 2 3 7 lt Frontend name gt backends lt Frontend name gt backends lt Backend name gt lt Frontend name gt backends lt Backend name 1 gt lt Backend name 2 gt lt Frontend name gt backends lt Backend name gt lt Frontend name gt backends lt Backend name 1 gt gt lt Backend name 2 gt J lt Frontend name gt backends lt IF path gt lt Backend name gt lt Frontend name gt backends lt IF path 1 gt lt Backend name 1 gt lt IF path 2 gt lt Ba
62. portant to understand this layered structure of the APECS system The top level communication errors that the user sees can have different causes either on the CORBA container level or on the SCPI level We currently can not yet route the nature of the error all the way up to the user This may change in the future but in the current setup one needs to examine all communication layers to debug the problems The collection of CORBA objects representing the hardware is being coordinated by the central Observing Engine process It sets up all instruments auxiliary devices and the antenna itself for each scan If one of those setups fails the whole scan is canceled This is usually the point where observers turn to operators or software engineers for help You then need to examine the system and the log messages to identify the offending sub system Create Date April 11 2012 Page 39 Contact author Dirk Muders APEX APECS User Manual Host Applications Process Command control3 ACS CORBA Services acsStart CAN Monitor canMonitor Observation Logger Server apexObsLoggerServer Observing Engine apexObsEngine instruments3 frontends Container runContainer frontends APECS backends Container runContainer backends aux Container runContainer aux infra Container runContainer infra environ Container runContainer environ opttel Container runContainer opttel instruments3 Weather station SCPI CID Se
63. r id operator_id lt operator initials gt Create Date April 11 2012 Page 15 Contact author Dirk Muders APEX APECS User Manual Set the operator ID for use in the MBFITS raw data file and in the logs 3 2 1 3 observer_id observer_id lt observer initials gt Set the observer ID for use in the MBFITS raw data file and in the logs 3 2 1 4 show show show lt Scan object gt Show the current observing mode setup Optionally one can pass a user defined scan object to show its setup 3 2 1 5 load load Configure the instruments without changing the telescope status This is usually used to initialize devices for upcoming manual interactions such as tuning a non remote controlled receiver 3 2 1 6 go go Move the telescope to the desired center position and set up the instruments Usually used to prepare the instrument setup for manual receiver tuning 3 2 1 7 track track Track the currently defined source without observing while still configuring the instruments The telescope keeps tracking until the next scan command arrives 3 2 1 8 cancel cancel Cancel the ongoing scan 3 2 1 9 exec apecs script exec_apecs_script lt File name gt Execute an apecs script from the official version controlled area 3 2 1 10 save history save history lt File name gt Save the apecs command history into a file The file may be edited and used as a macro later on
64. r is being displayed by apecs when connecting the backends to the frontends It can also be queried using the show command Bandwidth and section group radio frequency offset are given in MHz The numbers of channels can be chosen among the possible values for the particular backend Optionally a line name can be given if the section group is centered on a different line than the main one defined for the frontend Leave the line name empty for composite spectra so that one can simply add the spectra in CLASS Finally the default sections making up this group can be overridden if needed They must be given as a list 3 2 4 Target Commands in this section are used to define the target coordinates 3 2 4 1 source source lt Name gt source name lt Name gt x lt Longitude gt y lt Latitude gt unit arcsec arcmin hdms hms dms deg rad system eq ho epoch 2000 0 velocity lt Velocity in km s gt Create Date April 11 2012 Page 23 Contact author Dirk Muders APEX APECS User Manual frame LSR HELIO not yet available cats all user sys The source command is used to define a center position in either horizontal or equatorial J2000 only at this point coordinates The parameters may be specified manually or can be read from a catalog see sourcecats Reading from the source catalogs performs a left s
65. r model For Cassegrain receivers there are usually just two offset numbers for Nasmyth receivers there are 4 constants The ephemeris files are stored in xephem edb format Ephemerides for comets and distant objects are installed The scan number is being increased using the global scan number in APECSCONFIG globalScanProperties The scan number is automatically reset to 1 on January 1 every year Some of the non configurable instrument setup that is not included in APECSCONFIG FeedParams is still hardcoded in the apexFEBEConfig py Python module which is located in the APECSROOT 1ib python site packages directory It is assumed that this stays stable once the instrument has been commissioned and accepted Changing this setup is only possible under version control by a software responsible Note that the ethernet switch port used to connect the ABM VME computer needs to be configured to 100half with auto negotiation disabled The MVME 761 board cannot handle auto negotiation 4 4 Troubleshooting While APECS is now rather stable compared to the initial phases of the APEX commissioning we still suffer from a number of problems First and foremost check the messages in the jlog if an error occurs Most conditions can be diagnosed by evaluating those messages All logging messages are stored in the APECSSYSLOGS directory One will also find there all the details about the SCPI communication to the
66. rontend lt Frontend name gt yfactors y factori y factor2 tcold lt Cold load temperature gt Manually set the cold load parameters of a frontend in the online calibrator To be used if the cold load malfunctions and the Y factors are measured manually The Y factors must be given for all feeds The cold load temperature must be specified in Kelvin 3 2 5 15 reset_cold_params reset_cold_params frontend lt Frontend name gt Reset the cold load parameters of a frontend in the online calibrator 3 2 6 Observing Patterns Observing patterns are set up using the TICS strokes There are linear spiral and Lissajous strokes By default all of the APECS patterns are composed of linear strokes i e either pointed observations or linear OTF strokes The spiral and lissajous commands can be used to set up spiral or Lissajous patterns instead of pointed observations e g on raster focus etc The stroke commands linear spiral and lissajous are mutually exclusive Note that TICS sets up a new descriptive coordinate system centered on the source coordinates and that offsets are always applied along the great circles This means that all patterns will look slightly different when being projected to encoder coordinates azimuth elevation or equatorial coordinates right ascension declination Create Date April 11 2012 Page 26 Contact author Dirk Muders APEX APECS User Manual The position angle that can be spec
67. rver apexWeatherStation start Embedded Radiometer SCPI CID Server apexRadiometer start System Tiltmeter SCPI CID Server apexTiltmeter start Servers TSGen SCPI CID Server apexTSGen start included in PBE_A SCPI CID Server apexPBE_A start APECS PBE_B SCPI CID Server apexPBE_Bholo start PBE_C SCPI CID Server apexPBE_C start PBE_D SCPI CID Server apexPBE_D start PBE_E SCPI CID Server apexPBE_Eac start PBE_F SCPI CID Server apexPBEF start FLASH emulator emuEmbSys APEX FLASH 0 CALUNITS B emulator emuEmbSys APEX_CALUNITS_B O CALUNITS C emulator emuEmbSys APEX_CALUNITS_C 0 display2 Online MBFITS Writer apexOnlineFitsWriter Online Calibrator apexOnlineCalibrator Cal Display Server apexCalibDisplayServer opt2 opt Container runContainer opt Monitor point DB2 archiver apexMonPointArchiver db2 abm abmi Container apexLCUContainerStart container abm1 netname abm on control3 observer3 Observing CLI apecs Scan summary status scanStatus APECS logging messages apecsLog Antenna position apexAntMount Sun avoidance display plotAvoidance PWV history display apexPWVHistory Observation Logger Client apexObsLoggerClient Online Pipeline Display apexCalibratorClient Shutter Control GUI shutterControl observer3 Main monitoring client apexStatusDisplay masterStatus MasterStatus Weather display apexWeatherDisplay Low level ACU WIU access acu wiu paruma Data reduction software class boa paniri lastarria Data archive db2 apexdb2 Project SQL datab
68. s It is recommended to use those macros when observing with the above frontends Some of the macros also contain special observing commands Check the online help in apecs for more details Often one wants to repeat a certain set of commands or macros in a loop Use the Python programmatic structures to accomplish this Note that Python is strict about keeping the same amount of indentation for a given loop or branch level One can also use Python variables to construct more complicated complex patterns alternating between calibrations and target observations One example of using loops and variables would be the following set of OTF maps reference 1800 0 on2off 1 mode rel system EQ Loop between 60 and 120 in steps of 60 Note that xrange works with integer numbers Floating point numbers are provided by the Numeric arange function for yoff in xrange 60 121 60 offset 20 yoff calibrate otf 270 5 45 5 time 1 direction x 3 5 User defined Commands More complex user commands can be defined in apecs via Python functions For example the switch to continuum backends and a subsequent pointing can be grouped together to define a new user command The following example defines a special pointing command for FLASH observations The two parameters length and time are defaulted to some values but can be overwritten like for normal apecs commands Please consult the Python documentation at www python org for m
69. s ie bead cee EE Gaede Be we ve eS Ge oy wee Oe a 3 2 5 11 MESS CIRES en ie ths en oe dee de Bas s r a Yew Ro Ge cea ce ml nn ns Se et a 3 2 5 12 use linear sensors 3 2 5 13 USS tiltmeteral Le Lau ed es Ble he bh MEN de de de da ea 3 2 5 14 Set COLA params isi iar re MEA ae Ge ae de ee er le a S sd See nes evs E Gs Gets ey ebay ee ee ces er Gode E 3 2 6 Observing Patterns 474 s sis 44 eae eR EE A Re Oe he he a 3 2 6 1 OffS6t A 3 2 6 2 reference a ooo oe eS Be bee TIM LM eo Be NA her 3 2 6 3 USE TEL sch 08 ee ae ee ue E oe ER ee de en ee a a Me Bo gw 2 6 4 MUN BS RSS RE EN ne Gnas cee AD D TS es ek ee oe wh 3 2 6 5 Bas BER a So Gok ee Ge Sa Oe be BEES Eee eee e d 3 2 6 6 DEAR a A Pei Nerden fee tee Re ces tees abe cee de ee ep da de Ud dos a 3 2 6 7 TL ese cytes a an tree ode ee eye ae RRR Senet ap ta a Gi an vr eae Gave ean ee RE 3 2 6 8 GEE a et eyes et ce ee ee Ps Renee a a E 3 2 6 9 d iftl o a Sad dae i LISA ARR ER a a ASE RIRES ES 2645 2 0 10 repeat ios caia me a a a a A y a als 3 2 1 Troke Model asocio adas ds ss aaa de a ass 3 2 1 1 A 4 lt 2 G Sb pue mes die RR EE oe 4 ao ae ee pa 3 2 7 2 Spiral s sivas s oeda Re ee ee ee Hu a e 3 3 2 8 1 EO eects et a ese a ah ee Bae ek as ali eae eee te ee a RE 3 2 8 2 WOM AAA Sy ata deen Sages it yea caren ct cA soe ae oe Bases Are ee oe ee F 3 2 8 3 E STs 2 dnt bed doy Pogo ooo Boe Saeed ee bees es Ba Ba es 3 2 9 Ante
70. s using the apexObsLoggerServer In addition there are a number of monitoring tools to see the antenna positions apexAntMount the Sun avoidance zone plotAvoidance the scan status scanStatus and the values and possible 11 APEX APECS User Manual alarm states of all available monitor points apexStatusDisplay masterStatus MasterStatus These APECS core components are organised as a pipeline system see fig 21 Observations are defined using so called Scan Objects which contain the full description of the next observation i e the instrument setup details target coordinate information and the desired observing patterns The Scan Objects that are created by the observer command line interface are sent to the Observing Engine which sets up all necessary devices controls the data acquisition and triggers the online data calibration reduction and display APECS applies a relativistic Doppler correction to spectral line data based on the SLALIB library as of 2003 We checked the velocities against the Stumpff library used at the Effelsberg telescope The two libraries agree to within 0 03 km s We chose SLALIB because of its slightly more accurate algorithms taking e g lunar effects into account Spectral line data is being calibrated to the T temperature scale using Juan Pardo s 6 atmospheric li brary ATM The calculations are made using Planck temperatures since the Rayleigh Jeans approximation fails in the
71. scope with the apexAntMount GUI since it does not know about the Sun avoidance zone 3 2 1 General 3 2 1 1 project id project id lt ID gt Set the APEX project ID for use in the MBFITS raw data and CLASS scientific data files and in the logs It is very important to set this correctly at the beginning of each session in order to be able to identify your data later on apecs asks for the ID when is is started The project ID is assigned by the program committees or by the APEX station manager The project ID O K PP C NNNN R YY YY is structured as follows O is the origin of the project M MPIfR ESO OSO Germany Verbundforschung Chile PI Project External e g Berkeley Key program APEX staff time Technical Maintenance Calibration K PP is the ESO proposal identifier K 0 regular 1 large 2 DDT 3 short 4 calibration optional omit for non ESO projects and period PP may not apply to the other partners use 00 in that case Cis the ESO category A F L may not apply to the other partners use F in that case COSMOLOGY GALAXIES AND GALACTIC NUCLEI INTERSTELLAR MEDIUM STAR FORMATION and PLANETARY SYSTEMS STELLAR EVOLUTION UNDEFINED UNDEFINED CALIBRATION NNNN is a sequential number Ris the ESO run ID letter optional omit for non ESO projects YYYY is the year H ndwQQ0E SJH IEHUO0QWr 3 2 1 2 operato
72. submm regime Note however that the CLASS temperature scale is using the Rayleigh Jeans approximation for compatibility reasons Create Date April 11 2012 Page 12 Contact author Dirk Muders Chapter 3 Observing with the APEX Telescope 3 1 Introduction Observations are performed using the APECS client computers currently mainly observer3 The client observing sessions are started in the main VNC server at observer3 1 The VNC servers are accessed through VNC viewers from the thin clients in the control rooms in Sequitor or at Chajnantor or externally via tunneling into the APEX network When using your own computer be sure to use one of the rec ommended VNC viewer implementations e g RealVNC v4 1 with the shared option to avoid taking away other viewers access Note that one must not use any of the APECS server computers contro13 instruments3 display2 or opt2 for observations as their CPU resources are needed by the APECS services One also must not run any other CPU intensive programs such as browsers web cam displays etc on the servers All APECS computers run under Linux currently Scientific Linux 5 5 due to the use of ACS 10 1 The APECS startup procedures have been split into one server and two client scripts The server script restartAPECSServers is started once on contro13 and brings up all server programs necessary for observing This part is done by the APEX operators or APEX astronomers on duty using the apex
73. tain a fully sampled one The beam size is automatically calculated from the highest sky frequency for the current scan if a value of 0 0 is given Otherwise the non zero user value is used The feed separation is the radial distance of neighboring feeds in number of beam sizes for CHAMP this number is 2 The mode can be ordered to obtain a defined sequence of points or jiggle to observe the raster points in random order Reference subscans are inserted according to the settings given in the reference command except for wobbler mode For long scans calibrations can be inserted within the map for every on2cal on subscans The setup makes sure that ref on cycles are completed before the next calibration Thus on2cal is the minimum number of subscans between calibrations The calibrations are performed according to the settings in the calibrate command Note that an initial calibrate command is needed after tuning a receiver to auto level the IFs Note that the array derotation angle should be 0 0 in eq mode 3 2 6 7 hexa25 hexa25 time lt Time per raster point gt step lt Radial distance to neighbor gt unit arcsec arcmin system eq ho epoch 2000 0 mode ordered jiggle on2cal lt Number of on subscans between calibrations gt Set up a hexagonal raster pattern to map out the footprint area of CHAMP The time is used per ras
74. ter point The step size is the radial distance of neighboring points The mode can be ordered to obtain a defined sequence of points or jiggle to observe the raster points in random order Reference subscans are inserted according to the settings given in the reference command except for wobbler mode For long scans calibrations can be inserted within the map for every on2cal on subscans The setup makes sure that ref on cycles are completed before the next calibration Thus on2cal is the minimum number of subscans between calibrations The calibrations are performed according to the settings in the calibrate command Setting on2cal to O disables calibrations within maps Note that an initial calibrate command is needed after tuning a receiver to auto level the IFs Note that the array derotation angle should be 0 0 in eq mode 3 2 6 8 otf otf xlen lt x Length gt xstep lt x Step gt ylen lt y Length gt Create Date April 11 2012 Page 29 Contact author Dirk Muders APEX APECS User Manual ystep lt y Step gt time lt Time per OTF map point gt direction x y zigzag 1 0 angle lt Position Angle gt size_unit arcsec arcmin deg angle unit deg arcmin arcsec system eq ho epoch 2000 0 mode ordered jiggle on2cal lt Number of on subscans between calibrations
75. to track mode when starting a scan serving Engine This can Pora if some tele scope interlocks have been acti vated e g by lowering the plat form to the Cassegrain cabin Press the standby button on the apexAntMount GUI and try the scan again There is no data in one or more of the MBFITS AR RAYDATA tables The TCP connection to one or more backends may have failed Check the backend control programs Check the socket status on port 25144 on display2 and on the backend host If there are CLOSE_WAIT conditions you may need to wait 10 minutes for Linux to release the resource In the worst case the backend computers may need O be restarted Setting or reading instru ment parameters fails and scans are canceled Most likely the embedded sys tem control software has failed Very rarely the CORBA contain ers may crash ere is an ACS timeout period of 5 seconds when accessing properties If a getMCPoint returns faster than this and fails then the CORBA ob ject is gone and the container may have crashed Restart the container Otherwise the socket communication has timed out 4 seconds In this case check the corresponding SCPI CID server processes on the APECS ma chines see table or on the em bedded systems and try restarting the server processes If this does not help log on to instruments3 and check the containers as described above The scan gets stuck LST is not updating anymore
76. tor client GUI If you want to see a different message selection then you can start the apecsLog application with different filters Logging GUI command Filtered messages apecsLog Observer logs apecsLog obs Observer logs apecsLog ops Operator logs apecsLog obops Operator and Observer logs apecsLog cal Calibrator logs apecsLog obopscal All APECS logs apecsLog all All APECS logs jlog All APECS and technical logs Table 3 1 APECS logging GUI commands To observe with APEX one uses the apecs scripting language apecs is based on I Python 8 and provides a number of special commands to set up several different standard observing modes Normal Python programmatic structures and macro capabilities can be used from within apecs Note that IPython allows to write commands which begin directly at the prompt without the usual brackets that Python requires However apecs macros that define user commands see section 3 4 need to be written using the brackets The apecs commands lead to the creation of a so called Scan Object that is then sent to the Observing Engine The Scan Object contains all the setup information needed to control the instruments and the telescope It is also being used for status displays and to fetch information needed for the MBFITS raw data files The current observing status will be shown in the Scan Status
77. ut wobbler or frequency switching 3 2 8 2 wob wob amplitude lt Wobbler amplitude in arcsec gt rate lt Wobbler rate in Hz gt mode sym neg pos blank 1 lt Blank time in ms gt Select wobbler mode All subsequent scans are performed using the wobbler with the parameters given here The wobbler amplitude is given in arcsec the wobbling rate in Hz The mode can be sym metric neg ative or pos itive to select the reference point location The optional blank ing parameter allows to override the system setting of the blank time to be used for wobbler observations The time is given in milli seconds A value of 1 selects the automatic mode 3 2 8 3 fsw fsw rate lt Frequency switching rate in Hz gt blank 1 lt Blank time in ms gt Select frequency switching mode All subsequent scans are performed using frequency switching The frequency switching rate is given in Hz The frequency throws are defined individually for each frontend using the lt heterodyne frontend name gt configure commands The optional blank ing parameter allows to override the system setting of the blank time to be used for frequency switching observations The time is given in milli seconds A value of 1 selects the automatic mode 3 2 9 Antenna 3 2 9 1 tolerance tolerance lt Tolerance radius in arcsec gt Define the required initial tracking accuracy A subscan will only begin if the telescope is within the

Download Pdf Manuals

image

Related Search

Related Contents

fonctionnement  Feb 07, 2015 Dr. Andrew Rawicz School of Engineering Science  Install Guide - 10  DIÁRIO DO LEGISLATIVO - 12/03/2015  Nouveauts pour les adultes  ProviderConnect™ Guide  (スズキ・ 日産・マッタ車用)  HIDJA Rallycomp 200  一座注意一 一座注意一 - セキュリティUSBメモリ  Title III族窒化物希薄磁性半導体の創製とその評価  

Copyright © All rights reserved.
Failed to retrieve file