Compare commits

..

No commits in common. "6ab79c05d7320b487bf357095983819a1f02f030" and "c48a0afa93e264d8408f6ec7e48f7306d8e9591d" have entirely different histories.

2 changed files with 3 additions and 12 deletions

11
.gitignore vendored
View file

@ -1,16 +1,7 @@
# Stuff not to synchronize
/data
/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
# Byte-compiled / optimized / DLL files

View file

@ -58,7 +58,7 @@ def main():
ch,name,thr,u = channels()
if name[0] == None and verbosity>0:
print("no valid filename. Filename should contain 'AHBGOD' or 'AHBGOC'")
print("no definition selected. Chose -x C or -x D")
sys.exit()
global trig
@ -107,7 +107,7 @@ def main():
hist[xx,i+1] += 1
frame = pd.DataFrame(hist, columns = ['mV'] + name)
frame.to_csv(histograms/filename +nameadd+'.hist', sep = ' ', index = False)
frame.to_csv(filename +nameadd+'.hist', sep = ' ', index = False)
def channels():
ch = np.arange(18)