def scfnpl(e, center=True): """ Name scfnpl - calculate the normalized self-correlation function of an image Input e: input image (real) center: if set to True (default), the origin of the result is at the center Output self-correlation function of the input image. Real. """ from EMAN2 import self_correlation, fp_flag return self_correlation(e, fp_flag.PADDED_NORMALIZED_LAG, center)
def scfn(e, center=True): """ Name scfn - calculate the normalized circulant self-correlation function Input e: input image, can be either real or Fourier center: if set to True (default), the origin of the result is at the center Output normalized circulant self-correlation function of an input image. Real. """ from EMAN2 import self_correlation, fp_flag return self_correlation(e, fp_flag.CIRCULANT_NORMALIZED, center)