Changeset 4421 for trunk/psphot/src/psphot.c
- Timestamp:
- Jun 28, 2005, 2:41:45 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphot.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphot.c
r4398 r4421 3 3 int main (int argc, char **argv) { 4 4 5 psMetadata *config = NULL; // user-provided configuration information5 psMetadata *config = NULL; 6 6 psImageData *imdata = NULL; 7 7 psArray *sources = NULL; 8 psArray *peaks = NULL; // a list of pmPeaks8 psArray *peaks = NULL; 9 9 pmPSF *psf = NULL; 10 10 psStats *sky = NULL; … … 25 25 sources = source_moments (imdata, config, peaks); 26 26 27 // classify sources based on moments, brightness 27 28 basic_classes (sources, config); 28 29 … … 30 31 sources = psArraySort (sources, by_SN); 31 32 32 // use stellar objects SN > PSF_SN_LIM33 // use bright stellar objects to measure PSF 33 34 psf = choose_psf_model (config, sources, sky); 34 35 … … 39 40 apply_psf_model (imdata, config, sources, psf, sky); 40 41 41 // XXX this test compares dSx,dSy distribution with model. 42 // XXX it has some problems 43 // test_psf_scatter (sources); 44 42 // fit extended objects with galaxy models 45 43 // fit_galaxies (imdata, config, sources); 46 44
Note:
See TracChangeset
for help on using the changeset viewer.
