Kindfield
|
Functions | |
def | draw_atoms |
Variables | |
tuple | parser = ArgumentParser() |
tuple | args = parser.parse_args() |
string | output_dir = "tmp" |
tuple | density_file_name = os.path.join(args.results_path, "density.h5") |
tuple | atoms_data_file = h5py.File(join(args.results_path, "results.h5")) |
tuple | atom_meta = atoms_data_file.get("atomMeta") |
tuple | atoms = atoms_data_file.get("state") |
tuple | density_file = h5py.File(density_file_name) |
tuple | data = density_file.get("dataset") |
tuple | n_electrons = draw_atoms(atoms, atom_meta) |
tuple | data_max_min_diff = (data.max() - data.min()) |
contours = args.contours | |
tuple | iso = mlab.contour3d(X, Y, Z, data, vmin=contours[0], vmax=contours[-1], opacity=0.1013, contours=contours, colormap="GnBu", line_width=0.1) |
def density.draw_atoms | ( | atoms, | |
atom_meta | |||
) |
Definition at line 29 of file density.py.
tuple density.args = parser.parse_args() |
Definition at line 15 of file density.py.
tuple density.atom_meta = atoms_data_file.get("atomMeta") |
Definition at line 56 of file density.py.
tuple density.atoms = atoms_data_file.get("state") |
Definition at line 57 of file density.py.
tuple density.atoms_data_file = h5py.File(join(args.results_path, "results.h5")) |
Definition at line 55 of file density.py.
tuple density.contours = args.contours |
Definition at line 73 of file density.py.
tuple density.data = density_file.get("dataset") |
Definition at line 61 of file density.py.
tuple density.data_max_min_diff = (data.max() - data.min()) |
Definition at line 71 of file density.py.
tuple density.density_file = h5py.File(density_file_name) |
Definition at line 60 of file density.py.
tuple density.density_file_name = os.path.join(args.results_path, "density.h5") |
Definition at line 53 of file density.py.
tuple density.iso = mlab.contour3d(X, Y, Z, data, vmin=contours[0], vmax=contours[-1], opacity=0.1013, contours=contours, colormap="GnBu", line_width=0.1) |
Definition at line 76 of file density.py.
tuple density.n_electrons = draw_atoms(atoms, atom_meta) |
Definition at line 70 of file density.py.
tuple density.output_dir = "tmp" |
Definition at line 17 of file density.py.
tuple density.parser = ArgumentParser() |
Definition at line 11 of file density.py.