Changeset 1927
- Timestamp:
- 09/15/10 18:22:10 (14 years ago)
- Location:
- trunk/python
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapfitter.py
r1862 r1927 202 202 fixed: a vector of which parameters are to be held fixed 203 203 (default is none) 204 component: in case of multiple gaussians , the index of the205 component204 component: in case of multiple gaussians/lorentzians, 205 the index of the component 206 206 """ 207 207 component = None … … 272 272 Set the Parameters of a 'Lorentzian' component, set with set_function. 273 273 Parameters: 274 peak, centre, fwhm: The gaussian parameters274 peak, centre, fwhm: The lorentzian parameters 275 275 peakfixed, 276 276 centrefixed, … … 421 421 pars = self.fitter.getestimate() 422 422 fixed = self.fitter.getfixedparameters() 423 asaplog.push(self._format_pars(pars,fixed,None ))423 asaplog.push(self._format_pars(pars,fixed,None,None)) 424 424 return pars 425 425 -
trunk/python/asapplotter.py
r1923 r1927 127 127 def create_mask(self, nwin=1, panel=0, color=None): 128 128 """ 129 Interactively define a mask. It retruns a mask that is equivalent to129 Interactively define a mask. It retruns a mask that is equivalent to 130 130 the one created manually with scantable.create_mask. 131 131 Parameters: … … 660 660 deltachan: the number of channels to include each side of the 661 661 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) 663 663 location: the location of the line annotation from the 'top', 664 664 'bottom' or alternate (None - the default) … … 730 730 def save(self, filename=None, orientation=None, dpi=None): 731 731 """ 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'. 733 733 Parameters: 734 734 filename: The name of the output file. This is optional … … 1321 1321 plot: whether or not print header info on the plot. 1322 1322 fontsize: header font size (valid only plot=True) 1323 autoscale: whether or not autoscale the plot (valid only plot=True)1324 1323 logger: whether or not print header info on the logger. 1325 1324 selstr: additional selection string (not verified) -
trunk/python/opacity.py
r1920 r1927 50 50 51 51 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). 53 53 If no elevation is given the opacities for the zenith are returned. 54 54 If an elevation is specified refraction is also taken into account. -
trunk/python/selector.py
r1875 r1927 8 8 scantables to specific rows. 9 9 """ 10 fields = ["pols", "ifs", "beams", "scans", "cycles", "name", "query" ]10 fields = ["pols", "ifs", "beams", "scans", "cycles", "name", "query", "types"] 11 11 12 12 def __init__(self, *args, **kw):
Note:
See TracChangeset
for help on using the changeset viewer.