Return to directory of Todd's CASA extensions

Finds the range of date values (suitable for pylab.plot_date) that correspond to daylight hours at the specified observatory for the specified range of dates.


au.findDaytime(startdate, enddate=None, observatory='ALMA', intervalMinutes=30, finestSearch=4.0)
  • startdate: string format YYYY-MM-DD or YYYY/MM/DD
  • intervalMinutes: initial grid size to use in the search
  • finestSearch: final grid to use (in minutes)
  • a list of 2-element arrays corresponding to sunrise, sunset


CASA <5>: au.findDaytime('2015-12-31')
  Out[5]: [array([ 735963.41041667,  735963.96736111])]

-- ToddHunter - 2015-12-31
Topic revision: r1 - 2015-12-31, ToddHunter
This site is powered by FoswikiCopyright © 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