IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42666


Ignore:
Timestamp:
Apr 23, 2024, 5:58:22 PM (2 years ago)
Author:
hgao
Message:

merge branches/eam_branches/ippconfig.20240412

Location:
branches/2dbias/ippconfig
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/2dbias/ippconfig

  • branches/2dbias/ippconfig/gpc1/format_20100723.config

    r41898 r42666  
    161161                CELL.TRIMSEC.SOURCE     STR     HEADER
    162162                CELL.TRIMSEC            STR     DATASEC
    163                 CELL.BIASSEC.SOURCE     STR     HEADER
    164                 CELL.BIASSEC            STR     BIASSEC
     163#                CELL.BIASSEC.SOURCE     STR     HEADER
     164#                CELL.BIASSEC            STR     BIASSEC
     165# two regions are needed for 2D bias subtraction. the first is the read-dir (y), the second is the cross-dir (x)
     166# 2D bias subtraction requires ppImage.config OVERSCAN.2D to be TRUE
     167               CELL.BIASSEC.SOURCE     STR     VALUE
     168               CELL.BIASSEC            STR     [591:624,1:598],[1:590,598:608]
     169#
     170# a single region will be used for constant and 1D bias subtraction
     171#               CELL.BIASSEC.SOURCE     STR     VALUE
     172#               CELL.BIASSEC            STR     [591:624,1:608]
    165173        END
    166174END
  • branches/2dbias/ippconfig/recipes/jpeg.mdc

    r34802 r42666  
     1# This recipe file is used in a slightly different fashion from the others
     2# The different programs define an output JPEG file (or files) for the binned
     3# images with names based on the program and the binning level.
     4
     5# ppImage : PPIMAGE.JPEG1 & PPIMAGE.JPEG2
     6# ppSub   : PPSUB.OUTPUT.JPEG1 & PPSUB.OUTPUT.JPEG2 & PPSUB.OUTPUT.RESID.JPEG
     7# ppStack : PPSTACK.OUTPUT.JPEG1 & PPSTACK.OUTPUT.JPEG2
     8# ppstamp : PPSTAMP.OUTPUT.JPEG
     9
     10# these names are the used to select the recipe metadata blocks below
     11
     12# alternate recipes can be defined by nesting those metadata blocks inside
     13# additional named blocks, like the BIAS example below
     14
    115# JPEG options for files
    216# Each METADATA entry should contain:
     
    721# * OPTIONS: comma-separated list : -SB,+SB,+X,+Y,-X,-Y
    822
     23# to define the grayscale values, the image robust MEAN and STDEV are calculated
     24# (if those cannot be calculated, a simple MEAN and STDEV are used)
     25
     26# the different SCALE.MODE values define the min and max colorscale values as:
     27# RANGE    : MEAN - 2*STDEV*SCALE.MIN to MEAN + 2*STDEV*SCALE.MAX
     28# FRACTION : MEAN*SCALE.MIN           to MEAN*SCALE.MAX
     29# VALUE    : SCALE.MIN                to SCALE.MAX
     30
     31# COLORMAP values can be: greyscale, grayscale, -greyscale, -grayscale, heat, rainbow,
     32
    933PPIMAGE.JPEG1           METADATA
    1034        COLORMAP        STR     -greyscale
     
    1539END
    1640
     41PPIMAGE.JPEG2   METADATA
     42        COLORMAP        STR     -greyscale
     43        SCALE.MODE      STR     RANGE
     44        SCALE.MIN       F32      -5.0
     45        SCALE.MAX       F32     +10.0
     46        OPTIONS         STR     -SB,-X,+Y
     47END
     48
     49ALTCOLORS               METADATA
     50    PPIMAGE.JPEG1           METADATA
     51            COLORMAP        STR     rainbow
     52            SCALE.MODE      STR     RANGE
     53            SCALE.MIN       F32      -5.0
     54            SCALE.MAX       F32     +10.0
     55            OPTIONS         STR     +SB,-X,+Y
     56    END
     57   
     58    PPIMAGE.JPEG2   METADATA
     59            COLORMAP        STR     rainbow
     60            SCALE.MODE      STR     RANGE
     61            SCALE.MIN       F32      -5.0
     62            SCALE.MAX       F32     +10.0
     63            OPTIONS         STR     -SB,-X,+Y
     64    END
     65END
     66
    1767PPIMAGE.JPEG1.HEAT      METADATA
    18         COLORMAP        STR     heat
     68        COLORMAP        STR     -greyscale
    1969        SCALE.MODE      STR     FRACTION
    20         SCALE.MIN       F32     0.95
    21         SCALE.MAX       F32     1.05
    22         OPTIONS         STR     +SB,-X,+Y
    23 END
    24 
    25 PPIMAGE.JPEG2   METADATA
    26         COLORMAP        STR     -greyscale
    27         SCALE.MODE      STR     RANGE
    28         SCALE.MIN       F32      -5.0
    29         SCALE.MAX       F32     +10.0
    30         OPTIONS         STR     -SB,-X,+Y
     70        SCALE.MIN       F32     0.5
     71        SCALE.MAX       F32     1.5
     72        OPTIONS         STR     +SB,+X,+Y
    3173END
    3274
  • branches/2dbias/ippconfig/recipes/ppImage.config

    r42390 r42666  
    9797# Overscan subtraction
    9898OVERSCAN.SINGLE         BOOL    TRUE            # Reduce overscan to a single value?
     99OVERSCAN.CONSTANT       BOOL    FALSE           # Apply a known, fixed value?
     100OVERSCAN.VALUE          F32     0.0             # value to apply, if requested
     101OVERSCAN.MIN.VALID      F32     0.0             # minimum valid overscan value
     102OVERSCAN.MAX.VALID      F32     65536.0         # maximum valid overscan value
     103
     104# statistics to use to convert overscan region to a vector
    99105OVERSCAN.FIT            STR     NONE            # NONE | POLYNOMIAL | SPLINE
    100106OVERSCAN.ORDER          S32     5               # Order of polynomial fit
     
    102108OVERSCAN.BOXCAR         S32     0               # Boxcar smoothing radius
    103109OVERSCAN.GAUSS          F32     0.0             # Gaussian smoothing sigma
    104 OVERSCAN.CONSTANT       BOOL    FALSE           # Apply a known, fixed value?
    105 OVERSCAN.VALUE          F32     0.0             # value to apply, if requested
    106 OVERSCAN.MIN.VALID      F32     0.0             # minimum valid overscan value
    107 OVERSCAN.MAX.VALID      F32     65536.0         # maximum valid overscan value
     110
     111OVERSCAN.2D             BOOL    FALSE           # use a 2D model for the overscan subtraction?
     112
     113# statistics to use to convert 2D top-overscan region to a vector
     114OVERSCAN.2D.FIT         STR     NONE            # NONE | POLYNOMIAL | SPLINE
     115OVERSCAN.2D.ORDER       S32     5               # Order of polynomial fit
     116OVERSCAN.2D.STAT        STR     MEAN            # MEAN | MEDIAN
     117OVERSCAN.2D.BOXCAR      S32     0               # Boxcar smoothing radius
     118OVERSCAN.2D.GAUSS       F32     0.0             # Gaussian smoothing sigma
    108119
    109120# Pattern Row subtraction options
     
    26262637  FLAT               BOOL    TRUE            # Flat-field normalisation
    26272638  MASK               BOOL    TRUE            # Mask bad pixels
    2628   MASK.BUILD         BOOL    TRUE            # Build internal mask?
     2639  MASK.BUILD         BOOL    TRUE            # Build internal mask?
    26292640  MASK.BURNTOOL      BOOL    FALSE           # Mask potential burntool trails
    26302641  PATTERN.ROW        BOOL    FALSE           # Row pattern correction
     
    26332644  BIN1.FITS          BOOL    TRUE            # Save 1st binned chip image?
    26342645  BIN2.FITS          BOOL    TRUE            # Save 2nd binned chip image?
     2646  BIN1.JPEG          BOOL    TRUE            # Save 1st binned jpeg?
     2647  BIN2.JPEG          BOOL    TRUE            # Save 2nd binned jpeg?
    26352648  PHOTOM             BOOL    FALSE           # Source identification and photometry
    26362649  ASTROM.CHIP        BOOL    FALSE           # Astrometry per chip?
     
    26392652  CROSSTALK.MEASURE  BOOL    FALSE           # Subtract model background?
    26402653
    2641   BACKGROUND         BOOL    TRUE            # Subtract background?
    2642   PATTERN.DEAD.CELLS BOOL    TRUE            # continuity corrections (see options below)
     2654  BACKGROUND         BOOL    FALSE           # Subtract background?
     2655  PATTERN.DEAD.CELLS BOOL    FALSE           # continuity corrections (see options below)
    26432656  OVERSCAN.MIN.VALID F32     100.0           # Overscan subtraction
    26442657  OVERSCAN.MAX.VALID F32   64000.0           # Overscan subtraction
  • branches/2dbias/ippconfig/recipes/reductionClasses.mdc

    r42390 r42666  
    11# These reduction classes define recipes that go together as a group
     2
     3# the detrend reduction classes are used by the detrend ippScripts to select
     4# the desired recipes for the different types of detrend products:
     5
     6## detrend_process_imfile.pl loads recipes (det_type)_PROCESS & (det_type)_JPEG_IMAGE
     7## detrend_resid_imfile.pl loads either (det_type)_RESID OR (det_type)_VERIFY AND (det_type)_JPEG_RESID
     8## detrend_stack.pl loads (det_type)_STACK
     9
     10# (det_type)_PROCESS & (det_type)_RESID are used to select PPIMAGE recipes
     11# (det_type)_JPEG_IMAGE, (det_type)_JPEG_RESID are used to select JPEG recipes
     12# (det_type)_STACK is used to select the PPMERGE recipe (NOTE: not ppStack)
    213
    314DETREND         METADATA
Note: See TracChangeset for help on using the changeset viewer.