IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 2, 2021, 3:56:43 PM (5 years ago)
Author:
eugene
Message:

add STK_UNIONS_COMP and _RAW, EXP_UNIONS to fitstyles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20211108/ippconfig/recipes/fitstypes.mdc

    r41948 r41953  
    129129END
    130130
    131 # Compressed log flux image for stacks.
    132 UNIONS_STACK     METADATA
    133         BITPIX          S32     16
    134         SCALING         STR     ASINH_RANGE
    135         BSCALE          F32     0.00061 # 2^15 ~ 100M DN
    136         BZERO           F32     0.0     # symmetric about 0.0 DN
    137         BOFFSET         F32     0.0     # symmetric about 0.0 DN
    138         BSOFTEN         F32     1.0     # bend the curve at 1 DN
    139         COMPRESSION     STR     RICE
    140         TILE.X          S32     0
    141         TILE.Y          S32     1
    142         TILE.Z          S32     1
    143         NOISE           S32     8
    144 END
    145 
    146131# Compressed exposure image
     132# NOTE: only allows exposure times up to 6553.6 seconds
     133# (too small for UNIONS and other deep stacks)
    147134EXP     METADATA
    148135        BITPIX          S32     16
     
    161148END
    162149
     150# Deep Compressed log flux image for stacks.
     151# allows real images values up to 10^8 DN
     152STK_UNIONS_RAW     METADATA
     153        BITPIX          S32     -32
     154        SCALING         STR     MANUAL
     155        BSCALE          F32     1.0
     156        BZERO           F32     0.0
     157        COMPRESSION     STR     NONE
     158        TILE.X          S32     0
     159        TILE.Y          S32     1
     160        TILE.Z          S32     1
     161        NOISE           S32     8
     162END
     163
     164STK_UNIONS_COMP     METADATA
     165        BITPIX          S32     16
     166        SCALING         STR     ASINH_MANUAL
     167        BSCALE          F32     0.00061 # 2^15 ~ 100M DN
     168        BZERO           F32     0.0     # symmetric about 0.0 DN
     169        BOFFSET         F32     0.0     # symmetric about 0.0 DN
     170        BSOFTEN         F32     1.0     # bend the curve at 1 DN
     171        COMPRESSION     STR     RICE
     172        TILE.X          S32     0
     173        TILE.Y          S32     1
     174        TILE.Z          S32     1
     175        NOISE           S32     8
     176END
     177
     178# Deep compressed exposure image
     179# NOTE: only allows exposure times up to 65536 seconds
     180# (OK for UNIONS but not MD deep stacks)
     181EXP_UNIONS METADATA
     182        BITPIX          S32     16
     183        SCALING         STR     MANUAL
     184        FUZZ            BOOL    FALSE
     185        # Note: TRUE = BZERO + BSCALE * DISK
     186        BSCALE          F32     1       # Disk is stored as 1/10th sec
     187        BZERO           F32     32768   # Store unsigned zero as zero
     188        # switch to NONE to work around ticket 1411
     189        #COMPRESSION    STR     NONE
     190        COMPRESSION     STR     GZIP
     191        TILE.X          S32     0
     192        TILE.Y          S32     1
     193        TILE.Z          S32     1
     194        NOISE           S32     8
     195END
     196
    163197# Compressed number image
    164198EXPNUM  METADATA
Note: See TracChangeset for help on using the changeset viewer.