Changeset 4582 for trunk/psphot/src/fit_galaxies.c
- Timestamp:
- Jul 20, 2005, 4:19:11 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/fit_galaxies.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/fit_galaxies.c
r4574 r4582 14 14 15 15 float MOMENT_R = psMetadataLookupF32 (&status, config, "GAL_MOMENTS_RADIUS"); 16 float RADIUS = psMetadataLookupF32 (&status, config, "FIT_RADIUS");16 // float RADIUS = psMetadataLookupF32 (&status, config, "FIT_RADIUS"); 17 17 float snFaint = psMetadataLookupF32 (&status, config, "FAINT_SN_LIM"); 18 18 float OUTER = psMetadataLookupF32 (&status, config, "OUTER_RADIUS"); … … 22 22 float FLUX_LIMIT = FIT_NSIGMA * skyStats->sampleStdev; 23 23 24 psModelType modelType = psModelSetType ("PS_MODEL_ RGAUSS");24 psModelType modelType = psModelSetType ("PS_MODEL_SGAUSS"); 25 25 psModelRadius modelRadius = psModelRadius_GetFunction (modelType); 26 26 … … 34 34 35 35 // recalculate the source moments using the galaxy radius (larger) 36 status = pmSourceMoments (source, MOMENT_R); 36 status = pmSourceMoments_EAM (source, MOMENT_R); 37 if (!status) { 38 fprintf (stderr, "invalid moments, skipping\n"); 39 continue; 40 } 37 41 38 42 // use the source moments, etc to guess basic model parameters
Note:
See TracChangeset
for help on using the changeset viewer.
