Use Case: Observatory Mode: Optical Pointing

Last modified: 10apr07

Goals:   Use the optical telescope on an antenna to derive antenna pointing solutions based on observations of stars. This use case is for Interactive observing (manually schedule the SB). It is designed to provide easy access to optical pointing software and results for commissioning with as much interactivity as needed.

Which stars to observe are selected when creating the project/SB in the Observing Tool: Select specific stars in a list in the SB. Stars are selected from an observe list provided within the Observing Tool. They can be selected to be above a specific horizon limit (for either the ATF or the OSF) and within a specific magnitude limit. Up to 500 stars can be selected. If too many are within the selection criteria (say you only want to select 200), you can randomly select from the retrieved list of stars to limit the total number. If all terms are to to be solved for, uniform coverage in Az-El is optimal. A star list can also be typed into the SB manually, uploaded from a file.

This is a relatively simple automatic use case: the correlator is not involved and the data volume is low.

Contact Authors:   D. Shepherd, R. Lucas, J. Mangum

Role(s)/Actor(s):
Primaries:

Secondaries:

Priority:   Critical (optical pointing can be done offline in an ad-hoc way but it is extremely desirable to have this automated for commissioning).

Performance:   Control, Scheduling, & Archive activities must run in near-real time (within seconds), TelCal analysis of the results should be initiated within a few minutes after the data is taken.

Frequency of Use:   There will be ~5 optical pointing systems (OPTs) available for antennas in the ALMA 12m array. All antennas will be able to accommodate OPTs. Optical pointing is expected to be done each time an antenna is put into the array during commissioning or after maintenance at the OSF. All ACA antennas will have OPTs, thus, this mode may be applied to the ACA sub-array periodically (this use case has not been modified for ACA use).

Preconditions:

  1. The Optical pointing camera (OPT) is installed on the antenna and the plate scale is calibrated. The calibration results have been placed in a database which will be read by the control software.
  2. The Astronomer/Operator has a valid user name and password on console1 (also known as golum at the ATF), they have operator group privileges and access to the shared disk space (/userdata) from their home directory, and they have logged into the operators console (console1 or golum) as themselves.
  3. The Astronomer/Operator has started the ALMA software. The following subsystems are active (at least): Control, TelCal, Archive, Scheduling. The Operator interface GUI is available and active. DataCapture is either running or ready for Control to start up when needed (DC runs within the Control component).
  4. The Astronomer/Operator has checked that the Optical Pointing camera is focused. If it is not, they should manually determine and set the optimal focus. At the ATF, the OPT required re-focusing about once a night because the lens cell is slightly temperature dependent. Further, the OPT should be slightly out of focus to ensure that the star image on the CCD covers several pixels (required to obtain a good fit to the Gaussian peak). Because of the temperature dependence of the OPT focus and the need for human judgment, this step has been made a manual pre-condition to optical pointing.
  5. The OT should be able to generate the optical pointing project with one SB.
  6. The Scheduler is ready for Astronomer/Operator input to create an interactive array and submit an SB or in Dynamic Mode (to automatically schedule an optical pointing SB that is high priority).
  7. The Control subsystem is active and ready to execute an SB when requested by the Scheduler or Astronomer/Operator.
  8. TelCal is active and ready to process data.
  9. The Archive permissions are set to allow the Scheduler/Project Manager and DataCapture to write to the Archive.
  10. A verified, standard mode optical pointing script has been written and is available for insertion into an SB in the OT project. The current standard mode optical pointing script writes the star position centroids to data capture (for later archiving) and to a data file on disk in TPOINT format. The disk file contains additional information, in fields delimited by comment characters, that cannot be put in the ASDM (such as separating the offsets due to the current pointing model and the offsets measured using the camera).
  11. The latest/best pointing model has been loaded using the command where ALMA0x = ALMA01, ALMA04 or some other antenna name.
  12. All documentation referenced below and additional detailed documentation on specific subsystems is available at: http://almasw.hq.eso.org/almasw/bin/view/Usertests/AcceptanceAIVDocumentation20070411

Basic Course:

  1. Astronomer/Operator creates an optical pointing project/SB with the Observing Tool. An input list of stars is generated by the OT in the SB and selected stars are put in a random order. The Astronomer clicks the option for the standard mode script to be used.
  2. The Astronomer/Operator requests that the OT verifies the scheduling block for optical pointing and places it in the Archive.
  3. The Astronomer/Operator uses the Scheduling GUI interface to select a sub-array with a single antenna to be used for interactive observing. The selected antenna has the optical pointing camera and associated hardware installed.
  4. When the interactive array is created the Scheduler queries the Archive for a list of available SBs to run. If desired, the Astronomer/Operator can narrow the query parameters to show fewer SBs if desired (e.g. only those beginning with "OPT"). The optical pointing project/SB is one of them.
  5. The Astronomer/Operator selects the optical pointing SB via the Interactive Scheduler GUI interface and clicks on the "Execute" button.
  6. Control creates an ExecBlock (EB) and begins execution.
  7. ExecBlock execution events (controlled by the standard mode script that is referenced in the OT project - if this script is modified then the specific details below may change):
  8. While the ExecBlock is running:
  9. When the ExecBlock is complete the following things happen:
  10. The Astronomer/Operator notes the UID identifier in the OMC 'Data Flow' tab (e.g. uid://X00/Xf/X2) and exports the resulting ASDM from the archive by typing the following command from an x-term window: Where the uid_number is the UID identifier noted above. The ASDM is written to disk. The name will be similar to the UID identifier except that '/' or ':' characters will be replaced by '_' underscore characters since disk file names are not allows to have these special characters (e.g. uid_ _ _X00_Xf_X2)
  11. Processing of the optical pointing data is done offline by the Astronomer/Operator to allow for flexible interaction with the software and data editing. The following steps involve an interface to TelCal and the Archive:

Postconditions:

  1. Pointing data is on disk and in the Archive
  2. The system logs are available in the Archive.
  3. The pointing model result is in the Archive (Cal DB)

Issues to be Determined or Resolved:  

  1. None at this time.

Notes:  

  1. Use Case created by D. Shepherd based on many conversations with Robert Lucas, Allen Farris, Jeff Mangum, Alan Bridger, Ralph Marson, Joe McMullin, Brian Glendenning, Joe Schwarz Sohaila Lucero and Jeff Kern. Robert Laing's comments have also been taken into account.