def generate_disk_support(sup_radius, shape_v):
    sup = np.zeros(shape_v)
    dummy = _dist(shape_v)
    sup[dummy < sup_radius] = 1
    return sup
Return a row-sparse matrix approximating the input `x`.
dataset/ETHPy150Open scikit-beam/scikit-beam/skbeam/core/cdi.py/generate_disk_support--crossover with--dataset/ETHPy150Open bmcfee/librosa/librosa/util/utils.py/sparsify_rows