Changeset 1950


Ignore:
Timestamp:
11/10/10 17:04:59 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): scantable

Description: a modification to make scantable.get_time a bit more effective.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r1948 r1950  
    758758        if prec < 0:
    759759            # automagically set necessary precision +1
    760             prec = 7 - numpy.floor(numpy.log10(min(self.get_inttime())))
     760            prec = 7 - numpy.floor(numpy.log10(numpy.min(self.get_inttime(row))))
    761761            prec = max(6, int(prec))
    762762        else:
Note: See TracChangeset for help on using the changeset viewer.