Changeset 4901 for trunk/psphot/src/psphot.h
- Timestamp:
- Aug 29, 2005, 5:44:55 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphot.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphot.h
r4630 r4901 31 31 } pmPSF_Test; 32 32 33 // structure to carry a dynamic string 34 typedef struct { 35 int NLINE; 36 int Nline; 37 char *line; 38 } psLine; 39 33 40 // used by mask operations 34 41 # define AND true 35 42 # define OR false 36 43 44 # define psMemCopy(A)(psMemIncrRefCounter((A))) 37 45 38 46 // top-level psphot functions … … 71 79 bool DumpImage (psImage *image, char *filename); 72 80 bool DumpPSFTestData (pmPSF_Test *test, char *filename); 81 void output (psImageData *imdata, psMetadata *config, psArray *sources); 82 bool WriteSourcesText (psImageData *imdata, psMetadata *config, psArray *sources); 83 bool WriteSourcesOBJ (psImageData *imdata, psMetadata *config, psArray *sources); 84 bool WriteSourcesSX (psImageData *imdata, psMetadata *config, psArray *sources); 85 bool WriteSourcesCMP (psImageData *imdata, psMetadata *config, psArray *sources); 86 bool WriteSourcesCMF (psImageData *imdata, psMetadata *config, psArray *sources); 87 bool init_line (char *line, int *Nline); 88 bool add_to_line (char *line, int *Nline, char *format, ...); 73 89 74 90 // psphot utilities … … 86 102 psBool psMinimizeLMChi2_EAM(psMinimization *min, psImage *covar, psVector *params, const psVector *paramMask, const psArray *x, const psVector *y, const psVector *yErr, psMinimizeLMChi2Func func); 87 103 psF64 p_psMinLM_dLinear (const psVector *Beta, const psVector *beta, psF64 lambda); 104 psImageData *psImageDataAlloc (psImage *image, psImage *noise, psImage *mask, psMetadata *header); 88 105 89 106 // fitsource utilities … … 110 127 // utilities 111 128 bool psTimerStart (char *name); 129 void psTimerFree (); 130 bool psTimerClear (char *name); 112 131 psF64 psTimerMark (char *name); 113 132 psS32 psLogArguments (int *argc, char **argv); … … 117 136 psF32 pmConfigLookupF32 (bool *status, psMetadata *config, psMetadata *header, char *name); 118 137 psVector *psVectorCreate (double lower, double upper, double delta, psElemType type); 138 139 // psLine functions 140 psLine *psLineAlloc (int Nline); 141 bool psLineInit (psLine *line); 142 bool psLineAdd (psLine *line, char *format, ...); 119 143 120 144 // polynomial functions
Note:
See TracChangeset
for help on using the changeset viewer.
