mhardcastle / ddf-pipeline

LOFAR pipeline using killms/ddfacet
GNU General Public License v2.0
24 stars 20 forks source link

flux scaling in mosiac.py and mosaic_pointing.py #174

Closed twshimwell closed 5 years ago

twshimwell commented 5 years ago

The quality pipeline 'scale' now gives a scaling derived from aligning pixels in neighbouring pointings (https://github.com/mhardcastle/ddf-pipeline/issues/171). Mosaic_pointing.py now takes an extra input --do_scaling and then it applies these scaling factors in the mosaicing.

Mosaic.py has also been altered to do the scaling after the projection (it was currently done before the reprojection). This way if the scaling changes the reprojection does not need to be redone and simply the mosaic* files can be deleted and mosaic_pointing.py can be rerun.

The changes have just been pushed to master and have been tested by comparing mosaiced images with the new scaling after reprojection with the older code. Seems to be fine.

twshimwell commented 5 years ago

I'll close this one then. Reopen if i have done anything horrible.