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/psastroFixChips.c

    r21422 r26259  
    248248        badAstrom |= fabs(obsAngle   - refAngle)   > angleTol;
    249249
    250         fprintf (stderr, "chip %d, angle: %f, pixel: %f,%f\n", view->chip, obsAngle - refAngle, obsCoord.x - refCoord.x, obsCoord.y - refCoord.y);
     250        fprintf (stderr, "chip %d, angle: %f, pixel: %f,%f  : ", view->chip, obsAngle - refAngle, obsCoord.x - refCoord.x, obsCoord.y - refCoord.y);
     251        if (badAstrom) {
     252            fprintf (stderr, "BAD ASTROM\n");
     253        } else {
     254            fprintf (stderr, "GOOD ASTROM\n");
     255        }
    251256
    252257        // XXX for now, just use first readout
     
    265270        psMetadataAddF32 (updates, PS_LIST_TAIL, "AST_DY", PS_META_REPLACE, "chip y offset wrt model", obsCoord.y - refCoord.y);
    266271        psMetadataAddF32 (updates, PS_LIST_TAIL, "AST_DT", PS_META_REPLACE, "chip rot offset wrt model", obsAngle - refAngle);
     272
     273        continue;
    267274
    268275        // for successful chips, save the measured offsets in the header
     
    319326        }
    320327
    321         psastroUpdateChipToFPA (input->fpa, obsChip, rawstars, refstars);
     328        psastroUpdateChipToFPA (input->fpa, obsChip);
    322329
    323330        // XXX update the header with info to reflect the failure
Note: See TracChangeset for help on using the changeset viewer.