Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1367
News FAQ
Search Home


next up previous
Next: Project Up: Calibration, Imaging and Datasystems for AIPS++ - Report Previous: Introduction

Subsections


Overview of the Analysis

The approach adopted follows object-oriented analysis procedures, typified by Coad & Yourdon (1991). Indeed, most of the diagrams in this report were generated using OOATool, an object-oriented design tool which follows the notation used by Coad & Yourdon.

The problem

Much of the difficulty experienced in any analysis is in defining the problem domain. In a note distributed via the aips2-structures exploder on 12th December, 1991 (Message-Id: <9112121756.AA08339@zia.aoc.nrao.edu>, hereafter referred to as CS1), Cornwell and Shone attempted to analyse the general problem of visibility data processing. This addressed a rather specific problem, namely that of how to handle visibility data for a limited range of applications. Whilst that analysis was adequate for the problem as defined, any attempt to generalise that analysis would inevitably force other applications into an unnatural model.

We have attempted to step back and consider the more general problem of radio-astronomical data processing, as suggested by Hjellming and Glendenning (``An Initial Design for Major AIPS++ Objects'' - AIPS++ group internal memorandum; 27th January 1992). Their analysis presented a highly abstract view of the problem, but one which can be used to set further development in context. We have, therefore, tried to steer a middle course between this and the approach in CS1. Our model for the problem assumes that some abstract astronomical instrument (Telescope) produces measurements (known as Yegs) related to the sky brightness distribution in a way which may be described by an Imaging Model. The measurements are assumed to be corrupted in ways which may be described in arbitrarily complicated Telescope Correction/Calibration Models. In doing this, we can consider the general problem as a kind of inversion problem, but with special treatment for data calibration and correction. In this approach, specialisation for a particular kind of Telescope may be achieved simply by changing the models for calibration/correction and imaging.

An inversion process using a particular ImagingModel produces an estimate of the quantities the astronomer is interested in, typically a SkyImage (a kind of Image with a sky coordinate system), but there may be many other possibilities. Whilst the ImagingModel typically involves a Fourier relationship, this may not always be the case.

Scope of the analysis

The analysis described here is almost entirely at the level of an application programming interface, and thus most of the classes identified here should correspond to entities familiar to the observational astronomer using the system. As an object-oriented analysis, it inevitably provides a conceptual design for this level of the system, but details of the precise relationships between objects (and often the location of attributes) is unclear in many cases, and deferred to more detailed design.

Issues of implementation are rarely touched upon, and the development of the system will probably entail analysis and design for a number of ``layers'', with each being dictated largely by the requirements of the implementation of the layer above. In particular, issues of object persistence are not addressed here, nor do we say anything about strategies for input/output, interprocess communication or task/process management. Whilst this has occasionally led to difficulties in placing our analysis in the larger context of an AIPS++ system, it has also given us some freedom which will inevitably have some impact on the areas mentioned above, as well as the user interface.

The principal areas of analysis

Many individual areas, such as calibration and imaging, were identified for discussion by smaller groups. This eventually led to a coherent model with a number of components which have been analysed in some detail. We give a brief introduction here,

Project -
This defines the relationship of the astronomer to data, and provides for management and selection of data. In some respects, this may be seen as fulfilling the role of the AIPS Catalog, but this would be a small subset of the capabilities of the Project system. Furthermore, unlike the AIPS Catalog system, this should be regarded as an optional application layer, in the sense that it may be possible for the astronomer to bypass this, and manage data directly, if he/she so wishes

Telescope -
This, like the observed data itself, is a key component of the observation database. Conceptually, it acts as a ``gateway'', via which any of the available model information for an observation database may be accessed. This may be anything which relates to the way in which the ``real'' telescope, used for observing, produces and corrupts the measured Yegs. Typically, Telescope will be an object which will reference Telescope Correction/Calibration Model (or simply TelescopeModel) objects and ImagingModel objects. Both of these are major areas of analysis which will be introduced next.

Telescope Correction/Calibration Models -
These are models of telescopes and their components, the atmosphere, and possibly anything else which can be used to describe corrections to be applied to Yegs. Methods for solving for these parameters, and applying them to Yegs are strongly dependent on such models, and thus are tightly coupled to the particular model. Models may be as simple or as complex as is required, and their use should be selectable and controlled by the astronomer.

By coupling model parameters to the appropriate solver and corrector methods, model dependencies are largely hidden, and new models, with their appropriate methods for solution and correction may be introduced with minimal impact on the rest of the system.

Telescope models may include representations of any hardware which may be relevant (i.e., the appropriate parameters may be updated, and used to correct Yegs. For example, a simple interferometer TelescopeModel might include Receptors, (to which antenna-based gains are attached) which represent inputs to a Correlator (with which baseline-gains are associated).

Imaging Models -
These describe the way in which a sky brightness distribution may be transformed to produce Yegs, together with the inverse transformation. In practice, these provide for the prediction of observed data from a model image of the sky brightness distribution, and the inverse process, whereby observed data (usually corrected and calibrated) may be transformed to give an estimate of the sky brightness distribution.

These are usually related to a particular kind of telescope (e.g., an interferometer or a single dish), but there may be several models for each telescope; e.g., an interferometer user may require various approximations to the measurement equation, such as 2-dimensional approximation instead of the correct but computationally more expensive 3-dimensional version.

Like the Telescope calibration/correction models, it should be possible for the user to select and control imaging models, and it should be possible to implement new models without changing anything else in the system.

Image Tools -
Tools for performing operations on one or more images to produce another might be regarded as being outside the scope of the meeting; however, deconvolution in particular is an important part of the imaging process which may often be intimately connected to the inversion and correction processes.

Data System -
The data system is analysed as a database system which must be able to provide a variety of views and aggregations of data, as required by a particular kind of algorithm. The impact of this on the internal workings of the database has been discussed to some extent, but the implementation is not covered here.

Reality and models - crucial distinctions

A number of classes we have identified match real objects, particularly in Telescope and its constituents. It is important to realise that these are not intended as complete models of these real objects; rather, our models are an abstraction relevant to the data processing problem, and they can only be described in terms of components for which parameters are available. There is no point in building a complicated model of the real telescope, when we cannot hope to be able to parametrize such a model. However, our scheme does not exclude the possibility of more complicated models; it simply ensures that instead of adopting fixed, predetermined models, where change has wide impact in the system, one can replace models in a modular fashion.

Abstract models are useful in associating entities which have something in common in the ``real world'' (e.g., such as Telescopes and models for gain errors), and we believe they aid in understanding the way in which data structures and associated methods are organised.

General comments

We recognise that our analysis is incomplete in many areas, and suggest that it should be seen as framework for more detailed analysis and design. We believe we have recognised the important classes, and their principal attributes and services, although these may have to be modified on closer inspection.

Some of the object classes we propose (particularly the ImageTools) seem procedural in nature, and initially, we tried to avoid them. However, it became apparent that these are valid and useful objects which may be identified as a particular kind of tool, with individual instances representing an algorithm with a particular set of parameters. We suggest that it may be interesting to carry-out further investigation of this idiom, in the context of the ``Tools'' specified in the user requirements, in order to determine whether it my be more generally useful.

Note on the following sections

The following sections describe the major areas of analysis in more detail. These should be read in conjunction with the Coad-Yourdon diagrams and associated notes. The diagrams immediately follow the text for each section, but the associated notes, which contain supplementary information are contained in appendices at the end of the document, in order to prevent the main body of the report from being disrupted.


next up previous
Next: Project Up: Calibration, Imaging and Datasystems for AIPS++ - Report Previous: Introduction
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-03-28