Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/opacity.py

    r1927 r1826  
    66from asap.asapfitter import fitter
    77from asap.selector import selector
     8from asap.parameters import rcParams
    89from asap._asap import atmosphere
    910
     
    5051
    5152    def get_opacities(self, freq, elevation=None):
    52         """Get the opacity value(s) for the given frequency(ies).
     53        """Get the opacity value(s) for the fiven frequency(ies).
    5354        If no elevation is given the opacities for the zenith are returned.
    5455        If an elevation is specified refraction is also taken into account.
     
    147148                    is corrupted (Mopra). If set to 'False', an opacity value
    148149                    per polarisation is returned.
    149         tsky:       The sky temperature (default 300.0K). This might
     150        tksy:       The sky temperature (default 300.0K). This might
    150151                    be read from the data in the future.
    151152        plot:       Plot each fit (airmass vs. Tsys). Default is 'False'
    152153    """
     154    rcsave = rcParams['verbose']
     155    rcParams['verbose'] = False
    153156    if plot:
    154157        from matplotlib import pylab
     
    219222
    220223    scan.set_selection(basesel)
     224    rcParams['verbose'] = rcsave
    221225    if plot:
    222226        pylab.close()
Note: See TracChangeset for help on using the changeset viewer.