IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 22, 2009, 2:57:41 PM (17 years ago)
Author:
eugene
Message:

various fixes to psastro:

1) added bootstrap resampling to zero point error analysis
2) added iterative clump removal from refstars and rawstars
3) added unique reference match option
4) some improved visualizations
5) improved mosaic iterations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroChooseRefstars.c

    r24806 r26259  
    134134
    135135                psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.REFSTARS", PS_DATA_ARRAY, "astrometry matches", refstars);
     136
     137                // generate a reduced subset excluding the clumps
     138                // XXX do we need both REFSTARS and SUBSET?
     139                psArray *subset = psastroRemoveClumpsIterate(refstars, 150, 3);
     140                psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.REFSTARS.SUBSET", PS_DATA_ARRAY, "astrometry objects", subset);
     141
    136142                psFree (refstars);
     143                psFree (subset);
    137144                psFree (extent);
    138145
    139146                if (matchLumFunc) {
    140                     // in this case, no PSASTRO.REFSTARS is added to readout->analysis
     147                    // limit the total magnitude range of PSASTRO.REFSTARS.SUBSET based on
     148                    // overlapping luminosity functions
    141149                    if (!psastroRefstarSubset (readout)) {
    142150                        psError(PSASTRO_ERR_DATA, false, "Can't determine an appropriate refstar subset\n");
Note: See TracChangeset for help on using the changeset viewer.