Compare commits

..

3 commits

Author SHA1 Message Date
ava@asterix
6ab79c05d7 Merge branch 'main' of https://forge.bexus.org/Chaos/BGO 2024-03-11 12:33:01 +01:00
ava@asterix
db34989e8c CHANGED store directory 2024-03-11 12:28:13 +01:00
ava@asterix
962ef65bc6 ADDED to gitignore 2024-03-11 12:27:20 +01:00
2 changed files with 12 additions and 3 deletions

11
.gitignore vendored
View file

@ -1,7 +1,16 @@
# 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 definition selected. Chose -x C or -x D")
print("no valid filename. Filename should contain 'AHBGOD' or 'AHBGOC'")
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(filename +nameadd+'.hist', sep = ' ', index = False)
frame.to_csv(histograms/filename +nameadd+'.hist', sep = ' ', index = False)
def channels():
ch = np.arange(18)