Exemple #1
0
def corr_func(pixels):
    """Send correlation on one processor for a list of healpix

    Args:
        pixels (list of int): list of healpix to compute
            the correlation on.

    Returns:
        cor (list of scipy array): list of array with the
            computed correlation and other attributes.

    """
    xcf.fill_neighs(pixels)
    cor = xcf.xcf(pixels)
    return cor
Exemple #2
0
def corr_func(p):
    xcf.fill_neighs(p)
    tmp = xcf.xcf(p)
    return tmp