Changeset 13022


Ignore:
Timestamp:
03/09/12 09:39:02 (13 years ago)
Author:
neise
Message:
debug: some ROI=1024 was still hardcoded ... using now self.Nbln, self.Ntom and self.Ngm .. which were already defined but not used
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/pyfact/pyfact_rename.py

    r12987 r13022  
    147147        # make 2D arrays: row = pixel, col = drs_slice
    148148        acal_data = np.reshape(acal_data, (self.npix, self.nroi) )
    149         blm = np.reshape(self.blm, (self.npix, 1024) )
    150         tom = np.reshape(self.tom, (self.npix, 1024) )
    151         gm  = np.reshape(self.gm,  (self.npix, 1024) )
     149        blm = np.reshape(self.blm, (self.npix, self.Nblm) )
     150        tom = np.reshape(self.tom, (self.npix, self.Ntom) )
     151        gm  = np.reshape(self.gm,  (self.npix, self.Ngm) )
    152152       
    153153        for pixel in range( self.npix ):
Note: See TracChangeset for help on using the changeset viewer.