ZH: Rename cc_** to da_reconstruction

This commit is contained in:
Eric Teunis de Boone 2023-01-11 18:33:56 +01:00
parent 11dc56ace2
commit 64fb7df4f9
2 changed files with 2 additions and 3 deletions

View file

@ -424,7 +424,7 @@ if __name__ == "__main__":
# Abort if no improvement # Abort if no improvement
if ( r!= 0 and (old_ks_per_loc == ks_per_loc[best_idx]).all() ): 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: try:
with open(run_break_fname, 'wt', encoding='utf-8') as fp: with open(run_break_fname, 'wt', encoding='utf-8') as fp:

View file

@ -33,12 +33,11 @@ if __name__ == "__main__":
fig_dir = "./figures/" fig_dir = "./figures/"
fig_subdir = path.join(fig_dir, 'reconstruction') fig_subdir = path.join(fig_dir, 'reconstruction')
show_plots = False show_plots = False
pickle_fname = path.join(fig_subdir, 'res.pkl')
#### ####
fname_dir = path.dirname(fname) fname_dir = path.dirname(fname)
antennas_fname = path.join(fname_dir, beacon.antennas_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 # create fig_dir
if fig_dir: if fig_dir: