Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: bimams.totalintegrationtime - Function Up: bimams - Tool Previous: bimams.subtable - Function


bimams.timerange - Function



Package bima
Module bimams
Tool bimams


Get the maximum and minimum times in the MS


Synopsis
timerange()


Description
This function returns the maximum and minimum times in the MS. The thing returned is a record with fields max and min. Each field contains a quantity corresponding to the maximum and minimum times, respectively.



Arguments



Returns
A record containing the maximum and minimum times
.


Example
# construct a bimams tool and assign it to a Glish variable named bms
- bms := bimams('1733-130');
# get the maximum and minimum times
- tra := bms.timerange();
- tra
[max=[value=4.38575597e+09, unit=s], min=[value=4.38573665e+09, unit=s]]
# now convert the maximum time to something meaningful to a human
- dq.time(tra.max,form='ymd');
1997/11/09/01:32:52.170





next up previous contents index
Next: bimams.totalintegrationtime - Function Up: bimams - Tool Previous: bimams.subtable - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01