wiki:TipsAndTricks

Version 4 (modified by Malte Marquarding, 18 years ago) ( diff )

--

Correct for negative values in the MOPS bandpass

Go to this page source:trunk/plugins/vanvleck_flag.py and click on one of the links at the bottom Download in other formats"

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

Then each time you start asap or at the top of and asap script.

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.

Note: See TracWiki for help on using the wiki.