IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 1 and Version 2 of Background_Regeneration


Ignore:
Timestamp:
Dec 14, 2012, 6:43:18 PM (14 years ago)
Author:
watersc1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Background_Regeneration

    v1 v2  
    11= Background Regeneration =
     2
     3== Status: 2012-12-14 ==
     4
     5[[Image(model_comp.jpg,400px)]]
     6Checking the results of the automatically generated background models made it clear that these models were doing more harm than good.  This figure shows the automatic models (top row) along with some manually created models (bottom row).  The large color jumps in the automatic models are on the order of ~100 counts, whereas for the manual models it is less than 10.
     7
     8The change in the manual models is that each input warp model is matched to the model from the warp with the best zeropoint by measuring the offset and scale necessary for {{{reference = offset + scale * input}}}.  This ensures that the models have similar zeropoints, and prevents the large discontinuities when some inputs are masked.
     9
     10[[Image(unconvolved_image_comp.jpg,400px)]]
     11
     12This image shows the input stack (asinh scaling removed) in the top row, along with the background restored version in the bottom row.  The changes are not very dramatic, which is somewhat expected given the reasonably smooth manual background models.
     13
     14I've made all the data used in this test available on the rsync server under watersc1-demo-data/bkgrest/m33.  Each filter is in a separate subdirectory, with the following files:
     15{{{
     16g
     17|-- bkgrest_convolved.fpa.fits                                        ppBackground output/convolved/image
     18|-- bkgrest_convolved.fpa.mk.fits                                                                   mask
     19|-- bkgrest_unconvolved.fpa.fits                                                          unconvolved/image
     20|-- bkgrest_unconvolved.fpa.mk.fits                                                                   mask
     21|-- new_model.fits                                                    manual background model
     22|-- stack_data
     23|   |-- RINGS.V3.skycell.1935.063.stk.1827279.fits                    convolved stack image
     24|   |-- RINGS.V3.skycell.1935.063.stk.1827279.mask.fits                               mask
     25|   |-- RINGS.V3.skycell.1935.063.stk.1827279.mdl.fits                automatic background model
     26|   |-- RINGS.V3.skycell.1935.063.stk.1827279.unconv.fits             unconvolved stack image
     27|   |-- RINGS.V3.skycell.1935.063.stk.1827279.unconv.mask.fits                          mask
     28|   |-- linear_convolved.fits                                         stack image, asinh scaling removed
     29|   `-- linear_unconvolved.fits
     30`-- warp_models
     31    |-- o5482g0379o.239505.wrp.655200.skycell.1935.063.mdl.fits       input warp background model
     32    |-- o5482g0379o.239505.wrp.655200.skycell.1935.063.scaled.fits    input warp background model with offset and scale applied
     33    |-- o5482g0380o.239506.wrp.655285.skycell.1935.063.mdl.fits
     34    |-- o5482g0380o.239506.wrp.655285.skycell.1935.063.scaled.fits
     35    |-- o5482g0398o.239524.wrp.655201.skycell.1935.063.mdl.fits
     36    |-- o5482g0398o.239524.wrp.655201.skycell.1935.063.scaled.fits
     37    |-- o5482g0399o.239526.wrp.655287.skycell.1935.063.mdl.fits
     38    |-- o5482g0399o.239526.wrp.655287.skycell.1935.063.scaled.fits
     39    |-- o5498g0110o.246616.wrp.655293.skycell.1935.063.mdl.fits
     40    |-- o5498g0110o.246616.wrp.655293.skycell.1935.063.scaled.fits
     41    |-- o5498g0127o.246632.wrp.655299.skycell.1935.063.mdl.fits
     42    |-- o5498g0127o.246632.wrp.655299.skycell.1935.063.scaled.fits
     43    |-- o5805g0537o.385621.wrp.655212.skycell.1935.063.mdl.fits
     44    |-- o5805g0537o.385621.wrp.655212.skycell.1935.063.scaled.fits
     45    |-- o5805g0544o.385628.wrp.655217.skycell.1935.063.mdl.fits
     46    |-- o5805g0544o.385628.wrp.655217.skycell.1935.063.scaled.fits
     47    |-- o6219g0269o.534377.wrp.655222.skycell.1935.063.mdl.fits
     48    |-- o6219g0269o.534377.wrp.655222.skycell.1935.063.scaled.fits
     49    |-- o6219g0287o.534385.wrp.655226.skycell.1935.063.mdl.fits
     50    `-- o6219g0287o.534385.wrp.655226.skycell.1935.063.scaled.fits
     51}}}
     52
     53
     54== Status: 2012-12-12 ==
     55
     56All the code is finished and committed to the trunk, but I am still checking the outputs.
     57
    258
    359== Chip Stage ==
     
    1773Generating a background restored image can be done using the ppBackground command:
    1874{{{
    19  ppBackground restored_version -background input.mdl.fits -image input.fits -mask input.mask.fits
     75 ppBackground restored_version -background input.mdl.fits -image input.fits -mask input.mask.fits -recipe PPBACKGROUND STACK
    2076}}}
    2177
     
    2581
    2682All the code is finished and committed to the trunk, but I am still checking the outputs.
    27