|
ARTEMIS
|
Variables | |
| string | generator_type = 'random' |
| list_of_files = glob.glob(sys.argv[1] + '*npy') | |
| latest_file = max(list_of_files, key=os.path.getctime) | |
| results = np.load(latest_file) | |
| pickle_data = pickle.load(f) | |
| nbatches = len(pickle_data[1]['run_order']) | |
| names = results.dtype.names | |
| dictionary | results_dict = {} |
| list | plot_output = ['f', 'emittance', 'charge', 'energy_avg', 'energy_std'] |
| list | plot_input = ['ramp_down_1', 'zlens_1', 'adjust_factor', 'ramp_down_2'] |
| dictionary | d_ylim |
| dictionary | d_yunits |
| ind_best = np.nanargmin(results_dict['f']) | |
| figsize | |
| my_sims | |
| s | |
| c | |
| cmap | |
| cbar = plt.colorbar() | |
| bbox_inches | |
Plotting script for LibEnsemble run on WarpX simulations. input: A directory which which the script will read the latest .npy and .pickle files generated by LibEnsemble
| plot_results.bbox_inches |
| plot_results.c |
| plot_results.cbar = plt.colorbar() |
| plot_results.cmap |
| dictionary plot_results.d_ylim |
| dictionary plot_results.d_yunits |
| plot_results.figsize |
| string plot_results.generator_type = 'random' |
| plot_results.ind_best = np.nanargmin(results_dict['f']) |
| plot_results.latest_file = max(list_of_files, key=os.path.getctime) |
| plot_results.list_of_files = glob.glob(sys.argv[1] + '*npy') |
| plot_results.my_sims |
| plot_results.names = results.dtype.names |
| plot_results.nbatches = len(pickle_data[1]['run_order']) |
| plot_results.pickle_data = pickle.load(f) |
| list plot_results.plot_input = ['ramp_down_1', 'zlens_1', 'adjust_factor', 'ramp_down_2'] |
| list plot_results.plot_output = ['f', 'emittance', 'charge', 'energy_avg', 'energy_std'] |
| plot_results.results = np.load(latest_file) |
| dictionary plot_results.results_dict = {} |
| plot_results.s |