Add the ability to trim the outside pixels of the CCD  to avoid the BF intensity dependent edge effect.