IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2011, 1:04:41 PM (15 years ago)
Author:
eugene
Message:

updates to pmPeak to better distinguish peak flux versions; updates to visualization; add bits for substantial suspect masking; consolidate assignment of source position and flux based on peak, moments, etc; improve footprint culling process; fix PSF_QF and PSF_QF_PERFECT calculations; fix source model chisq values

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

    • Property svn:ignore
      •  

        old new  
        2828ChangeLog
        2929psmodules-*.tar.*
         30a.out.dSYM
  • trunk/psModules/src/camera/pmFPA_JPEG.c

    r29544 r31153  
    3535#include "pmFPAfile.h"
    3636#include "pmFPA_JPEG.h"
    37 
    3837
    3938bool pmFPAviewWriteJPEG(const pmFPAview *view, pmFPAfile *file, const pmConfig *config)
     
    227226    char *userOptions = psMetadataLookupStr(&status, options, "OPTIONS"); // Mode for scaling image
    228227    if (userOptions) {
    229         // just use strstr for now
    230         if (strcasestr(userOptions, "+SB")) {
     228        // just use strstr : strcasestr is non-standard an not always available.  replace with our own?
     229        if (strstr(userOptions, "+SB")) {
    231230            jpegOptions->showScale = PS_JPEG_SHOWSCALE_BOTTOM;
    232231        }
    233         if (strcasestr(userOptions, "-X")) {
     232        if (strstr(userOptions, "-X")) {
    234233            jpegOptions->xFlip = true;
    235234        }
    236         if (strcasestr(userOptions, "-Y")) {
     235        if (strstr(userOptions, "-Y")) {
     236            jpegOptions->yFlip = true;
     237        }
     238        // lowercase versions
     239        if (strstr(userOptions, "+sb")) {
     240            jpegOptions->showScale = PS_JPEG_SHOWSCALE_BOTTOM;
     241        }
     242        if (strstr(userOptions, "-x")) {
     243            jpegOptions->xFlip = true;
     244        }
     245        if (strstr(userOptions, "-y")) {
    237246            jpegOptions->yFlip = true;
    238247        }
Note: See TracChangeset for help on using the changeset viewer.