Now have a non-interactive version of the BBSO method for removing scattered light, written in IDL.

It takes about 10 seconds to ‘clean up’ the DS of one image.

The code is in SCIENCEPROJECTS/EARTHSHINE/ and runs by using a script:

./go_linearclean.scr filename.fits

a file is produced called


The method is non-intercative because the user no longer has to specify disc rim and disc center with a cursor. The estimation is done by edge-detection methods and an algorithm to fit a circle to three points in the plane, not on a line.