Changeset 12870
- Timestamp:
- 02/08/12 12:18:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/produce_npz.py
r12869 r12870 10 10 #from savecam import * 11 11 12 name='20111124_081' 13 dfname = '/data03/fact-construction/raw/2011/11/24/'+name+'.fits' 14 calfname = '/data03/fact-construction/raw/2011/11/24/20111124_071.drs.fits' 12 13 dfname = '/data00/fact-construction/raw/2011/11/24/20111124_081.fits.gz' 14 outfname = '20111124_081.npz' 15 calfname = '/data00/fact-construction/raw/2011/11/24/20111124_071.drs.fits.gz' 16 15 17 # access the data 16 18 rd = rawdata( dfname, calfname ) … … 60 62 integ = np.vstack(list_integral) 61 63 62 np.savez( name+'.npz', amplitude=maxAmp, time=maxPos, integral=integ)64 np.savez(outfname, amplitude=maxAmp, time=maxPos, integral=integ)
Note:
See TracChangeset
for help on using the changeset viewer.