IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 14, 2023, 12:59:09 PM (3 years ago)
Author:
tdeboer
Message:

burntool running updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/burntool.h

    r35685 r42395  
    7070#define STAR_RADIUS  4          /* Radius over which a star ctr must be max */
    7171#define SKY_MARG 3              /* Horiz offset from burn area for sky */
    72 #define FIT_EDGE 10             /* How far beyond saturation to start fit? */
     72#define FIT_EDGE 5              /* How far beyond saturation to start fit? */
    7373#define Y_SCALE 0.01            /* Scale factor for y in fits */
    7474
     
    102102
    103103/* Fit parameters */
    104 #define FIT_MIN_SLOPE  -5.0     /* minimum slope which is a credible fit */
     104#define FIT_MIN_SLOPE -10.0     /* minimum slope which is a credible fit */
    105105#define FIT_MAX_SLOPE   0.0     /* maximum slope which is a credible fit */
    106106
     
    144144      int sxfit;        /* starting column for fits */
    145145      int exfit;        /* ending column for fits */
     146      int eyfit;        /* y-coord ending column for fits */
    146147      int nfit;         /* how many columns were corrected? */
    147148      IMTYPE *stamp;    /* postage stamp of this object */
     
    176177STATIC int burn_restore(int nx, int ny, int NX, IMTYPE *buf, CELL *cell);
    177178STATIC int burn_apply(int nx, int ny, int NX, IMTYPE *buf, CELL *cell);
    178 STATIC int persist_read(CELL *cell, const char *infile, int apply);
    179 STATIC int persist_write(CELL *cell, const char *outfile);
     179STATIC int persist_read(CELL *cell, const char *infile, int apply, int oldfile);
     180STATIC int persist_write(CELL *cell, const char *outfile, int oldfile);
    180181STATIC int persist_fix(int nx, int ny, int stride, IMTYPE *buf, CELL *cell);
    181182STATIC int persist_merge(CELL *cell);
Note: See TracChangeset for help on using the changeset viewer.