biosspheres.utils.auxindexes#

Functions

diagonal_l_dense(big_l)

diagonal_l_sparse(big_l)

eles_combination(big_l)

giro_sign(big_l)

pes_y_kus(big_l)

Returns three helping arrays.

rows_columns_big_a_sparse_1_sphere(big_l[, ...])

Returns two helping arrays

biosspheres.utils.auxindexes.pes_y_kus(big_l: int) → tuple[ndarray, ndarray, ndarray][source]#

Returns three helping arrays.

Parameters:

big_l (integer) – >= 0, max degree.

Returns:

  • pesykus (numpy array) – dtype int, shape ((big_l+1) * big_l // 2, 2).

  • p2_plus_p_plus_q (numpy array) – dtype int, length (big_l+1) * big_l // 2.

  • p2_plus_p_minus_q (numpy array) – dtype int, length (big_l+1) * big_l // 2.

biosspheres.utils.auxindexes.rows_columns_big_a_sparse_1_sphere(big_l: int, azimuthal: bool = False) → tuple[ndarray, ndarray][source]#

Returns two helping arrays

Parameters:
  • big_l (integer) – >= 0, max degree.

  • azimuthal (bool) – Default False.

Returns:

  • rows_big_a_sparse (numpy array) – dtype = int, If azimuthal = True:

    length (big_l+1)

    Else:

    length (big_l+1) ** 2.

  • columns_big_a_sparse (numpy array) –

    If azimuthal = True:

    length (big_l+1)

    Else:

    length (big_l+1) ** 2.