/* @file  pmConceptsPhotcode.h
 * @brief Generate a photcode from the concepts
 *
 * @author Eugene Magnier, IfA
 *
 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
 * @date $Date: 2007-03-30 21:12:56 $
 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
 */

#ifndef PM_CONCEPTS_PHOTCODE_H
#define PM_CONCEPTS_PHOTCODE_H

/// @addtogroup Concepts Data Abstraction Concepts
/// @{

/// Return the photcode based on the PHOTCODE.RULE in the PHASE2 recipe
///
/// A photometry code ("photcode") is a string that represents the combination of filter and detector (chip).
/// This functions generates a photcode for a particular chip within the FPA, based on the PHOTCODE.RULE in
/// the PHASE2 recipe.  Interpolation using the usual syntax (e.g., "{CHIP.NAME}") is permitted.
psString pmConceptsPhotcodeForView(pmConfig *config, pmFPAfile *file, pmFPAview *view);

/// @}
# endif
