== Correct for negative values in the MOPS bandpass == Download this http://sourcecode.atnf.csiro.au/cgi-bin/trac_asap.cgi/attachment/wiki/TipsAndTricks/vanvleck_flag.py?format=raw To enable the functionality you have two options. a) {{{ cat vanvleck_flag.py >> ~/.asap/asapuserfuncs.py }}} This will make it available automatically. b) copy the script somwehere. The each time you start asap or at the top of and asap script In asap {{{ execfile("sommewhere/vanvleck_flag.py") }}} Usage: {{{ s = scantable("my_dodgey_MOPS_file.rpf") s.vanvleck_flag() # with an an optional level below which to flag ( default 5.0) }}} This is applied to the data "insitu" Hopefully this problem will be rectified by Warwick in time for the next observing season.