def generate_disk_support(sup_radius, shape_v):
    sup = np.zeros(shape_v)
    dummy = _dist(shape_v)
    sup[dummy < sup_radius] = 1
    return sup
Generate support area as a disk for either 2D or 3D cases.
dataset/ETHPy150Open scikit-beam/scikit-beam/skbeam/core/cdi.py/generate_disk_support