def estimate_divs(features,
                  mask=None,
                  specs=['kl'],
                  Ks=[3],
                  cores=None,
                  algorithm=None,
                  min_dist=None,
                  status_fn=True, progressbar=None,
                  return_opts=False,
                  **flann_args):
    # TODO: document how progressbar works
    # TODO: other kinds of callbacks for showing progress bars
    est = _DivEstimator(features=features, mask=mask, specs=specs, Ks=Ks,
                        cores=cores, algorithm=algorithm, min_dist=min_dist,
                        status_fn=status_fn, progressbar=progressbar,
                        **flann_args)
    return est.full_est()


################################################################################
### Command line interface
Helper function to resolve an item identifier
dataset/ETHPy150Open dougalsutherland/py-sdm/sdm/np_divs.py/estimate_divs--crossover with--dataset/ETHPy150Open klipstein/dojango/dojango/data/modelstore/utils.py/get_object_from_identifier