/* @file pmFPALevel.h
 * @brief Defines enum and string representations for the FPA levels
 *
 * @author Eugene Magnier, MHPCC
 *
 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
 * @date $Date: 2007-01-24 02:54:14 $
 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
 */

#ifndef PM_FPA_LEVEL_H
#define PM_FPA_LEVEL_H

/// @addtogroup Camera Camera Layout
/// @{

/// Specify the level of the FPA hierarchy
typedef enum {
    PM_FPA_LEVEL_NONE,                  ///< No particular level specified
    PM_FPA_LEVEL_FPA,                   ///< Level corresponds to an FPA
    PM_FPA_LEVEL_CHIP,                  ///< Level corresponds to a Chip
    PM_FPA_LEVEL_CELL,                  ///< Level corresponds to a Cell
    PM_FPA_LEVEL_READOUT                ///< Level corresponds to a Readout
} pmFPALevel;


/// Return the string representation of the FPA level
const char *pmFPALevelToName(pmFPALevel level ///< Level enum
                            );

/// Return the enum representation of the FPA level
pmFPALevel pmFPALevelFromName(const char *name ///< Level name
                             );
/// @}
#endif // #ifndef PM_FPA_LEVEL_H
