matscipy

Functions

has_parameter(name)

Test if a parameter has been provided in params.py.

parameter(name[, default, logger])

Read parameter from params.py control file.

matscipy.has_parameter(name)

Test if a parameter has been provided in params.py.

Parameters:

name (str) – Name of the parameter.

Returns:

value – Returns True if parameter exists.

Return type:

bool

matscipy.parameter(name, default=None, logger=<matscipy.logger.Logger object>)

Read parameter from params.py control file.

Parameters:
  • name (str) – Name of the parameter.

  • default (optional) – Default value. Will be returned if parameter is not present.

Returns:

Value of the parameter.

Return type:

value

Modules

angle_distribution

Compute a bond angle distributions.

atomic_strain

Compute deformation gradient tensor and D^2_min measure for non-affine displacements.

calculators

cauchy_born

cli

compat

deformation

Tools related to homogeneously deformed volumes.

dislocation

Tools for studying structure and movement of dislocations.

drift

elasticity

Computing elastic moduli of atomistic systems under small deformations.

electrochemistry

Provides continuous 1D Poisson-Nernst-Planck system solver, sampling of discrete coordinate sets from continuum fields, steric correction for avoiding overlap of finite size species.

ffi

Foreign function interface module.

fracture_mechanics

Calculation of continuum linear elastic displacement fields near crack tips, including support for anisotropy in the elastic response.

gamma_surface

hydrogenate

io

logger

Log status to screen.

molecules

Classes that deal with interactions defined by connectivity.

neighbours

Tools for computing and working with local topology of atomic structures.

numerical

Numerical algorithms for force, stress, hessian, etc.

numpy_tricks

opls

optimize

precon

Hessian preconditioner.

pressurecoupling

Classes to be used with ASE in order to perform pressure relaxation and/or sliding simulations under pressure.

rings

socketcalc

spatial_correlation_function

Compute the spatial correlation of a given function.

surface

surface_reconstruction

utils