IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42877


Ignore:
Timestamp:
May 19, 2025, 2:26:00 PM (14 months ago)
Author:
tdeboer
Message:

add safety vaue for max burn threshold

File:
1 edited

Legend:

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

    r42799 r42877  
    4040        thresh_lo = trailthresh;
    4141
    42    /*try a new value for burnthresh which is twice the bias above the sky background, but with a safety limit of 30000 counts*/
     42   /*try a new value for burnthresh which is twice the bias above the sky background, but with a lower safety limit of 30000 counts and upper safety limit of 60000*/
    4343        burnthresh = cell->sky + (2*cell->bias);
    4444        if(burnthresh <= BURN_THRESH) burnthresh = BURN_THRESH;
     45        if(burnthresh >= 60000) burnthresh = 60000;
    4546        thresh_hi = burnthresh;
    4647
Note: See TracChangeset for help on using the changeset viewer.