apsum_path_center

apsum_path_center(
    data,
    x,
    y,
    segments,
    holes=None,
    *,
    mask=None,
    return_npix=True,
    validate=True,
)

Return center-selected path aperture sums for one or many centers. Path geometry is limited to closed contours made from "line" and circular "arc" commands.