Changeset 1457 for branches/alma


Ignore:
Timestamp:
12/18/08 11:07:16 (16 years ago)
Author:
TakTsutsumi
Message:

New Development: No

JIRA Issue: No

Ready to Release: Yes

Interface Changes: No

What Interface Changed:

Test Programs: sdplot(plottype='azel')

Put in Release Notes: No

Description: Fixed a bug in scantable.get_time().

Updated sd.plotter for azel plotting
with current get_time option.


Location:
branches/alma/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/python/asapplotter.py

    r1446 r1457  
    758758        self._data = scan
    759759        self._outfile = outfile
    760         dates = self._data.get_time()
     760        dates = self._data.get_time(asdatetime=True)
    761761        t = PL.date2num(dates)
    762762        tz = timezone('UTC')
  • branches/alma/python/scantable.py

    r1446 r1457  
    474474        from time import strptime
    475475        from datetime import datetime
     476        times = self._get_column(self._gettime, row)
    476477        if not asdatetime:
    477             return self._get_column(self._gettime, row)
     478            return times
    478479        format = "%Y/%m/%d/%H:%M:%S"
    479480        if isinstance(times, list):
Note: See TracChangeset for help on using the changeset viewer.