ALMA Software I (Kern/Hiriart)

ALMA So'ware Jeff Kern Rafael Hiriart ALMA N.A. CIPT Deputy ALMA Control/Correlator Team Lead Telescope Event Horizon Dec 13,14 2011 CollaboraNve Model ALMA
•  ALMA is already a complicated project with many parNcipants, re-­‐use what has worked –  Twiki for collaboraNon: •  Add another topic to exisNng ALMA SoVware Twiki –  CVS for version control: •  Create branch for EHT development –  Mailing List: •  Create new list, to be maintained at Haystack •  All development must be done under an Open Source Development license. Event Horizon Telescope Dec 13,14 2011 2 Maintenance Plan ALMA
•  Eventually this soVware will need to be maintained by ALMA operaNons. –  Require extensive test suite (without hardware) –  DocumentaNon –  Cross training of maintenance personnel •  Should aim to be integrated with ALMA soVware ~6 Months before end of project Event Horizon Telescope Dec 13,14 2011 3 ALMA SoVware ALMA
•  Fundamental unit of execuNon is a Scheduling Block, which is part of a Project (APDM). ObsPrep (OT) Archive TelCal Scheduling Control Correlator Event Horizon Telescope Dec 13,14 2011 4 ALMA Control System ALMA
•  The ALMA Control system is has two “views” of the system, science and hardware. Hardware Science •  Long lived (system restart) •  Monitoring •  Word to Device Coordinate conversion •  Mostly independent •  Hierarchy has devices and controllers Short lived (one Execblock) SynchronizaNon Intent and Planning Highly Coupled (uses hardware) •  Hierarchy has antenna and array level observing modes. • 
• 
• 
• 
Event Horizon Telescope Dec 13,14 2011 5 EHT SoVware Design ALMA
SCHED
PI
Scheduling
ALMA Interface
VLBI Interface
Scheduler
VEX Translator
Maser
Maser−GPS Monitor
VLBI Recorder
Optical Fibre
TelCal
VOM Interface
DEVICES
VOM Interface
Ingests SCHED Products
Prepares ALMA Sched Block
VLBI Observing Mode (VOM)
Configures ALMA for VLBI
Runs the experiment
Source Modeler
Phase Solver
Phase Commander
Efficiency Monitor
Chan Avg Data
Hardware Side
Phase Shifts
AOSTiming
VLBI Status Panel
Operator
Event Horizon Telescope Dec 13,14 2011 VOM Interface
ALMA Operator Display
VOM I/F
VLBIController
Correlator
PIC Control
LTA Protocol
Phase Update
6 SCHED ALMA
•  Will need to be modified to have an ALMA interface. Event Horizon Telescope Dec 13,14 2011 7 VEX File Translator ALMA
•  This module will need to take the output .vex file and convert it into a script ALMA understands. –  Could be as simple as a python script, wrapped in a schedblock. –  Could be made to look more like “ordinary” ALMA SBs with a special script. •  Provided interfaces like PoinNng very easily. –  Tuning and correlator configuraNon will be the hard part •  Long term, should this be part of the OT? Event Horizon Telescope Dec 13,14 2011 8 Scheduling ALMA
•  VLBI will be implemented through Fixed Time Scheduling Blocks. –  Not yet implemented in ALMA, but part of the plan –  Manual Scheduling is possible during tesNng phases, only needs verificaNon at end of project Event Horizon Telescope Dec 13,14 2011 9 VLBI Observing Mode ALMA
•  Central science “view” object that coordinates all acNvates on the array. –  Similar to exisNng Interferometry Observing Mode –  Need’s fixed Nme scheduling •  i.e. at 1530 UT move to source X –  Correlator, PIC, and Recorder Control –  Antenna Mask Management •  Different Error handling than normal Event Horizon Telescope Dec 13,14 2011 10 Device Interfaces Event Horizon Telescope Dec 13,14 2011 ALMA
11 Hardware Controllers Event Horizon Telescope Dec 13,14 2011 ALMA
12 Fault Tolerance ALMA
Event Horizon Telescope Dec 13,14 2011 13 Correlator Interfaces Event Horizon Telescope Dec 13,14 2011 ALMA
14 Correlator Interfaces (2) Event Horizon Telescope Dec 13,14 2011 ALMA
15 Correlator Interfaces Event Horizon Telescope Dec 13,14 2011 ALMA
16 VLBI OperaNons GUI Event Horizon Telescope Dec 13,14 2011 ALMA
17