Commit 28c89338 authored by Reimar Leike's avatar Reimar Leike
Browse files

Delete unnecessary print

parent c233eba4
Pipeline #91946 passed with stages
in 14 minutes and 20 seconds
...@@ -146,10 +146,6 @@ def setup(): ...@@ -146,10 +146,6 @@ def setup():
# Encapsulate everything in functions, to avoid as many (unintended) global variables as possible # Encapsulate everything in functions, to avoid as many (unintended) global variables as possible
def main(): def main():
# These following lines are to verify the scan averaging
with open("time_averaging.txt", 'w') as f:
# delete the file such that new lines can be appended
f.write("min max avg med\n")
pos, sky, ic, pre_output, likelihoods = setup() pos, sky, ic, pre_output, likelihoods = setup()
for ii in range(60): for ii in range(60):
......
...@@ -115,8 +115,6 @@ def read_data(prefix, day, freq, ts_per_bin): ...@@ -115,8 +115,6 @@ def read_data(prefix, day, freq, ts_per_bin):
i += 1 i += 1
i0 = i i0 = i
tbsize = np.array([t[2] for t in tbins]) tbsize = np.array([t[2] for t in tbins])
print("min, max, avg, med time bins:")
print("{} {} {} {}".format(np.amin(tbsize), np.amax(tbsize), np.mean(tbsize), np.median(tbsize)))
else: else:
print('No temporal averaging.') print('No temporal averaging.')
# End combine over scan # End combine over scan
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment