IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 2, 2009, 10:48:12 AM (17 years ago)
Author:
Paul Price
Message:

Need JPEG recipe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageLoop.c

    r21183 r22734  
    2828    if (dump_file) {
    2929        pmConfigCamerasCull(config, NULL);
    30         pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO");
     30        pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO,JPEG");
    3131
    3232        pmConfigDump(config, input->fpa, dump_file);
     
    9696                }
    9797
    98                 // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
    99                 if (!ppImageDetrendFree (config, view)) {
    100                     ESCAPE("Unable to free detrend images");
    101                 }
     98                // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
     99                if (!ppImageDetrendFree (config, view)) {
     100                    ESCAPE("Unable to free detrend images");
     101                }
    102102            }
    103103
     
    105105                ppImageDetrendRecord(cell, config, options, view);
    106106            }
    107             // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
    108             if (!ppImageDetrendFree (config, view)) {
    109                 ESCAPE("Unable to free detrend images");
    110             }
    111         }
    112         // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
    113         if (!ppImageDetrendFree (config, view)) {
    114             ESCAPE("Unable to free detrend images");
    115         }
     107            // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
     108            if (!ppImageDetrendFree (config, view)) {
     109                ESCAPE("Unable to free detrend images");
     110            }
     111        }
     112        // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
     113        if (!ppImageDetrendFree (config, view)) {
     114            ESCAPE("Unable to free detrend images");
     115        }
    116116
    117117        // Apply the fringe correction
     
    121121            }
    122122        }
    123         // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
    124         if (!ppImageFringeFree (config, view)) {
    125             ESCAPE("Unable to free fringe images");
    126         }
     123        // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
     124        if (!ppImageFringeFree (config, view)) {
     125            ESCAPE("Unable to free fringe images");
     126        }
    127127
    128128        // measure various pixel-based statistics for this image
     
    152152        }
    153153
    154         // these may be used by ppImageSubtractBackground.
    155         // if these are defined as internal files, drop them here
    156         status = true;
    157         status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL");
    158         status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL.STDEV");
    159         status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND");
    160         if (!status) {
    161             psError(PSPHOT_ERR_PROG, false, "trouble dropping internal files");
    162             psFree (view);
    163             return false;
    164         }
     154        // these may be used by ppImageSubtractBackground.
     155        // if these are defined as internal files, drop them here
     156        status = true;
     157        status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL");
     158        status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL.STDEV");
     159        status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND");
     160        if (!status) {
     161            psError(PSPHOT_ERR_PROG, false, "trouble dropping internal files");
     162            psFree (view);
     163            return false;
     164        }
    165165
    166166        // binning (used for display) must take place after the background is replaced, if desired
Note: See TracChangeset for help on using the changeset viewer.