Skip to content

Commit 80b7521

Browse files
author
simon.buechner22
committed
EDC input variable names changed to be in accordance with strength. Docstring adjustment
1 parent e67b83b commit 80b7521

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

pyrato/parameters.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -509,18 +509,18 @@ def _energy_ratio(limits, energy_decay_curve1, energy_decay_curve2):
509509

510510
return energy_ratio
511511

512-
def late_lateral_sound_level(energy_decay_curve_ref_10m,
513-
energy_decay_curve_lateral):
512+
def late_lateral_sound_level(energy_decay_curve_free_field,
513+
energy_decay_curve_room_lateral):
514514
r"""
515515
Calculate the late lateral sound level.
516516
517-
The late lateral sound level :math:`L_\mathrm{J}` is a measure of the
518-
strength of late-arriving lateral sound.
519-
According to [#isoLLJ]_, it is defined as the level ratio between the
520-
lateral sound energy captured with a figure of eight microphone
521-
arriving after 80 ms and the total sound energy of a reference
522-
impulse response measured with an omnidirectional microphone
523-
at a distance of 10 m in the free field.
517+
The late lateral sound level :math:`L_\mathrm{J}` quantifies the strength
518+
of late-arriving lateral sound energy. According to ISO 3382-1 [#isoLLJ]_,
519+
it is defined as the level ratio between the late lateral sound energy
520+
captured with a figure-of-eight microphone and the total sound energy of a
521+
reference impulse response measured with an omnidirectional microphone at
522+
a distance of 10 m in the free field. It is a measure of listener
523+
envelopment.
524524
525525
The parameter is defined as
526526
@@ -556,12 +556,12 @@ def late_lateral_sound_level(energy_decay_curve_ref_10m,
556556
557557
Parameters
558558
----------
559-
energy_decay_curve_ref_10m : pyfar.TimeData
560-
Energy decay curve of the reference impulse response measured
561-
with an omnidirectional microphone at 10 m distance in the
559+
energy_decay_curve_free_field : pyfar.TimeData
560+
Energy decay curve of the reference free field impulse response
561+
measured vwith an omnidirectional microphone at 10 m distance in the
562562
free field. The EDC must start at time zero.
563563
564-
energy_decay_curve_lateral : pyfar.TimeData
564+
energy_decay_curve_room_lateral : pyfar.TimeData
565565
Energy decay curve of the room impulse response measured with a
566566
figure-eight microphone oriented according to [#isoLLJ]_
567567
(zero axis pointing towards the source). The EDC must start at
@@ -585,8 +585,8 @@ def late_lateral_sound_level(energy_decay_curve_ref_10m,
585585
limits = np.array([0.0, np.inf, 0.08, np.inf])
586586

587587
return 10 * np.log10(_energy_ratio(limits,
588-
energy_decay_curve_ref_10m,
589-
energy_decay_curve_lateral))
588+
energy_decay_curve_free_field,
589+
energy_decay_curve_room_lateral))
590590

591591
def sound_strength(energy_decay_curve_room,
592592
energy_decay_curve_free_field):

0 commit comments

Comments
 (0)