Usage for lstrange
Return to directory of Todd's CASA extensions
Sometimes it is useful to know the LST range over which your ms was run. For example, this information is useful to the JAO data reduction scientist who can request a certain LST for the next execution of your SB. This command will do that, along with providing the UT and MJD and duration. The only parameter is the ms name. It will calculate the range for the entire ms, and then calculate the range restricted to the scans with ON_SOURCE intent (or other specified intent). It also lists the range of elevations ON_SOURCE, and a one-line summary that can be pasted into a table on the SCOPS wikipages.
au.lstrange(vis, verbose=True, vm='', intent='OBSERVE_TARGET#ON_SOURCE')
- string, string, float, string: wikiline2, wikiline3, clockTimeMinutes, csvline
- wikiline2: YYYY-MM-DD | SBuid | EBuid | HH:MM-H:MM | LST_HH:MM-HH:MM | clockTimeMinutes | '
- wikiline3: ' elevationStart-elevationStop | ' (values in degrees)
- csvline: SBuid,EBuid,clockTimeMinutes
CASA <16>: au.lstrange('uid___A002_X1465d3_Xc7.ms')
Running ValueMapping... (this may take a minute)
Ignoring spectral window [0, 3, 4, 5, 6, 7, 8, 9, 10] because it is WVR related
Checking intents for each scan...
OBSERVE_TARGET#ON_SOURCE scans = 
LST range of whole SB = 19.38 to 21.47 = 19:22 to 21:28 (125.8 minutes)
MJD range of whole SB = 55486.9232 to 55487.0103
UT range of whole SB = 2010-10-17 22:09:22 UT to 2010-10-18 00:14:49 UT
wikiline = 2010-10-17 22:09-00:14 | 19:22-21:28 | 125.4 |
('| 2010-10-17 | uid://A002/X144626/X1b | uid://A002/X1465d3/Xc7 | 22:09-00:14 | 19:22-21:28 | 125.4 | ',
'no onsource time | ',
'csvline = uid://A002/X144626/X1b,uid://A002/X1465d3/Xc7,125.45')