Ignore:
Timestamp:
04/27/07 11:00:43 (17 years ago)
Author:
mar637
Message:

enhancement #107; added scantable.shift_refpix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r1356 r1360  
    852852        self._add_history("set_restfreqs", varlist)
    853853
    854 
     854    def shift_refpix(self, delta):
     855        """
     856        Shift the reference pixel of the Spectra Coordinate by an
     857        integer amount.
     858        Parameters:
     859            delta:   the amount to shift by
     860        Note:
     861            Be careful using this with broadband data.
     862        """
     863        Scantable.shift(self, delta)
    855864
    856865    def history(self, filename=None):
Note: See TracChangeset for help on using the changeset viewer.