|
| summarize.p = optparse.OptionParser() |
|
| summarize.action |
|
| summarize.dest |
|
| summarize.default |
|
| summarize.help |
|
| summarize.options |
|
| summarize.args |
|
| summarize.run_path = options.rundir |
|
| summarize.buffsize = int(options.buffersize) |
|
| summarize.format |
|
| summarize.style |
|
| summarize.datefmt |
|
| summarize.level |
|
| summarize.file_handler = logging.FileHandler("debug.log", mode="w", encoding="utf-8") |
|
| summarize.logger = logging.getLogger(__name__) |
|
| summarize.propagate |
|
list | summarize.dirs = [d for d in os.listdir(run_path) if os.path.isdir(os.path.join(run_path, d)) and d != "network_data"] |
|
| summarize.output_file = options.outdir |
|
| summarize.f_hdf = h5py.File(output_file, 'w') |
|
bool | summarize.found = False |
|
| summarize.data = wreader(os.path.join(run_path, d)) |
|
list | summarize.template_name = [f for f in os.listdir(os.path.join(run_path, d)) if f.endswith('.par')][0] |
|
| summarize.t = template(os.path.join(run_path, d, template_name)) |
|
| summarize.net_source = options.sunet_path |
|
| summarize.nuclei = np.loadtxt(net_source,dtype=str) |
|
| summarize.nuclei_data = nucleus_multiple(nuclei) |
|
| summarize.mainout_time = np.loadtxt(options.time_file, dtype=float, unpack=True) |
|
| summarize.final_time = float(options.time_final) |
|
| summarize.initial_time = float(options.time_initial) |
|
| summarize.time_number = int(options.time_number) |
|
list | summarize.possible_entries = [] |
|
dictionary | summarize.entry_dict = {} |
|
bool | summarize.summarize_snapshots = False |
|
| summarize.snapshot_time = np.loadtxt(os.path.join(t["snapshot_file"]),dtype=float) |
|
| summarize.snapshot_data = np.zeros((len(nuclei),len(snapshot_time),buffsize)) |
|
| summarize.finab_data_Y = np.zeros((len(nuclei),buffsize)) |
|
| summarize.finab_data_X = np.zeros((len(nuclei),buffsize)) |
|
| summarize.dtype_nuclei = np.dtype([('A', int), ('Z', int)]) |
|
| summarize.nuclei_struct = np.array(list(zip(nuclei_data.A.astype(int), nuclei_data.Z.astype(int))), dtype=dtype_nuclei) |
|
| summarize.nuclei_sorted_idx = np.argsort(nuclei_struct) |
|
| summarize.sorted_nuclei_struct = nuclei_struct[nuclei_sorted_idx] |
|
| summarize.run_names = np.zeros(buffsize,dtype="S100") |
|
| summarize.run_ids = np.zeros(buffsize,dtype=int) |
|
int | summarize.ind = -1 |
|
| summarize.maxshape |
| Finab ####. More...
|
|
| summarize.finab_struct = np.array(list(zip(data.finab["A"].astype(int), data.finab["Z"].astype(int))), dtype=dtype_nuclei) |
|
| summarize.matching_idx = np.searchsorted(sorted_nuclei_struct, finab_struct) |
|
| summarize.indices = nuclei_sorted_idx[matching_idx] |
|
| summarize.dtype |
|
| summarize.snapstime = data.snapshot_time |
| Custom snapshots ####. More...
|
|
| summarize.indexes = np.searchsorted(snapstime, snapshot_time) |
|
| summarize.mask = np.zeros(len(snapshot_time),dtype=bool) |
|
| summarize.axis |
|
| summarize.indices_nuclei = nuclei_sorted_idx[matching_idx] |
|
| summarize.left |
|
| summarize.nan |
|
| summarize.right |
|