aspcol.sphericalharmonics.shd_num_degrees_vector

aspcol.sphericalharmonics.shd_num_degrees_vector(max_order: int)

Constructs a vector with the index of each order and degree when order = n, the degrees are only non-zero for -n <= degree <= n

Parameters:

max_order (int) – is the maximum order that is included

Returns:

  • order (ndarray of shape ())

  • degree (ndarray of shape ())