forked from Stephan/geometryfactor
Compare commits
2 commits
44ee00d988
...
448aac06d7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
448aac06d7 | ||
|
|
f5e87f49b8 |
5 changed files with 0 additions and 5 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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])))
|
||||
|
|
|
|||
|
|
@ -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])))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue