hmsToHours
Return to directory of Todd's CASA extensions
Converts a string of "HH", "HH:MM" or "HH:MM:SS" (or a list of such strings) into floating point hours (or a list of hours). See also
hoursToHMS
.
Usage:
au.hmsToHours(hms)
Example:
CASA <2>: au.hmsToHours('4:56:7') Out[2]: 4.935277777777777
--
ToddHunter
- 2014-12-22
This topic: ALMA
>
TWikiUsers
>
ToddHunter
>
CasaExtensions
>
HoursToHMS
>
HmsToHours
Topic revision:
2014-12-22,
ToddHunter
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki?
Send feedback