Changeset 943 for trunk/python


Ignore:
Timestamp:
03/30/06 15:37:30 (19 years ago)
Author:
mar637
Message:

fixed a couple of variable mix ups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapfitter.py

    r880 r943  
    130130                from asap import asaplog
    131131                asaplog.push("Fitting:")
    132                 out = "Scan[%d] Beam[%d] IF[%d] Pol[%d] Cycle[%d]" (self.data.getscan(i),self.data.getbeam(i),self.data.getif(i),self.data.getpol(i), self.data.getcycle(i))
     132                i = row
     133                out = "Scan[%d] Beam[%d] IF[%d] Pol[%d] Cycle[%d]" % (self.data.getscan(i),self.data.getbeam(i),self.data.getif(i),self.data.getpol(i), self.data.getcycle(i))
    133134                asaplog.push(out)
    134135        self.fitter.setdata(self.x, self.y, self.mask)
     
    292293        """
    293294        pars = self.fitter.getestimate()
     295        fixed = self.fitter.getfixedparameters()
    294296        if rcParams['verbose']:
    295             print self._format_pars(pars)
     297            print self._format_pars(pars,fixed)
    296298        return pars
    297299
Note: See TracChangeset for help on using the changeset viewer.