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.
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.