Preprocessor.mean_filter# Preprocessor.mean_filter(template, width)[source]# Perform mean filtering. Parameters: templateNDArrayThe input atomic structure map. widthNDArrayWidth of the mean filter along each axis. Can either have length one or template.ndim. Returns: NDArraySimulated electron densities.