00001 /** @file psPhotometry.h 00002 * 00003 * @brief Contains basic photometric structures. 00004 * 00005 * This file defines the basic photometric structures. 00006 * 00007 * @ingroup Photometry 00008 * 00009 * @author GLG, MHPCC 00010 * 00011 * XXX: There is no code associated with this header file. Perhaps we should 00012 * incorporate it into psAstrometry.h 00013 * 00014 * @version $Revision: 1.1.1.1 $ $Name: $ 00015 * @date $Date: 2005/06/15 21:08:12 $ 00016 * 00017 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 00018 */ 00019 00020 #ifndef PS_PHOTOMETRIC_H 00021 #define PS_PHOTOMETRIC_H 00022 00023 #include "psType.h" 00024 #include "psFunctions.h" 00025 00026 /// @addtogroup Photometry 00027 /// @{ 00028 00029 /** The photometric system description 00030 * 00031 * The photometric system is defined by the psPhotSystem structure. A 00032 * photometric system is identified by a human-readable name (ie, SDSS.g, 00033 * Landolt92.B, GPC1.OTA32.r). Each photometric system is given a unique 00034 * identifier ID. Observations taken with a specific camera, detector, and 00035 * filter represent their own photometric system, and it may be necessary to 00036 * perform transformations between these systems. Photometric systems 00037 * associated with observations from a specific camera/ detector/filter 00038 * combination can be associated with those components. 00039 * 00040 */ 00041 00042 typedef struct 00043 { 00044 const psS32 ID; ///< ID number for this photometric system 00045 const char *name; ///< Name of photometric system 00046 const char *camera; ///< Camera for photometric system 00047 const char *filter; ///< Filter used for photometric system 00048 const char *detector; ///< Detector used for photometric system 00049 } 00050 psPhotSystem; 00051 00052 /** Photometric system transformation 00053 * 00054 * This structure defines the transformation between two photometric systems. 00055 * 00056 */ 00057 00058 typedef struct 00059 { 00060 const psPhotSystem src; ///< Source photometric system 00061 const psPhotSystem dst; ///< Destination photometric system 00062 const psPhotSystem pP; ///< Primary color reference 00063 const psPhotSystem pM; ///< Primary color reference 00064 const psPhotSystem sP; ///< Secondary color reference 00065 const psPhotSystem sM; ///< Secondary color reference 00066 psF32 pA; ///< Color offset for references 00067 psF32 sA; ///< Color offset for references 00068 psPolynomial3D transform; ///< Transformation from source to destination 00069 } 00070 psPhotTransform; 00071 00072 /// @} 00073 00074 #endif // #ifndef PS_PHOTOMETRIC_H
1.4.1