IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13758


Ignore:
Timestamp:
Jun 11, 2007, 2:06:51 PM (19 years ago)
Author:
eugene
Message:

adding fringe-specific jpeg scaling

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/detrend_reject_imfile.pl

    r13732 r13758  
    7777        'domeflat' => 'PPIMAGE_J1_RESID_F',     # Flat-field only
    7878        'skyflat'  => 'PPIMAGE_J1_RESID_F',     # Flat-field only
    79         'fringe'   => 'PPIMAGE_J1_RESID_F',     # Fringe only
     79        'fringe'   => 'PPIMAGE_J1_RESID_R',     # Fringe only
    8080    },
    8181    'bin2' => {         # We're checking the master --- input is not already processed
     
    8686        'domeflat' => 'PPIMAGE_J2_RESID_F',     # Flat-field only
    8787        'skyflat'  => 'PPIMAGE_J2_RESID_F',     # Flat-field only
    88         'fringe'   => 'PPIMAGE_J2_RESID_F',     # Fringe only
     88        'fringe'   => 'PPIMAGE_J2_RESID_R',     # Fringe only
    8989    },
    9090};
  • trunk/ippconfig/recipes/ppImage.config

    r13753 r13758  
    503503END
    504504
     505# Save JPEG from BIN1 for flat
     506PPIMAGE_J1_RESID_R      METADATA
     507  OVERSCAN        BOOL    FALSE           # Overscan subtraction
     508  BIAS            BOOL    FALSE           # Bias subtraction
     509  DARK            BOOL    FALSE           # Dark subtraction
     510  SHUTTER         BOOL    FALSE           # Shutter correction
     511  FLAT            BOOL    FALSE           # Flat-field normalisation
     512  MASK            BOOL    FALSE           # Mask bad pixels
     513  FRINGE          BOOL    FALSE           # Fringe subtraction
     514  BASE.FITS       BOOL    FALSE           # Save base image?
     515  BIN1.FITS       BOOL    FALSE           # Save 1st binned chip image?
     516  BIN2.FITS       BOOL    FALSE           # Save 2nd binned chip image?
     517  BIN1.JPEG       BOOL    TRUE            # Save 1st binned jpeg?
     518  BIN2.JPEG       BOOL    FALSE           # Save 2nd binned jpeg?
     519  BIN1.XBIN       S32     1               # Image is already binned
     520  BIN1.YBIN       S32     1               # Image is already binned
     521  BIN2.XBIN       S32     1               # Image is already binned
     522  BIN2.YBIN       S32     1               # Image is already binned
     523
     524  PPIMAGE.JPEG1  METADATA
     525    COLORMAP      STR     -greyscale
     526    SCALE.MODE    STR     RANGE
     527    SCALE.MIN     F32     -3.0
     528    SCALE.MAX     F32     +3.0
     529  END
     530END
     531
     532# Save JPEG from BIN2 for flat
     533PPIMAGE_J2_RESID_R        METADATA
     534  OVERSCAN        BOOL    FALSE           # Overscan subtraction
     535  BIAS            BOOL    FALSE           # Bias subtraction
     536  DARK            BOOL    FALSE           # Dark subtraction
     537  SHUTTER         BOOL    FALSE           # Shutter correction
     538  FLAT            BOOL    FALSE           # Flat-field normalisation
     539  MASK            BOOL    FALSE           # Mask bad pixels
     540  FRINGE          BOOL    FALSE           # Fringe subtraction
     541  BASE.FITS       BOOL    FALSE           # Save base image?
     542  BIN1.FITS       BOOL    FALSE           # Save 1st binned chip image?
     543  BIN2.FITS       BOOL    FALSE           # Save 2nd binned chip image?
     544  BIN1.JPEG       BOOL    FALSE           # Save 1st binned jpeg?
     545  BIN2.JPEG       BOOL    TRUE            # Save 2nd binned jpeg?
     546  BIN1.XBIN       S32     1               # Image is already binned
     547  BIN1.YBIN       S32     1               # Image is already binned
     548  BIN2.XBIN       S32     1               # Image is already binned
     549  BIN2.YBIN       S32     1               # Image is already binned
     550
     551  PPIMAGE.JPEG2  METADATA
     552    COLORMAP      STR     -greyscale
     553    SCALE.MODE    STR     FRACTION
     554    SCALE.MIN     F32     0.95
     555    SCALE.MAX     F32     1.05
     556  END
     557END
     558
    505559# JPEG images for different types of positive images
    506560# Save JPEG from BIN1 for bias
Note: See TracChangeset for help on using the changeset viewer.