Changes between Version 1 and Version 2 of TipsAndTricks


Ignore:
Timestamp:
12/14/06 12:43:36 (17 years ago)
Author:
Malte Marquarding
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipsAndTricks

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