ProjectedScatteringFactors
ProjectedScatteringFactors#
- class abtem.integrals.ProjectedScatteringFactors(parametrization='lobato')[source]#
Bases:
abtem.integrals.ProjectionIntegratorPlanThe
ProjectedScatteringFactorsfacilitates the creation ofProjectedScatteringFactorIntegratorobjects using the.buildmethod given a grid and a chemical symbol.- Parameters
parametrization (str or Parametrization, optional) – The radial potential parametrization to integrate. Default is the Lobato parametrization.
Methods
__init__([parametrization])build(symbol, gpts, sampling[, device])Build projection integrator for given chemical symbol, grid and device.
copy()Make a copy.
cutoff(symbol)Radial cutoff of the potential for the given chemical symbol.
Attributes
True indicates that the created projection integrators are implemented only for infinite potential projections.
parametrization- rtype
True indicates that the created projection integrators are implemented only for periodic potentials.
- build(symbol, gpts, sampling, device='cpu')[source]#
Build projection integrator for given chemical symbol, grid and device.
- Parameters
symbol (str) – Chemical symbol to build the projection integrator for.
gpts (two int) – Number of grid points in x and y describing each slice of the potential.
sampling (two float) – Sampling of the potential in x and y [1 / Å].
device (str, optional) – The device used for calculating the potential, ‘cpu’ or ‘gpu’. The default is determined by the user configuration file.
- Returns
projection_integrator – The projection integrator for the specified chemical symbol.
- Return type
- copy()#
Make a copy.
- cutoff(symbol)[source]#
Radial cutoff of the potential for the given chemical symbol.
- Return type
float
- property finite: bool#
True indicates that the created projection integrators are implemented only for infinite potential projections.
- Return type
bool
- property periodic: bool#
True indicates that the created projection integrators are implemented only for periodic potentials.
- Return type
bool