ASPCS
 
Back to Volume
Paper: The AIPS++ Array and Image Classes
Volume: 61, Astronomical Data Analysis Software and Systems III
Page: 413
Authors: Glendenning, B. E.
Abstract: An Object-Oriented library of powerful and convenient C++ classes is being developed as a part of the AIPS++ project. Two sets of classes which provide Array and Image functionality are described. The Array classes (which have been available for some time) provide arbitrary N-dimensional arrays, as well as 1-, 2- and 3-dimensional specializations. Convenient "whole-array" expressions may be written (similar to IDL or FORTRAN 90), and decimated array sections are available as first class objects. Some higher-level functionality which uses arrays (such as gridding of irregular data) will be mentioned but not discussed in detail. The Image classes (which are presently under construction) offer the same sorts of features as arrays. Additionally, they must provide services such as binding coordinates to pixels, providing error estimates, and mapping sections of large multi-dimensional images to memory efficiently. Object-Oriented concepts such as encapsulation, polymorphism, and iteration are used throughout the library, and their use in the above classes will be described.
Back to Volume