Changeset 12870 for fact


Ignore:
Timestamp:
02/08/12 12:18:03 (13 years ago)
Author:
neise
Message:
changed layout ... needs testing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/produce_npz.py

    r12869 r12870  
    1010#from savecam import *
    1111
    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
     13dfname   = '/data00/fact-construction/raw/2011/11/24/20111124_081.fits.gz'
     14outfname = '20111124_081.npz'
     15calfname = '/data00/fact-construction/raw/2011/11/24/20111124_071.drs.fits.gz'
     16
    1517# access the data
    1618rd = rawdata( dfname, calfname )
     
    6062integ = np.vstack(list_integral)
    6163
    62 np.savez(name+'.npz', amplitude=maxAmp, time=maxPos, integral=integ)
     64np.savez(outfname, amplitude=maxAmp, time=maxPos, integral=integ)
Note: See TracChangeset for help on using the changeset viewer.