Changeset 21409 for trunk/psastro/src/psastro.h
- Timestamp:
- Feb 6, 2009, 4:03:34 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastro.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastro.h
r20805 r21409 1 /* This file defines the library functions available to external programs. It must be included 2 * by programs which are compiled against psphot functions. 1 /** @file psastro.h 2 * 3 * @brief This file defines the library functions available to external 4 * programs. 5 * 6 * It must be included by programs which are compiled against 7 * psphot functions. 8 * 9 * @ingroup psastro 10 * 11 * @author IfA 12 * @version $Revision: 1.48 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2009-02-07 02:03:34 $ 14 * Copyright 2009 Institute for Astronomy, University of Hawaii 3 15 */ 4 16 … … 7 19 8 20 # include "psastroErrorCodes.h" 9 # define PSASTRO_RECIPE "PSASTRO" // Name of the recipe to use 21 22 /// @addtogroup psastro 23 /// @{ 24 25 # define PSASTRO_RECIPE "PSASTRO" ///< Name of the recipe to use 10 26 11 27 # define psMemCopy(A)(psMemIncrRefCounter((A))) … … 14 30 # define SIGN(X) (((X) == 0) ? 0 : ((fabs((double)(X))) / (X))) 15 31 16 // this structure represents a fit to the logN / logS curve for a set of stars 17 // logN = offset + slope * logS 32 /** 33 * this structure represents a fit to the logN / logS curve for a set of stars 34 * logN = offset + slope * logS 35 */ 18 36 typedef struct { 19 double mMin; // minimum magnitude bin with data20 double mMax; // maximum magnitude bin with data21 double offset; // fitted line offset22 double slope; // fitted line slope23 double mPeak; // mag of peak bin24 int nPeak; // # of stars in peak bin25 int sPeak; // sum of stars to peak bin37 double mMin; ///< minimum magnitude bin with data 38 double mMax; ///< maximum magnitude bin with data 39 double offset; ///< fitted line offset 40 double slope; ///< fitted line slope 41 double mPeak; ///< mag of peak bin 42 int nPeak; ///< # of stars in peak bin 43 int sPeak; ///< sum of stars to peak bin 26 44 } pmLumFunc; 27 45 … … 123 141 bool psastroZeroPointFromRecipe (float *zeropt, float *exptime, pmFPA *fpa, psMetadata *recipe); 124 142 143 ///@} 125 144 # endif /* PSASTRO_H */
Note:
See TracChangeset
for help on using the changeset viewer.
