Changeset 9588 for trunk/psModules/src/camera/pmFPAConstruct.h
- Timestamp:
- Oct 16, 2006, 2:55:01 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAConstruct.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAConstruct.h
r7589 r9588 1 /// @file pmFPAConstruct.h 2 /// 3 /// @brief Functions to create an FPA, and add data sources to it. 4 /// 5 /// @ingroup Camera 6 /// 7 /// @author Paul Price, IfA 8 /// 9 /// @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 10 /// @date $Date: 2006-10-17 00:55:01 $ 11 /// 12 /// Copyright 2005-2006 Institute for Astronomy, University of Hawaii 13 /// 14 1 15 #ifndef PM_FPA_CONSTRUCT_H 2 16 #define PM_FPA_CONSTRUCT_H 3 17 4 #include "pslib.h"18 #include <pslib.h> 5 19 #include "pmFPA.h" 6 20 #include "pmFPAview.h" 7 21 8 // Construct an FPA instance on the basis of a camera configuration 9 pmFPA *pmFPAConstruct(const psMetadata *camera // The camera configuration 22 /// Construct an FPA instance on the basis of a camera configuration 23 /// 24 /// This is the function that creates the FPA hierarchy on the basis of the camera configuration. The "FPA" 25 /// entry in the camera configuration specifies the chips (each of type STR) with their component cells listed 26 /// as the corresponding values (whitespace separated). The FPA hierarchy is created devoid of any 27 /// input/output sources (i.e., HDUs). 28 pmFPA *pmFPAConstruct(const psMetadata *camera ///< The camera configuration 10 29 ); 11 30 12 bool pmFPAAddSourceFromView(pmFPA *fpa, // The FPA 13 const pmFPAview *phuView, // The view, corresponding to the PHU 14 const psMetadata *format // Format of file 31 /// Add an (input or output) source to the focal plane hierarchy, specified by a view 32 /// 33 /// Given an FPA, add an HDU by specifying where it goes (i.e., by an FPAview). The camera format 34 /// configuration is required in order to describe how the FPA is laid out in terms of disk files. 35 bool pmFPAAddSourceFromView(pmFPA *fpa, ///< The FPA 36 const pmFPAview *phuView, ///< The view, corresponding to the PHU 37 const psMetadata *format ///< Format of file 15 38 ); 16 39 17 pmFPAview *pmFPAAddSourceFromHeader(pmFPA *fpa, // The FPA 18 psMetadata *phu, // Primary header of file 19 const psMetadata *format // Format of file 40 /// Add an (input or output) source to the focal plane hierarchy, specified by a (primary) header 41 /// 42 /// Given an FPA, add an HDU by specifying a primary header, which is used to determine the FITS file 43 /// contents, and therefore the proper location for the HDU. The camera format configuration is required in 44 /// order to describe how the FPA is laid out in terms of disk files. 45 pmFPAview *pmFPAAddSourceFromHeader(pmFPA *fpa, ///< The FPA 46 psMetadata *phu, ///< Primary header of file 47 const psMetadata *format ///< Format of file 20 48 ); 21 49 22 // Print out the FPA 23 void pmFPAPrint(FILE *fd, // File descriptor to which to print 24 pmFPA *fpa, // FPA to print 25 bool header, // Print headers? 26 bool concepts // Print concepts? 50 /// Print a representation of the FPA, including its headers and concepts. 51 /// 52 /// This function is intended for testing and development purposes. 53 void pmFPAPrint(FILE *fd, ///< File descriptor to which to print 54 const pmFPA *fpa, ///< FPA to print 55 bool header, ///< Print headers? 56 bool concepts ///< Print concepts? 27 57 ); 28 58
Note:
See TracChangeset
for help on using the changeset viewer.
