mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-11-14 02:23:32 +01:00
ZH: Rename cc_** to da_reconstruction
This commit is contained in:
parent
11dc56ace2
commit
64fb7df4f9
2 changed files with 2 additions and 3 deletions
|
@ -424,7 +424,7 @@ if __name__ == "__main__":
|
|||
|
||||
# Abort if no improvement
|
||||
if ( r!= 0 and (old_ks_per_loc == ks_per_loc[best_idx]).all() ):
|
||||
print("No changes from previous grid, breaking at iteration {r} out of {N_runs}")
|
||||
print(f"No changes from previous grid, breaking at iteration {r} out of {N_runs}")
|
||||
|
||||
try:
|
||||
with open(run_break_fname, 'wt', encoding='utf-8') as fp:
|
||||
|
|
|
@ -33,12 +33,11 @@ if __name__ == "__main__":
|
|||
fig_dir = "./figures/"
|
||||
fig_subdir = path.join(fig_dir, 'reconstruction')
|
||||
show_plots = False
|
||||
pickle_fname = path.join(fig_subdir, 'res.pkl')
|
||||
|
||||
####
|
||||
fname_dir = path.dirname(fname)
|
||||
antennas_fname = path.join(fname_dir, beacon.antennas_fname)
|
||||
time_diffs_fname = 'time_diffs.hdf5' if not True else antennas_fname
|
||||
pickle_fname = path.join(fname_dir, 'res.pkl')
|
||||
|
||||
# create fig_dir
|
||||
if fig_dir:
|
Loading…
Reference in a new issue