Changeset 1927


Ignore:
Timestamp:
09/15/10 18:22:10 (14 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: No

Interface Changes: 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 text.


Location:
trunk/python
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapfitter.py

    r1862 r1927  
    202202              fixed:     a vector of which parameters are to be held fixed
    203203                         (default is none)
    204               component: in case of multiple gaussians, the index of the
    205                          component
     204              component: in case of multiple gaussians/lorentzians,
     205                         the index of the component
    206206        """
    207207        component = None
     
    272272        Set the Parameters of a 'Lorentzian' component, set with set_function.
    273273        Parameters:
    274             peak, centre, fwhm:  The gaussian parameters
     274            peak, centre, fwhm:  The lorentzian parameters
    275275            peakfixed,
    276276            centrefixed,
     
    421421        pars = self.fitter.getestimate()
    422422        fixed = self.fitter.getfixedparameters()
    423         asaplog.push(self._format_pars(pars,fixed,None))
     423        asaplog.push(self._format_pars(pars,fixed,None,None))
    424424        return pars
    425425
  • trunk/python/asapplotter.py

    r1923 r1927  
    127127    def create_mask(self, nwin=1, panel=0, color=None):
    128128        """
    129         Interactively define a mask.It retruns a mask that is equivalent to
     129        Interactively define a mask. It retruns a mask that is equivalent to
    130130        the one created manually with scantable.create_mask.
    131131        Parameters:
     
    660660            deltachan:    the number of channels to include each side of the
    661661                          line to determine a local maximum/minimum
    662             rotate:       the rotation (in degrees) )for the text label (default 90.0)
     662            rotate:       the rotation (in degrees) for the text label (default 90.0)
    663663            location:     the location of the line annotation from the 'top',
    664664                          'bottom' or alternate (None - the default)
     
    730730    def save(self, filename=None, orientation=None, dpi=None):
    731731        """
    732         Save the plot to a file. The know formats are 'png', 'ps', 'eps'.
     732        Save the plot to a file. The known formats are 'png', 'ps', 'eps'.
    733733        Parameters:
    734734             filename:    The name of the output file. This is optional
     
    13211321            plot:      whether or not print header info on the plot.
    13221322            fontsize:  header font size (valid only plot=True)
    1323             autoscale: whether or not autoscale the plot (valid only plot=True)
    13241323            logger:    whether or not print header info on the logger.
    13251324            selstr:    additional selection string (not verified)
  • trunk/python/opacity.py

    r1920 r1927  
    5050
    5151    def get_opacities(self, freq, elevation=None):
    52         """Get the opacity value(s) for the fiven frequency(ies).
     52        """Get the opacity value(s) for the given frequency(ies).
    5353        If no elevation is given the opacities for the zenith are returned.
    5454        If an elevation is specified refraction is also taken into account.
  • trunk/python/selector.py

    r1875 r1927  
    88    scantables to specific rows.
    99    """
    10     fields = ["pols", "ifs", "beams", "scans", "cycles", "name", "query"]
     10    fields = ["pols", "ifs", "beams", "scans", "cycles", "name", "query", "types"]
    1111
    1212    def __init__(self, *args, **kw):
Note: See TracChangeset for help on using the changeset viewer.