00001 /* @file pmFPAUtils.h 00002 * @brief Utility functions for FPAs 00003 * 00004 * @author Paul Price, IfA 00005 * 00006 * @version $Revision: 1.3 $ $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_FPA_UTILS_H 00012 #define PM_FPA_UTILS_H 00013 00014 /// @addtogroup Camera Camera Layout 00015 /// @{ 00016 00017 #include "pmFPA.h" 00018 00019 /// Find a chip by name; return the index 00020 /// 00021 /// Looks for a chip within the FPA with CHIP.NAME matching the provided name. Returns the index of the chip, 00022 /// or -1 if it was not found. 00023 int pmFPAFindChip(const pmFPA *fpa, ///< FPA in which to find the chip 00024 const char *name ///< Name of the chip 00025 ); 00026 00027 /// Find a cell by name; return the index 00028 /// 00029 /// Looks for a cell within the chip with CELL.NAME matching the provided name. Returns the index of the 00030 /// cell, or -1 if it was not found. 00031 int pmChipFindCell(const pmChip *chip, // Chip in which to find the cell 00032 const char *name // Name of the cell 00033 ); 00034 /// @} 00035 #endif
1.5.1