3 | | |
4 | | Go to this page source:trunk/plugins/vanvleck_flag.py and click on one of the links at the bottom '''Download in other formats''' |
5 | | |
6 | | |
7 | | To enable the functionality you have two options. |
8 | | |
9 | | |
10 | | a) |
11 | | {{{ |
12 | | cat vanvleck_flag.py >> ~/.asap/asapuserfuncs.py |
13 | | }}} |
14 | | This will make it available automatically. |
15 | | |
16 | | b) |
17 | | |
18 | | copy the script somewhere. |
19 | | |
20 | | Then each time you start asap or at the top of and asap script. |
21 | | {{{ |
22 | | execfile("sommewhere/vanvleck_flag.py") |
23 | | }}} |
24 | | Usage: |
25 | | {{{ |
26 | | s = scantable("my_dodgey_MOPS_file.rpf") |
27 | | s.vanvleck_flag() # with an an optional level below which to flag ( default 5.0) |
28 | | }}} |
29 | | This is applied to the data "insitu" |
30 | | |
31 | | Hopefully this problem will be rectified by Warwick in time for the next observing season. |
| 3 | FitAsciiData |