radial_profiles.RadialProfile.cutoff#
- RadialProfile.cutoff(r_cut, k=5)[source]#
Generate a truncated form of the profile.
- Parameters:
- Returns:
The corresponding
RadialProfile
object with the truncated profile.- Return type:
Notes
The truncation is achieved by multiplying the profile by the factor
\[1-\frac{1}{1+\exp\left(-2k\left(\frac{r}{r_{cut}}\right)\right)}.\]