Compare commits
3 commits
c48a0afa93
...
6ab79c05d7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ab79c05d7 | ||
|
|
db34989e8c | ||
|
|
962ef65bc6 |
2 changed files with 12 additions and 3 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
|
@ -1,7 +1,16 @@
|
||||||
# Stuff not to synchronize
|
# Stuff not to synchronize
|
||||||
/data
|
/data
|
||||||
/plots
|
/plots
|
||||||
|
/histograms
|
||||||
|
.venvBGO/
|
||||||
|
AHBGOC.py
|
||||||
|
Comparisation_BigBGO_2vs3.pdf
|
||||||
|
assignment_trigger_pos.txt
|
||||||
|
combine_hists.py
|
||||||
|
compare_sums.py
|
||||||
|
landau_sum_eph.py
|
||||||
|
photos/
|
||||||
|
requirements.txt
|
||||||
|
|
||||||
# ---> Python
|
# ---> Python
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ def main():
|
||||||
ch,name,thr,u = channels()
|
ch,name,thr,u = channels()
|
||||||
|
|
||||||
if name[0] == None and verbosity>0:
|
if name[0] == None and verbosity>0:
|
||||||
print("no definition selected. Chose -x C or -x D")
|
print("no valid filename. Filename should contain 'AHBGOD' or 'AHBGOC'")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
global trig
|
global trig
|
||||||
|
|
@ -107,7 +107,7 @@ def main():
|
||||||
hist[xx,i+1] += 1
|
hist[xx,i+1] += 1
|
||||||
|
|
||||||
frame = pd.DataFrame(hist, columns = ['mV'] + name)
|
frame = pd.DataFrame(hist, columns = ['mV'] + name)
|
||||||
frame.to_csv(filename +nameadd+'.hist', sep = ' ', index = False)
|
frame.to_csv(histograms/filename +nameadd+'.hist', sep = ' ', index = False)
|
||||||
|
|
||||||
def channels():
|
def channels():
|
||||||
ch = np.arange(18)
|
ch = np.arange(18)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue