IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2009, 11:11:15 AM (17 years ago)
Author:
eugene
Message:

import updates from camera group (fits table outputs, fixes to persistent trails); modify import to avoid libpsf (fortran)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/extsrc/gpcsw/gpcsrc/fits/burntool/trailfit.c

    r23490 r23924  
    148148   }
    149149
     150/* Burn extends all the way to the top */
    150151   if(up && y1 >= ny-1) {
    151152      box->slope = -1.0;
    152       box->nfit = xe - xs + 1;
    153153      box->fiterr = FIT_TOP_ERROR;
     154/* No fit here because the burn is to top, but the persist may be fitable */
     155      if(box->sy > FIT_EDGE) {
     156         box->nfit = xe - xs + 1;
     157/* However, if burn extends to bottom, persist will not be able to fit */
     158      } else {
     159         box->nfit = 1;         /* Just enough to keep it alive */
     160         box->func = BURN_BLASTED;
     161      }
    154162      return(0);
    155163   }
Note: See TracChangeset for help on using the changeset viewer.