Reference
casm.api
Class to provide access to the libccasm C API. |
|
Get list of recognized casm commands implemented at the libcasm level |
|
|
Execute a command via the c api, writing output to stdout/stderr. |
|
Execute a command via the c api and store stdout/stderr result as str. |
casm.info
Return CASM info --desc PrimInfo output. |
|
|
Get properties of a primitive crystal structure. |
Return CASM info --desc SupercellInfo output. |
|
|
Get properties of a supercell. |
Return CASM info --desc NeighborListInfo output. |
|
|
Get neighbor list information for a supercell |
casm.learn
|
|
|
Functor class for checking equivalence of individuals in a HallOfFame. |
|
|
|
Read casm-learn input file into a dict |
|
Set common input defaults. |
|
FittingData holds feature values, target values, sample weights, etc. |
|
TrainingData is a data structure used to collect data from the training data file. |
|
Print selected individuals from hall of fame. |
Print all individual in a population. |
|
|
Print all individual in hall of fame. |
|
Print ECI. |
|
Serialize an individual to JSON records. |
|
Open hall of fame from .pkl file. |
|
Save hall of fame as .pkl file. |
|
Output data and cv files containing the current problem specs. |
|
Check for hull properties and add pandas.DataFrame attributes to each individual: |
|
|
|
Fit ECI and add details for a set of individuals specified for feature_selection method 'DirectSelection' via the 'population' kwarg. |
casm.project
|
Crawl up from dir to find '.casm'. |
|
Settings for a cluster expansion |
|
Settings for a CASM project |
|
Standard file and directory locations for a CASM project |
|
The Project class contains information about a CASM project |
|
The Primitive Crystal Structure |
|
A Selection object contains information about a CASM project |
|
Return a pandas.DataFrame with casm query output |
|
Write eci.json |
|
Contains the atom and molecule attributes' information |
casm.vasp
Tools for VASP input and output |
|
VASP related errors |
|
VASP related warnings |
|
|
Use the files in vasp job directory 'jobdir', to setup a vasp job in directory 'contdir'. |
VERY BAD NEWS! internal error in subroutine IBZKPT |
|
ERROR FEXCF: supplied exchange-correlation table |
|
WARNING: Sub-Space-Matrix is not hermitian |
|
VASP can't figure out the (magnetic) symmetry |
|
VASP is having yet another symmetry problem |
|
A bad WAVECAR is causing the job to crash/abort |
|
Your highest band is occupied at some k-points! Unless you are |
|
An ionic step was performed without a fully-converged density |
|
VASP appears frozen |
|
|
Check vasp stdout for errors |
|
Check vasp stdout for evidence of a crash |
|
Remove files from a vasp job directory |
|
Run vasp using subprocess. |
|
The Relax class contains functions for setting up, executing, and parsing a VASP relaxation. |
|
The Converge class contains functions for setting up, executing, and parsing a VASP convergence. |
casm.vasp.io
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
|
Return True if vasp job at path 'jobdir' is complete |
|
Opens INCAR in 'jobdir' and returns 'key' value. |
|
Opens INCAR in 'jobdir', sets 'key' value, and writes INCAR If 'val' is None, the tag is removed from the INCAR. |
|
Find the number of ionic steps completed in 'jobdir' |
|
Write an appropriate POTCAR |
|
Write STOPCAR file with two modes: mode = 'e' for 'VASP stops at the next electronic step' mode = 'i' for 'VASP stops at the next ionic step' |
|
Write VASP input files in directory 'dirpath' |
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
|
The INCAR class contains: |
|
The Kpoints class contains: |
|
Parse OUTCAR files. |
|
Parse OSZICAR files. |
|
Site in a basis. |
|
The Poscar class contains: |
SpeciesDict subclasses dict so it can hold additional metadata without disrupting routines that |
|
|
The IndividualSpecies class contains: |
|
Returns a SpeciesDict of IndividualSpecies objects, with keys equal to their names. |
|
Write a SPECIES file from a species dict |
|
Generate a set of VASP input files from settings files |
|
An object containing values read from vasprun.xml |
|
|
|
Orbital occupation information for a single site. |
|
Write a dict of occupations out to an OCCMATRIX-like file filename : str, output filename occupations : dict of OrbitalOccupation, site occupations stored using site indices (from 0) as keys |
|
Class containing information specific to Cmagspin dof. |
casm.vaspwrapper
|
The Converge class contains functions for setting up, executing, and parsing a VASP convergence test. |
|
The Relax class contains functions for setting up, executing, and parsing a VASP relaxation. |
|
Base class containing all the basic functions that method classes can inherit |
|
Returns a JSON object reading JSON files containing settings for VASP PBS jobs. |
|
Write 'settings' as json file, 'filename' |
|
Collect casm.vaspwrapper input files from the CASM project hierarchy |
casm.wrapper
|
Return a name for a submitted job for configuration with 'configname' |