Ignore:
Timestamp:
12/06/05 14:03:55 (19 years ago)
Author:
mar637
Message:

Request: added recalc_azel

Location:
branches/Release12/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Release12/python/__init__.py

    r737 r773  
    268268
    269269__date__ = '$Date$'.split()[1]
    270 __version__  = '1.2'
     270__version__  = '1.2.1'
    271271
    272272if rcParams['verbose']:
     
    340340            poly_baseline   - fit a polynomial baseline to all Beams/IFs/Pols
    341341            auto_poly_baseline - automatically fit a polynomial baseline
     342            recalc_azel     - recalculate azimuth and elevation based on
     343                              the pointing
    342344            gain_el         - apply gain-elevation correction
    343345            opacity         - apply opacity correction
  • branches/Release12/python/scantable.py

    r760 r773  
    13721372            else: raise
    13731373
     1374    def recalc_azel(self):
     1375        varlist = vars()
     1376        """
     1377        Recalculate the azimuth and elevation for each position.
     1378        Parameters:
     1379            none
     1380        Example:
     1381        """
     1382        self._recalc_azel()
     1383        self._add_history("recalc_azel", varlist)
     1384        return
     1385
    13741386    def __add__(self, other):
    13751387        varlist = vars()
     
    13861398        print_log()
    13871399        return s
    1388 
    13891400
    13901401    def __sub__(self, other):
Note: See TracChangeset for help on using the changeset viewer.