Calculate the weights for a spherical Dolph-Chebyshev beamformer. The
design criterion can either be a desired side-lobe attenuation or a desired
main-lobe width. Once one criterion is chosen, the other will become a
dependent property which will be chosen accordingly.
Parameters:
n_max (int) – Spherical harmonic order
design_parameter (float, double) – This can either be the desired side-lobe attenuation or the width of
the main-lobe in radians.
design_criterion ('sidelobe', 'mainlobe') – Whether the design parameter argument is the desired side-lobe
attenuation or the desired main-lobe width.
Returns:
weigths – An array containing the weight coefficients $d_nm$.