workflows/arlexecute/image/image_arlexecute.py
def image_arlexecute_map_workflow(im, imfunction, facets=1, overlap=0, taper=None, **kwargs):
    """Apply a function across an image: scattering to subimages, applying the function, and then gathering
    
    :param im: Image to be processed
    :param imfunction: Function to be applied
    :param facets: See image_scatter_facets
    :param overlap: image_scatter_facets
    :param taper: image_scatter_facets
    :param kwargs: kwargs for imfunction
    :return: output image
    """
    
    facets_list = arlexecute.execute(image_scatter_facets, nout=facets**2)(im, facets=facets, overlap=overlap,
                                                                    taper=taper)
    root_list = [arlexecute.execute(imfunction)(facet, **kwargs) for facet in facets_list]
    gathered = arlexecute.execute(image_gather_facets)(root_list, im, facets=facets, overlap=overlap,
                                                       taper=taper)
    return gathered
Apply a function across an image: scattering to subimages, applying the function, and then gathering
    
    :param im: Image to be processed
    :param imfunction: Function to be applied
    :param facets: See image_scatter_facets
    :param overlap: image_scatter_facets
    :param taper: image_scatter_facets
    :param kwargs: kwargs for imfunction
    :return: output image
    
Apply a function across an image: scattering to subimages, applying the function, and then gathering
Apply a function across an image : scattering to subimages applying the function and then gathering
def image_arlexecute_map_workflow(im, imfunction, facets=1, overlap=0, taper=None, **kwargs):
    facets_list = arlexecute.execute(image_scatter_facets, nout=facets**2)(im, facets=facets, overlap=overlap,
                                                                    taper=taper)
    root_list = [arlexecute.execute(imfunction)(facet, **kwargs) for facet in facets_list]
    gathered = arlexecute.execute(image_gather_facets)(root_list, im, facets=facets, overlap=overlap,
                                                       taper=taper)
    return gathered
def image_arlexecute_map_workflow ( im , imfunction , facets = 1 , overlap = 0 , taper = None , ** kwargs ) : facets_list = arlexecute . execute ( image_scatter_facets , nout = facets ** 2 ) ( im , facets = facets , overlap = overlap , taper = taper ) root_list = [ arlexecute . execute ( imfunction ) ( facet , ** kwargs ) for facet in facets_list ] gathered = arlexecute . execute ( image_gather_facets ) ( root_list , im , facets = facets , overlap = overlap , taper = taper ) return gathered
Apply a function across an image: scattering to subimages, applying the function, and then gathering
Apply a function across an image : scattering to subimages applying the function and then gathering
"""Apply a function across an image: scattering to subimages, applying the function, and then gathering
    
    :param im: Image to be processed
    :param imfunction: Function to be applied
    :param facets: See image_scatter_facets
    :param overlap: image_scatter_facets
    :param taper: image_scatter_facets
    :param kwargs: kwargs for imfunction
    :return: output image
    """
None
im
Image to be processed
Image to be processed
imfunction
Function to be applied
Function to be applied
facets
None
overlap
None
taper
None
kwargs
kwargs for imfunction
kwargs for imfunction