00001 /* @file pmConceptsPhotcode.h 00002 * @brief Generate a photcode from the concepts 00003 * 00004 * @author Eugene Magnier, IfA 00005 * 00006 * @version $Revision: 1.7 $ $Name: $ 00007 * @date $Date: 2007/01/24 02:54:14 $ 00008 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 00009 */ 00010 00011 #ifndef PM_CONCEPTS_PHOTCODE_H 00012 #define PM_CONCEPTS_PHOTCODE_H 00013 00014 /// @addtogroup Concepts Data Abstraction Concepts 00015 /// @{ 00016 00017 #include <pslib.h> 00018 #include "pmConfig.h" 00019 #include "pmFPAview.h" 00020 #include "pmFPAfile.h" 00021 00022 /// Return the photcode based on the PHOTCODE.RULE in the PHASE2 recipe 00023 /// 00024 /// A photometry code ("photcode") is a string that represents the combination of filter and detector (chip). 00025 /// This functions generates a photcode for a particular chip within the FPA, based on the PHOTCODE.RULE in 00026 /// the PHASE2 recipe. Interpolation using the usual syntax (e.g., "{CHIP.NAME}") is permitted. 00027 psString pmConceptsPhotcodeForView(pmConfig *config, pmFPAfile *file, pmFPAview *view); 00028 00029 /// @} 00030 # endif
1.5.1