Skip to content

jwave.acoustics.conversion

db2neper(alpha, y)

Transforms absorption units from decibels to nepers. See http://www.k-wave.org/documentation/db2neper.php

Parameters:

Name Type Description Default
alpha(jnp.ndarray)

Absorption coefficient in decibels.

required
y(jnp.ndarray)

Exponent of the absorption coefficient.

required

Returns:

Type Description

jnp.ndarray: Absorption coefficient in nepers.