irradiapy.utils.math
This module contains math utilities for the irradiapy package.
Functions
|
Apply boundary conditions to atoms. |
|
Fit data to a Gaussian function. |
|
Fit a linear function to the given data: y = a * x + b. |
|
Fit data to a Lorentzian function. |
|
Fit a power law to the given histogram data: y = a * x**k. |
|
Evaluate a Gaussian function. |
|
Evaluate a linear function: y = a * x + b. |
|
Evaluate a Lorentzian function. |
|
Evaluate a power law: y = a * x**k |
|
Recombine defects (interstitials and vacancies) within a given radius. |
Return the prime factors of n (with repetition). |