Usage for mostRecentMoves
Return to directory of Todd's CASA extensions
Reads the antenna names from an ms and checks the antennaMoves.txt file
for the most recent move with respect to today (not the observed date), then
calculates the number of days with respect to the observed date,
then sorts for the most recent first. Calls
getMostRecentMove() for each antenna in succession.
Usage:
au.mostRecentMoves(vis, history=1, relativeToToday=False)
history: the number of moves to display
Returns: a list of the antenna names sorted by the amount of time spent at the current pad (longest = first).
Example:
CASA <13>: au.mostRecentMoves('uid___A002_X49990a_X1f.ms.split.cal')
2012-08-13 05:34:36 UT = Observation start
YYYY-MM-DD HH:MM Name From To
2012-08-05T12:00 DV21 A080 A015 8 days before this observation
2012-08-05T12:00 DA50 OSF A045 8 days before this observation
2012-07-07T12:00 DV20 OSF A020 37 days before this observation
2012-07-01T12:00 DV02 OSF A077 43 days before this observation
2012-06-14T12:00 PM01 OSF T704 60 days before this observation
2012-05-30T12:00 PM03 A132 A076 75 days before this observation
2012-05-12T12:00 DV19 OSF A008 93 days before this observation
2012-05-02T19:30 DV04 OSF A004 103 days before this observation
2012-04-10T12:00 DV08 A070 A021 125 days before this observation
2012-03-31T18:30 DV01 A070 A001 135 days before this observation
2012-03-24T12:00 PM02 OSF T702 142 days before this observation
2012-03-19T12:00 DV13 A020 A072 147 days before this observation
2012-03-15T12:00 DV15 A043 A074 151 days before this observation
2012-03-09T12:00 DV18 OSF A053 157 days before this observation
2012-03-07T12:00 DV17 OSF A138 159 days before this observation
2012-02-11T12:00 DV03 A013 A137 184 days before this observation
2012-02-09T12:00 DV10 A023 A071 186 days before this observation
2012-02-08T12:00 DA43 A009 A075 187 days before this observation
2012-01-25T12:00 DA44 OSF A068 201 days before this observation
2012-01-11T12:00 DA46 OSF A067 215 days before this observation
2011-11-28T12:00 DV16 OSF A069 259 days before this observation
2011-09-14T12:00 DA42 OSF A050 334 days before this observation
2011-08-26T00:00 DA41 A009 A003 353 days before this observation
2011-08-13T00:00 DV14 OSF A025 366 days before this observation
1970-01-01T00:00 DV12 OSF A011 15565 days before this observation
--
ToddHunter - 2012-09-11