Small improvements. Legend position forwarded.
This commit is contained in:
parent
9806ba36ff
commit
95f297dd46
@ -1,3 +0,0 @@
|
||||
from .wrappers import *
|
||||
from .lasp_tools import *
|
||||
from .lasp_common import *
|
@ -0,0 +1,4 @@
|
||||
|
||||
from .freqweighting_fir import A, C
|
||||
|
||||
__all__ = ['A', 'Z']
|
@ -84,6 +84,14 @@ class FilterBankDesigner:
|
||||
|
||||
return frsp(fd, freq, fir)
|
||||
|
||||
def nominal_txt_tox(self, nom_txt):
|
||||
"""
|
||||
Returns the x-value corresponding to a certain nominal txt: '1k' -> 0
|
||||
"""
|
||||
for x in self.xs:
|
||||
if self.nominal_txt(x) == nom_txt:
|
||||
return x
|
||||
raise ValueError(f'Could not find an x-value corresponding to {nom_txt}.')
|
||||
|
||||
class OctaveBankDesigner(FilterBankDesigner):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user