[SciPy-Dev] PR #12200: FIR and IIR Gammatone Filters in scipy.signal

Shashaank N shashaank.n at columbia.edu
Sat May 23 09:38:58 EDT 2020


Hi,

I finished implementing the FIR and IIR gammatone filters in the
scipy.signal module, and I've submitted a pull request (
https://github.com/scipy/scipy/pull/12200).


Thanks,
Shashaank

On Sat, Mar 7, 2020 at 2:37 AM Ralf Gommers <ralf.gommers at gmail.com> wrote:

>
>
> On Fri, Mar 6, 2020 at 9:36 PM Shashaank N <shashaank.n at columbia.edu>
> wrote:
>
>> I've been looking into the new code contribution process on the SciPy
>> website. If someone gives me the green light and is willing to review my
>> code, I can begin creating the development environment on my machine and
>> creating unit tests/benchmarks for the new functions. I hope that these
>> gammatone filters can be included in SciPy, because they have a wide range
>> of applications from neural auditory science to signal processing, and
>> there is currently no efficient implementation for Python so far.
>>
>
> Hi Shashaank, Eric and Todd are both interested and no one has brought up
> a concern, so let's call it good - please go for it!
>
> Cheers,
> Ralf
>
>
>> - Shashaank
>>
>> On Thu, Mar 5, 2020 at 3:13 PM Eric Larson <larson.eric.d at gmail.com>
>> wrote:
>>
>>> Seems like a reasonable addition to me. At first I thought it might be a
>>> little bit specialized (despite having worked with them a little bit
>>> myself). However, there are a reasonable number of Google hits in a search,
>>> and it appears to be a part of the MATLAB "audio" toolbox, suggesting it
>>> probably does have sufficiently wide-ranging uses to warrant inclusion in
>>> SciPy.
>>>
>>> My 2c,
>>> Eric
>>>
>>>
>>> On Fri, Feb 28, 2020 at 10:12 AM Todd <toddrjen at gmail.com> wrote:
>>>
>>>> I would be extremely interested in having gammatone filters
>>>> implemented.   I have been wanting it for a long time, but haven't gotten
>>>> around to doing it myself yet.  But I don't speak for the scipy core
>>>> developers, they would need to weigh in on this.
>>>>
>>>> On Thu, Feb 27, 2020 at 11:16 AM Shashaank N <shashaank.n at columbia.edu>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Newbie here. I just wanted to follow up on the Gammatone filters for
>>>>> signal processing contribution idea that I posted recently. I would also be
>>>>> interested in contributing to SciPy by doing maintenance/bug fixes for the
>>>>> scipy.signal module.
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Shashaank
>>>>>
>>>>> On Thu, Jan 30, 2020 at 5:38 PM Shashaank N <shashaank.n at columbia.edu>
>>>>> wrote:
>>>>>
>>>>>> Hello SciPy Team,
>>>>>>
>>>>>> I am new to this mailing list, and I am interested in contributing to
>>>>>> SciPy. I would like to suggest a new feature to be added to the
>>>>>> scipy.signal module: gammatone filters. Gammatone filters are becoming
>>>>>> increasingly popular in the fields of digital signal processing and music
>>>>>> analysis as it effectively models the auditory filters of the human
>>>>>> auditory system. Currently, there are very few implementations of gammatone
>>>>>> filters available for Python, and these implementations are not generalized
>>>>>> to basic finite impulse response (FIR) and infinite impulse response (IIR)
>>>>>> filters like SciPy has.
>>>>>>
>>>>>> I have written my own gammatone FIR filter using NumPy based on
>>>>>> Malcolm Slaney's 1993 paper on the topic (
>>>>>> https://engineering.purdue.edu/~malcolm/apple/tr35/PattersonsEar.pdf).
>>>>>> This paper was used for Matlab's implementation of gammatone filters. I am
>>>>>> in the process of writing a gammatone IIR filter with NumPy and SciPy.
>>>>>> Please let me know if this feature will fit with the scipy.signal module.
>>>>>> Appreciate your time and guidance.
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Shashaank
>>>>>>
>>>>> _______________________________________________
>>>>> SciPy-Dev mailing list
>>>>> SciPy-Dev at python.org
>>>>> https://mail.python.org/mailman/listinfo/scipy-dev
>>>>>
>>>> _______________________________________________
>>>> SciPy-Dev mailing list
>>>> SciPy-Dev at python.org
>>>> https://mail.python.org/mailman/listinfo/scipy-dev
>>>>
>>> _______________________________________________
>>> SciPy-Dev mailing list
>>> SciPy-Dev at python.org
>>> https://mail.python.org/mailman/listinfo/scipy-dev
>>>
>> _______________________________________________
>> SciPy-Dev mailing list
>> SciPy-Dev at python.org
>> https://mail.python.org/mailman/listinfo/scipy-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20200523/8d1a0f8d/attachment.html>


More information about the SciPy-Dev mailing list