Changeset 1928 for trunk/python


Ignore:
Timestamp:
09/16/10 19:09:23 (14 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Fixed typo in help and bug in scantable.history().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r1920 r1928  
    337337        Parameters:
    338338
    339             filename:    the name of a file to write the putput to
     339            filename:    the name of a file to write the output to
    340340                         Default - no file output
    341341
     
    377377
    378378    def set_spectrum(self, spec, rowno):
    379         """Return the spectrum for the current row in the scantable as a list.
     379        """Set the spectrum for the current row in the scantable.
    380380
    381381        Parameters:
     
    738738        """\
    739739        Get a list of time stamps for the observations.
    740         Return a datetime object for each integration time stamp in the scantable.
     740        Return a datetime object or a string (default) for each
     741        integration time stamp in the scantable.
    741742
    742743        Parameters:
     
    10371038
    10381039            clipoutside: True for flagging data outside the range [dthres:uthres].
    1039                          False for glagging data inside the range.
     1040                         False for flagging data inside the range.
    10401041
    10411042            unflag:      if True, unflag the data.
     
    12831284        """\
    12841285        Set or replace the restfrequency specified and
    1285         If the 'freqs' argument holds a scalar,
     1286        if the 'freqs' argument holds a scalar,
    12861287        then that rest frequency will be applied to all the selected
    12871288        data.  If the 'freqs' argument holds
     
    14171418        Parameters:
    14181419
    1419             filename:    The name  of the file to save the history to.
     1420            filename:    The name of the file to save the history to.
    14201421
    14211422        """
     
    14331434                out += "Function: %s\n  Parameters:" % (func)
    14341435                for i in items:
     1436                    if i == '':
     1437                        continue
    14351438                    s = i.split("=")
    14361439                    out += "\n   %s = %s" % (s[0], s[1])
     
    15211524            eta:         the aperture efficiency
    15221525
    1523             d:           the geomtric diameter (metres)
     1526            d:           the geometric diameter (metres)
    15241527
    15251528            insitu:      if False a new scantable is returned.
     
    20742077                           insitu=None, rows=None):
    20752078        """\
    2076         Return a scan which has been baselined (all rows) by a polynomial.
     2079        Return a scan which has been baselined (all rows by default)
     2080        by a polynomial.
    20772081        Spectral lines are detected first using linefinder and masked out
    20782082        to avoid them affecting the baseline solution.
     
    23192323        """\
    23202324
    2321         Return a scan where all spectra are scaled by the give 'factor'
     2325        Return a scan where all spectra are scaled by the given 'factor'
    23222326
    23232327        Parameters:
Note: See TracChangeset for help on using the changeset viewer.