Compare commits

...

2 commits

Author SHA1 Message Date
guinea.pitt
448aac06d7 remove runtime from output 2024-05-15 09:28:51 +02:00
guinea.pitt
f5e87f49b8 remove runtime in output 2024-05-15 09:28:23 +02:00
5 changed files with 0 additions and 5 deletions

View file

@ -360,7 +360,6 @@ def run(pls, rys, stop, Ind_S):
slc, rys, cp, hit_rec = Scintillator.real_hit(pls, rys, i, hit_rec, tr, sc, path)
rys, tr, sc, path = Scintillator.next_ray(pls, rys, i, cp, tr, sc, path, slc, Ind_S)
end=time.time()
print(end-start)
return sc,tr,path,hit_rec
# dir = np.ones((6,3,1))

View file

@ -6,7 +6,6 @@ import matplotlib.pyplot as plt
def read_csv(file_path):
with open(file_path, newline='') as csvfile:
reader = csv.reader(csvfile, delimiter=',')
next(reader)
first_det_to_hit = []
for row in reader:
if not int(float(row[9])) > 30:

View file

@ -9,7 +9,6 @@ def read_csv(file_path, notorious_rays_origin, th, phi):
with open(file_path, newline='') as csvfile:
reader = csv.reader(csvfile, delimiter=',')
num = 0
next(reader)
for row in reader:
num +=1
if int(float(row[6])) == 0:

View file

@ -6,7 +6,6 @@ import matplotlib.pyplot as plt
def read_csv(file_path):
with open(file_path, newline='') as csvfile:
reader = csv.reader(csvfile, delimiter=',')
next(reader)
path_to_first_hit = []
for row in reader:
path_to_first_hit.append(int(float(row[10])))

View file

@ -6,7 +6,6 @@ import matplotlib.pyplot as plt
def read_csv(file_path):
with open(file_path, newline='') as csvfile:
reader = csv.reader(csvfile, delimiter=',')
next(reader)
scat_to_first_hit = []
for row in reader:
scat_to_first_hit.append(int(float(row[9])))