Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 20b63a2

Browse files
[SIGNAL] Renamed calibrate_peak to calibrate_with_peak
Just to keep it more descriptive.
1 parent ee23572 commit 20b63a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎acoustics/_signal.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def calibrate_with(self, other, decibel, inplace=False):
119119
gain = decibel - other.leq()
120120
return self.gain(gain, inplace=inplace)
121121

122-
def calibrate_peak(self, decibel, inplace=False):
122+
def calibrate_with_peak(self, decibel, inplace=False):
123123
"""Calibrate signal knowing its SPL for peak FS.
124124
125125
:param decibel: Peak FS value to calibrate to.

0 commit comments

Comments
 (0)