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