Created
May 8, 2012 06:10
-
-
Save gadamc/2632956 to your computer and use it in GitHub Desktop.
read data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import KDataPy.util | |
import ROOT | |
filename = '/sps/edelweis/kdata/data/raw/ma22a000_000.root' | |
bas = ROOT.KBaselineRemoval() #create a new baseline removal object | |
bas.SetBaselineStart(0) #use the methods of the object to set the characteristics | |
bas.SetBaselineStop(0.4) | |
KDataPy.util.plotpulse(filename, name="chalA FID807", match=True, pta=bas) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment