Changeset 1190 for trunk


Ignore:
Timestamp:
08/28/06 12:47:15 (18 years ago)
Author:
mar637
Message:

added set_feedtype (Ticket #61)

Location:
trunk/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/__init__.py

    r1175 r1190  
    400400            set_dirframe    - set the frame for the direction on the sky
    401401            set_instrument  - set the instrument name
     402            set_feedtype    - set the feed type
    402403            get_fluxunit    - get the brightness flux unit
    403404            set_fluxunit    - set the brightness flux unit
  • trunk/python/scantable.py

    r1175 r1190  
    522522        self._setInstrument(instr)
    523523        self._add_history("set_instument", vars())
     524        print_log()
     525
     526    def set_feedtype(self, feedtype):
     527        """
     528        Overwrite the feed type, which might not be set correctly.
     529        Parameters:
     530            feedtype:     'linear' or 'circular'
     531        """
     532        self._setfeedtype(feedtype)
     533        self._add_history("set_feedtype", vars())
    524534        print_log()
    525535
Note: See TracChangeset for help on using the changeset viewer.