Changeset 23487 for trunk/psModules
- Timestamp:
- Mar 23, 2009, 9:42:42 AM (17 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 29 edited
-
astrom/pmAstrometryDistortion.c (modified) (3 diffs)
-
astrom/pmAstrometryDistortion.h (modified) (1 diff)
-
astrom/pmAstrometryVisual.c (modified) (1 diff)
-
astrom/pmAstrometryVisual.h (modified) (1 diff)
-
camera/pmFPAfile.c (modified) (1 diff)
-
camera/pmFPAfile.h (modified) (1 diff)
-
detrend/pmDetrendDB.h (modified) (1 diff)
-
detrend/pmDetrendThreads.h (modified) (1 diff)
-
detrend/pmShutterCorrection.c (modified) (1 diff)
-
detrend/pmShutterCorrection.h (modified) (1 diff)
-
extras/pmKapaPlots.c (modified) (1 diff)
-
extras/pmKapaPlots.h (modified) (2 diffs)
-
extras/psPipe.c (modified) (1 diff)
-
extras/psPipe.h (modified) (2 diffs)
-
imcombine/pmSubtractionVisual.c (modified) (2 diffs)
-
imcombine/pmSubtractionVisual.h (modified) (1 diff)
-
objects/pmDetections.c (modified) (1 diff)
-
objects/pmDetections.h (modified) (1 diff)
-
objects/pmMoments.c (modified) (1 diff)
-
objects/pmMoments.h (modified) (1 diff)
-
objects/pmPSF.c (modified) (1 diff)
-
objects/pmPSF.h (modified) (1 diff)
-
objects/pmSource.h (modified) (1 diff)
-
objects/pmSourceExtendedPars.c (modified) (6 diffs)
-
objects/pmSourceExtendedPars.h (modified) (1 diff)
-
objects/pmSourceFitSet.c (modified) (3 diffs)
-
objects/pmSourceFitSet.h (modified) (3 diffs)
-
objects/pmSourcePlots.c (modified) (1 diff)
-
objects/pmSourcePlots.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryDistortion.c
r21183 r23487 40 40 } 41 41 42 pmAstromGradient *pmAstromGradientAlloc ( )42 pmAstromGradient *pmAstromGradientAlloc (void) 43 43 { 44 44 … … 126 126 grad = pmAstromGradientAlloc (); 127 127 128 // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 7);128 // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 7); 129 129 130 130 // fit the collection of positions and offsets with a local 1st order gradient … … 138 138 grad->dTPdM.x = local->coeff[0][1]; 139 139 140 // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 0);140 // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 0); 141 141 142 142 // fit the collection of positions and offsets with a local 1st order gradient -
trunk/psModules/src/astrom/pmAstrometryDistortion.h
r12486 r23487 27 27 pmAstromGradient; 28 28 29 pmAstromGradient *pmAstromGradientAlloc ( );29 pmAstromGradient *pmAstromGradientAlloc (void); 30 30 31 31 /* The following function determines the position residual, in the tangent -
trunk/psModules/src/astrom/pmAstrometryVisual.c
r23242 r23487 47 47 /* Initialization Routines */ 48 48 49 bool pmAstromVisualClose( )49 bool pmAstromVisualClose(void) 50 50 { 51 51 if(kapa != -1) -
trunk/psModules/src/astrom/pmAstrometryVisual.h
r23242 r23487 26 26 /** Close plotting windows at the end of a run 27 27 * @return true for success */ 28 bool pmAstromVisualClose( );28 bool pmAstromVisualClose(void); 29 29 30 30 -
trunk/psModules/src/camera/pmFPAfile.c
r23358 r23487 58 58 } 59 59 60 pmFPAfile *pmFPAfileAlloc( )60 pmFPAfile *pmFPAfileAlloc(void) 61 61 { 62 62 pmFPAfile *file = psAlloc(sizeof(pmFPAfile)); -
trunk/psModules/src/camera/pmFPAfile.h
r23358 r23487 115 115 116 116 // allocate an empty pmFPAfile structure 117 pmFPAfile *pmFPAfileAlloc ();117 pmFPAfile *pmFPAfileAlloc(void); 118 118 119 119 // select the readout from the named pmFPAfile; if the named file does not exist, -
trunk/psModules/src/detrend/pmDetrendDB.h
r23268 r23487 63 63 64 64 pmDetrendSelectOptions *pmDetrendSelectOptionsAlloc(const char *camera, psTime time, pmDetrendType type); 65 pmDetrendSelectResults *pmDetrendSelectResultsAlloc( );65 pmDetrendSelectResults *pmDetrendSelectResultsAlloc(void); 66 66 pmDetrendSelectResults *pmDetrendSelect (const pmDetrendSelectOptions *options, const pmConfig *config); 67 67 char *pmDetrendFile (const char *detID, const char *classID, const pmConfig *config); -
trunk/psModules/src/detrend/pmDetrendThreads.h
r18893 r23487 18 18 19 19 /// get the requested number of scan rows per thread 20 int pmDetrendGetScanRows ();20 int pmDetrendGetScanRows(void); 21 21 22 22 /// @} -
trunk/psModules/src/detrend/pmShutterCorrection.c
r23259 r23487 71 71 } 72 72 73 pmShutterCorrection *pmShutterCorrectionAlloc( )73 pmShutterCorrection *pmShutterCorrectionAlloc(void) 74 74 { 75 75 pmShutterCorrection *corr = (pmShutterCorrection*)psAlloc(sizeof(pmShutterCorrection)); -
trunk/psModules/src/detrend/pmShutterCorrection.h
r21509 r23487 69 69 70 70 /// Allocator for shutter correction parameters 71 pmShutterCorrection *pmShutterCorrectionAlloc( );71 pmShutterCorrection *pmShutterCorrectionAlloc(void); 72 72 73 73 /// Guess a shutter correction, based on plot of counts vs exposure time -
trunk/psModules/src/extras/pmKapaPlots.c
r13896 r23487 47 47 } 48 48 49 bool pmKapaClose ( )49 bool pmKapaClose (void) 50 50 { 51 51 -
trunk/psModules/src/extras/pmKapaPlots.h
r12696 r23487 1 1 /* @file pmKapaPlots.h 2 * @brief functions to make plots with the external program 'kapa' 2 * @brief functions to make plots with the external program 'kapa' 3 3 * 4 4 * @author EAM, IfA … … 17 17 // move to psLib or psModules 18 18 int pmKapaOpen (bool showWindow); 19 bool pmKapaClose ();19 bool pmKapaClose(void); 20 20 bool pmKapaPlotVectorPair (psVector *xVec, psVector *yVec); 21 21 -
trunk/psModules/src/extras/psPipe.c
r12888 r23487 35 35 } 36 36 37 psPipe *psPipeAlloc ( )37 psPipe *psPipeAlloc (void) 38 38 { 39 39 psPipe *pipe = (psPipe *)psAlloc(sizeof(psPipe)); -
trunk/psModules/src/extras/psPipe.h
r11253 r23487 1 1 /* @file psPipe.h 2 * @brief 3-stream pipe 2 * @brief 3-stream pipe 3 3 * 4 4 * @author EAM, IfA … … 26 26 27 27 // psPipe functions 28 psPipe *psPipeAlloc ( );28 psPipe *psPipeAlloc (void); 29 29 psPipe *psPipeOpen (char *command); 30 30 int psPipeClose (psPipe *pipe); -
trunk/psModules/src/imcombine/pmSubtractionVisual.c
r23242 r23487 44 44 45 45 /** destroy windows at the end of a run*/ 46 bool pmSubtractionVisualClose( )46 bool pmSubtractionVisualClose(void) 47 47 { 48 48 if(kapa != -1) … … 256 256 257 257 #else 258 bool pmSubtractionVisualClose( ) {return true;}258 bool pmSubtractionVisualClose(void) {return true;} 259 259 bool pmSubtractionVisualPlotConvKernels(psImage *convKernels) {return true;} 260 260 bool pmSubtractionVisualPlotStamps(pmSubtractionStampList *stamps, pmReadout *ro) {return true;} -
trunk/psModules/src/imcombine/pmSubtractionVisual.h
r23242 r23487 2 2 #define PM_SUBTRACTION_VISUAL_H 3 3 4 bool pmSubtractionVisualClose( );4 bool pmSubtractionVisualClose(void); 5 5 bool pmSubtractionVisualPlotConvKernels(psImage *convKernels); 6 6 bool pmSubtractionVisualPlotStamps(pmSubtractionStampList *stamps, pmReadout *ro); -
trunk/psModules/src/objects/pmDetections.c
r18828 r23487 30 30 31 31 // generate a pmDetections container with empty (allocated) footprints and peaks containers 32 pmDetections *pmDetectionsAlloc( ) {32 pmDetections *pmDetectionsAlloc(void) { 33 33 34 34 pmDetections *detections = (pmDetections *)psAlloc(sizeof(pmDetections)); -
trunk/psModules/src/objects/pmDetections.h
r18828 r23487 20 20 */ 21 21 typedef struct { 22 psArray *footprints; // collection of footprints in the image23 psArray *peaks; // collection of all peaks contained by the footprints24 psArray *oldPeaks; // collection of all peaks previously found22 psArray *footprints; // collection of footprints in the image 23 psArray *peaks; // collection of all peaks contained by the footprints 24 psArray *oldPeaks; // collection of all peaks previously found 25 25 int last; 26 26 } pmDetections; 27 27 28 pmDetections *pmDetectionsAlloc ( );28 pmDetections *pmDetectionsAlloc (void); 29 29 30 30 /// @} -
trunk/psModules/src/objects/pmMoments.c
r23187 r23487 25 25 to zero. 26 26 *****************************************************************************/ 27 pmMoments *pmMomentsAlloc( )27 pmMoments *pmMomentsAlloc(void) 28 28 { 29 29 psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__); -
trunk/psModules/src/objects/pmMoments.h
r19879 r23487 53 53 * 54 54 */ 55 pmMoments *pmMomentsAlloc( );55 pmMoments *pmMomentsAlloc(void); 56 56 57 57 /// @} -
trunk/psModules/src/objects/pmPSF.c
r20937 r23487 54 54 } 55 55 56 pmPSFOptions *pmPSFOptionsAlloc ( ) {56 pmPSFOptions *pmPSFOptionsAlloc (void) { 57 57 58 58 pmPSFOptions *options = (pmPSFOptions *) psAlloc(sizeof(pmPSFOptions)); -
trunk/psModules/src/objects/pmPSF.h
r21183 r23487 96 96 pmPSF *pmPSFAlloc (const pmPSFOptions *options); 97 97 bool psMemCheckPSF(psPtr ptr); 98 pmPSFOptions *pmPSFOptionsAlloc( );98 pmPSFOptions *pmPSFOptionsAlloc(void); 99 99 bool psMemCheckPSFOptions(psPtr ptr); 100 100 -
trunk/psModules/src/objects/pmSource.h
r23184 r23487 105 105 * 106 106 */ 107 pmSource *pmSourceAlloc( );107 pmSource *pmSourceAlloc(void); 108 108 109 109 /** pmSourceCopy() -
trunk/psModules/src/objects/pmSourceExtendedPars.c
r21363 r23487 46 46 } 47 47 48 pmSourceExtendedPars *pmSourceExtendedParsAlloc ( ) {48 pmSourceExtendedPars *pmSourceExtendedParsAlloc (void) { 49 49 pmSourceExtendedPars *pars = (pmSourceExtendedPars *) psAlloc(sizeof(pmSourceExtendedPars)); 50 50 psMemSetDeallocator(pars, (psFreeFunc) pmSourceExtendedParsFree); … … 75 75 } 76 76 77 pmSourceRadialProfile *pmSourceRadialProfileAlloc ( ) {77 pmSourceRadialProfile *pmSourceRadialProfileAlloc (void) { 78 78 79 79 pmSourceRadialProfile *profile = (pmSourceRadialProfile *) psAlloc(sizeof(pmSourceRadialProfile)); … … 99 99 } 100 100 101 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc ( ) {101 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc (void) { 102 102 103 103 pmSourceIsophotalValues *isophot = (pmSourceIsophotalValues *) psAlloc(sizeof(pmSourceIsophotalValues)); … … 125 125 } 126 126 127 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc ( ) {127 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc (void) { 128 128 129 129 pmSourcePetrosianValues *petrosian = (pmSourcePetrosianValues *) psAlloc(sizeof(pmSourcePetrosianValues)); … … 150 150 } 151 151 152 pmSourceKronValues *pmSourceKronValuesAlloc ( ) {152 pmSourceKronValues *pmSourceKronValuesAlloc (void) { 153 153 154 154 pmSourceKronValues *kron = (pmSourceKronValues *) psAlloc(sizeof(pmSourceKronValues)); … … 181 181 } 182 182 183 pmSourceAnnuli *pmSourceAnnuliAlloc ( ) {183 pmSourceAnnuli *pmSourceAnnuliAlloc (void) { 184 184 185 185 pmSourceAnnuli *annuli = (pmSourceAnnuli *) psAlloc(sizeof(pmSourceAnnuli)); -
trunk/psModules/src/objects/pmSourceExtendedPars.h
r21363 r23487 55 55 } pmSourceExtendedPars; 56 56 57 pmSourceExtendedPars *pmSourceExtendedParsAlloc ();57 pmSourceExtendedPars *pmSourceExtendedParsAlloc(void); 58 58 bool psMemCheckSourceExtendedPars(psPtr ptr); 59 pmSourceRadialProfile *pmSourceRadialProfileAlloc ();59 pmSourceRadialProfile *pmSourceRadialProfileAlloc(void); 60 60 bool psMemCheckSourceRadialProfile(psPtr ptr); 61 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc ();61 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc(void); 62 62 bool psMemCheckSourceIsophotalValues(psPtr ptr); 63 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc ();63 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc(void); 64 64 bool psMemCheckSourcePetrosianValues(psPtr ptr); 65 pmSourceKronValues *pmSourceKronValuesAlloc ();65 pmSourceKronValues *pmSourceKronValuesAlloc(void); 66 66 bool psMemCheckSourceKronValues(psPtr ptr); 67 pmSourceAnnuli *pmSourceAnnuliAlloc ();67 pmSourceAnnuli *pmSourceAnnuliAlloc(void); 68 68 bool psMemCheckSourceAnnuli(psPtr ptr); 69 69 -
trunk/psModules/src/objects/pmSourceFitSet.c
r23187 r23487 67 67 } 68 68 69 void pmSourceFitSetDone ( ) {69 void pmSourceFitSetDone (void) { 70 70 psFree (fitSets); 71 71 } … … 150 150 } 151 151 152 pmSourceFitSetData *pmSourceFitSetDataGet ( ) {152 pmSourceFitSetData *pmSourceFitSetDataGet (void) { 153 153 154 154 psAssert (fitSets, "pmSourceFitSetInit not called"); … … 172 172 } 173 173 174 void pmSourceFitSetDataClear ( ) {174 void pmSourceFitSetDataClear (void) { 175 175 176 176 int i; -
trunk/psModules/src/objects/pmSourceFitSet.h
r21183 r23487 24 24 // use this function to init the fit sets based on the number of threads 25 25 bool pmSourceFitSetInit (int nThreads); 26 void pmSourceFitSetDone ( );26 void pmSourceFitSetDone (void); 27 27 28 28 // initialize data for a group of object models … … 32 32 // functions for selecting the FitSet corresponding to the current thread 33 33 pmSourceFitSetData *pmSourceFitSetDataSet (psArray *modelSet); 34 pmSourceFitSetData *pmSourceFitSetDataGet ( );35 void pmSourceFitSetDataClear ( );34 pmSourceFitSetData *pmSourceFitSetDataGet (void); 35 void pmSourceFitSetDataClear (void); 36 36 37 37 // function used to set limits for a group of models … … 54 54 */ 55 55 bool pmSourceFitSet( 56 pmSource *source, ///< The input pmSource57 psArray *modelSet, ///< model to be fitted58 pmSourceFitMode mode, ///< define parameters to be fitted59 psImageMaskType maskVal ///< Vale to mask56 pmSource *source, ///< The input pmSource 57 psArray *modelSet, ///< model to be fitted 58 pmSourceFitMode mode, ///< define parameters to be fitted 59 psImageMaskType maskVal ///< Vale to mask 60 60 61 61 ); -
trunk/psModules/src/objects/pmSourcePlots.c
r19849 r23487 139 139 } 140 140 141 pmSourcePlotLayout *pmSourcePlotLayoutAlloc( )141 pmSourcePlotLayout *pmSourcePlotLayoutAlloc(void) 142 142 { 143 143 pmSourcePlotLayout *layout = (pmSourcePlotLayout *)psAlloc(sizeof(pmSourcePlotLayout)); -
trunk/psModules/src/objects/pmSourcePlots.h
r15562 r23487 29 29 // typedef bool (*pmSourcePlotFunction)(pmConfig *config, pmFPAview *view, pmSourcePlotLayout *layout); 30 30 31 pmSourcePlotLayout *pmSourcePlotLayoutAlloc( );31 pmSourcePlotLayout *pmSourcePlotLayoutAlloc(void); 32 32 bool psMemCheckSourcePlotLayout(psPtr ptr); 33 33
Note:
See TracChangeset
for help on using the changeset viewer.
