spharpy.indexing#

Functions:

sid(n_max)

Calculates the SID indices up to spherical harmonic order n_max.

sid2acn(n_max)

Convert from SID channel indexing as proposed by Daniel in TODO: add citation Returns the indices to achieve a corresponding linear acn indexing.

sph_identity_matrix(n_max[, type])

Calculate a spherical harmonic identity matrix.

spharpy.indexing.sid(n_max)[source]#

Calculates the SID indices up to spherical harmonic order n_max. TODO: Add citation Daniel

Parameters:

n_max (int)

Returns:

sid

Return type:

numpy array

spharpy.indexing.sid2acn(n_max)[source]#

Convert from SID channel indexing as proposed by Daniel in TODO: add citation Returns the indices to achieve a corresponding linear acn indexing.

Parameters:

sid (numpy array)

Returns:

acn

Return type:

numpy array

spharpy.indexing.sph_identity_matrix(n_max, type='n-nm')[source]#

Calculate a spherical harmonic identity matrix. TODO: Implement the other identity matrices

Parameters:
  • n_max (TODO)

  • type (TODO, optional)

Returns:

identity_matrix

Return type:

numpy array