Scripts for manipulating LOFAR data