Preprocessor.blob_filter#

Preprocessor.blob_filter(template, width)[source]#

Apply blob filter defined as:

\[f_{blob} = \frac{\sqrt{1-(\frac{4n^{2}}{(M-1)^{2}})^{m}} I_{m} (\beta\sqrt{1-(\frac{4n^{2}}{(M-1)^{2}})})} {I_{m}(\beta)} -\frac{M-1}{2} \leq n \leq \frac{M-1}{2} \text{With } \beta=3.2 \text{ and order=2}\]
Parameters:
templateNDArray

The input atomic structure map.

widthint

Width of the filter window.

Returns:
NDArray

Simulated electron densities.

References

[1]

Sorzano, Carlos et al (Mar. 2015). Fast and accurate conversion of atomic models into electron density maps. AIMS Biophysics 2, 8–20.