IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 28, 2005, 2:41:45 PM (21 years ago)
Author:
eugene
Message:

work on the galaxy models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphot.c

    r4398 r4421  
    33int main (int argc, char **argv) {
    44
    5     psMetadata  *config  = NULL;                // user-provided configuration information
     5    psMetadata  *config  = NULL;
    66    psImageData *imdata  = NULL;
    77    psArray     *sources = NULL;
    8     psArray     *peaks   = NULL;                // a list of pmPeaks
     8    psArray     *peaks   = NULL;
    99    pmPSF       *psf     = NULL;
    1010    psStats     *sky     = NULL;
     
    2525    sources = source_moments (imdata, config, peaks);
    2626
     27    // classify sources based on moments, brightness
    2728    basic_classes (sources, config);
    2829
     
    3031    sources = psArraySort (sources, by_SN);
    3132
    32     // use stellar objects SN > PSF_SN_LIM
     33    // use bright stellar objects to measure PSF
    3334    psf = choose_psf_model (config, sources, sky);
    3435
     
    3940    apply_psf_model (imdata, config, sources, psf, sky);
    4041
    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
    4543    // fit_galaxies (imdata, config, sources);
    4644
Note: See TracChangeset for help on using the changeset viewer.