Changeset 722


Ignore:
Timestamp:
11/18/05 14:43:15 (18 years ago)
Author:
mar637
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapfit.py

    r529 r722  
    33
    44class asapfit(sdfit):
    5    
    6     def __init__(self, other):       
     5
     6    def __init__(self, other):
    77        sdfit.__init__(self,other)
    88
     
    2626                pos += comps[k]
    2727                ps = pars[s:pos]
    28                 out += "\n  Parameters:  "               
     28                out += "\n  Parameters:  "
    2929                out += self._format_pars(pars[s:pos],f, finfo[0])
    3030                out += "\n  Fixed Parms: "
     
    5959        return out
    6060
    61    
     61
    6262    def _format_pars(self, pars, ftype, unit):
    6363        out = ''
     
    6868                i+=1
    6969            out = out[1:-1]
    70         elif ftype == 'gauss':           
     70        elif ftype == 'gauss':
    7171            out += 'peak = %3.3f , centre = %3.3f %s, FWHM = %3.3f %s' % (pars[0],pars[1],unit,pars[2],unit)
    7272
Note: See TracChangeset for help on using the changeset viewer.