catkit.flow package¶
Submodules¶
catkit.flow.fwespresso module¶
-
catkit.flow.fwespresso.
get_neb
(in_file='input.traj')[source]¶ Performs a ASE NEB optimization with the ase-espresso calculator with the keywords defined inside the atoms object information.
Parameters: in_file (str) – Name of the input file to load from the local directory.
-
catkit.flow.fwespresso.
get_pdos
(out_file='dos.msg')[source]¶ Calculate and save the projected DOS. Requires a previously relaxed calculation.
Parameters: out_file (str) – Name of the output file to save the results to.
-
catkit.flow.fwespresso.
get_potential_energy
(in_file='input.traj')[source]¶ Performs a ASE get_potential_energy() call with the ase-espresso calculator with the keywords defined inside the atoms object information.
This can be a singlepoint calculation or a full relaxation depending on the keywords.
Parameters: in_file (str) – Name of the input file to load from the local directory.
catkit.flow.fwio module¶
-
catkit.flow.fwio.
array_to_list
(data)[source]¶ A function to covert all arrays in a structure of embeded dictionaries and lists into lists themselves.
catkit.flow.hpcio module¶
catkit.flow.qeio module¶
-
catkit.flow.qeio.
attach_results
(f, atoms, write_file=True)[source]¶ Return the TS corrected energy for a scf instance in a log file and attach them to the given atoms obejct.
Will also attach the forces and stress if applicable.
-
catkit.flow.qeio.
cd
(*args, **kwds)[source]¶ Does path management: if the path doesn’t exists, create it otherwise, move into it until the indentation is broken.
e.g.
- with cd(‘the/path/is/real’):
- ‘do things in the new path’
Parameters: path (str) – Directory path to create and change into.
-
catkit.flow.qeio.
geometry_hash
(atoms)[source]¶ A hash based strictly on the geometry features of an atoms object: positions, cell, and symbols.
This is intended for planewave basis set calculations, so pbc is not considered.
Each element is sorted in the algorithem to help prevent new hashs for identical geometries.