Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] [OT] How to produce IIR filter coefficients from a set ofpoints describing the frequency response

Date2009-05-15 23:14
FromJim Bates
SubjectRe: [Cs-dev] [OT] How to produce IIR filter coefficients from a set ofpoints describing the frequency response
AttachmentsNone  None  

This absolutely impressive, but scary!


True.  Running on OSX 10.4, 1.67 Ghz and 2 GB RAM, Sage will compute pi
to 100,000 places in just under 9 seconds.  It uses Cython which is a C extension
for Python.  It is quite fast.  ( http://cython.org/  )

All the Best,
Jim

Date2009-05-16 03:08
FromAndres Cabrera
SubjectRe: [Cs-dev] [OT] How to produce IIR filter coefficients from a set ofpoints describing the frequency response
Thanks for the ideas. I've been playing with sage all afternoon and
it's great. I'd heard about it, but had not dared install it...
But on the topic of iir filter coeficients, I haven't been able to
find how... with scipy.signal, there are two functions for creating
filters: iirfiter and iirdesign, but they are not designed for
arbitrary filter responses, since they model classic bp, hp, lp and br
filters. I've found remez, but it's for fir filters.
Am I missing something?

Cheers,
Andrés


On Fri, May 15, 2009 at 5:14 PM, Jim Bates  wrote:
> From: victor 
> This absolutely impressive, but scary!
>
> True.  Running on OSX 10.4, 1.67 Ghz and 2 GB RAM, Sage will compute pi
> to 100,000 places in just under 9 seconds.  It uses Cython which is a C
> extension
> for Python.  It is quite fast.  ( http://cython.org/  )
> All the Best,
> Jim
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>



-- 


Andrés

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-16 03:12
FromAndres Cabrera
SubjectRe: [Cs-dev] [OT] How to produce IIR filter coefficients from a set ofpoints describing the frequency response
The matlab function I'm looking for is acually called invfreqz, not
invresz which is there in scipy.

Cheers,
Andrés

On Fri, May 15, 2009 at 9:08 PM, Andres Cabrera  wrote:
> Thanks for the ideas. I've been playing with sage all afternoon and
> it's great. I'd heard about it, but had not dared install it...
> But on the topic of iir filter coeficients, I haven't been able to
> find how... with scipy.signal, there are two functions for creating
> filters: iirfiter and iirdesign, but they are not designed for
> arbitrary filter responses, since they model classic bp, hp, lp and br
> filters. I've found remez, but it's for fir filters.
> Am I missing something?
>
> Cheers,
> Andrés
>
>
> On Fri, May 15, 2009 at 5:14 PM, Jim Bates  wrote:
>> From: victor 
>> This absolutely impressive, but scary!
>>
>> True.  Running on OSX 10.4, 1.67 Ghz and 2 GB RAM, Sage will compute pi
>> to 100,000 places in just under 9 seconds.  It uses Cython which is a C
>> extension
>> for Python.  It is quite fast.  ( http://cython.org/  )
>> All the Best,
>> Jim
>> ------------------------------------------------------------------------------
>> Crystal Reports - New Free Runtime and 30 Day Trial
>> Check out the new simplified licensing option that enables
>> unlimited royalty-free distribution of the report engine
>> for externally facing server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
>
>
> --
>
>
> Andrés
>



-- 


Andrés

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-16 07:20
Fromvictor
SubjectRe: [Cs-dev] [OT] How to produce IIR filter coefficients from a setofpoints describing the frequency response
Octave seems to have it:
https://prof.hti.bfh.ch/sha1/Octave/index/f/invfreqz.html
----- Original Message ----- 
From: "Andres Cabrera" 
To: "Developer discussions" 
Sent: Saturday, May 16, 2009 3:12 AM
Subject: Re: [Cs-dev] [OT] How to produce IIR filter coefficients from a 
setofpoints describing the frequency response


The matlab function I'm looking for is acually called invfreqz, not
invresz which is there in scipy.

Cheers,
Andrés

On Fri, May 15, 2009 at 9:08 PM, Andres Cabrera  
wrote:
> Thanks for the ideas. I've been playing with sage all afternoon and
> it's great. I'd heard about it, but had not dared install it...
> But on the topic of iir filter coeficients, I haven't been able to
> find how... with scipy.signal, there are two functions for creating
> filters: iirfiter and iirdesign, but they are not designed for
> arbitrary filter responses, since they model classic bp, hp, lp and br
> filters. I've found remez, but it's for fir filters.
> Am I missing something?
>
> Cheers,
> Andrés
>
>
> On Fri, May 15, 2009 at 5:14 PM, Jim Bates  wrote:
>> From: victor 
>> This absolutely impressive, but scary!
>>
>> True. Running on OSX 10.4, 1.67 Ghz and 2 GB RAM, Sage will compute pi
>> to 100,000 places in just under 9 seconds. It uses Cython which is a C
>> extension
>> for Python. It is quite fast. ( http://cython.org/ )
>> All the Best,
>> Jim
>> ------------------------------------------------------------------------------
>> Crystal Reports - New Free Runtime and 30 Day Trial
>> Check out the new simplified licensing option that enables
>> unlimited royalty-free distribution of the report engine
>> for externally facing server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
>
>
> --
>
>
> Andrés
>



-- 


Andrés

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel 


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-17 17:36
FromAndres Cabrera
SubjectRe: [Cs-dev] [OT] How to produce IIR filter coefficients from a setofpoints describing the frequency response
Yes, that's what I was looking for. The great thing is that I can use
this from sage.

Thanks for the ideas.

Cheers,
Andrés

On Sat, May 16, 2009 at 1:20 AM, victor  wrote:
> Octave seems to have it:
> https://prof.hti.bfh.ch/sha1/Octave/index/f/invfreqz.html
> ----- Original Message -----
> From: "Andres Cabrera" 
> To: "Developer discussions" 
> Sent: Saturday, May 16, 2009 3:12 AM
> Subject: Re: [Cs-dev] [OT] How to produce IIR filter coefficients from a
> setofpoints describing the frequency response
>
>
> The matlab function I'm looking for is acually called invfreqz, not
> invresz which is there in scipy.
>
> Cheers,
> Andrés
>
> On Fri, May 15, 2009 at 9:08 PM, Andres Cabrera 
> wrote:
>> Thanks for the ideas. I've been playing with sage all afternoon and
>> it's great. I'd heard about it, but had not dared install it...
>> But on the topic of iir filter coeficients, I haven't been able to
>> find how... with scipy.signal, there are two functions for creating
>> filters: iirfiter and iirdesign, but they are not designed for
>> arbitrary filter responses, since they model classic bp, hp, lp and br
>> filters. I've found remez, but it's for fir filters.
>> Am I missing something?
>>
>> Cheers,
>> Andrés
>>
>>
>> On Fri, May 15, 2009 at 5:14 PM, Jim Bates  wrote:
>>> From: victor 
>>> This absolutely impressive, but scary!
>>>
>>> True. Running on OSX 10.4, 1.67 Ghz and 2 GB RAM, Sage will compute pi
>>> to 100,000 places in just under 9 seconds. It uses Cython which is a C
>>> extension
>>> for Python. It is quite fast. ( http://cython.org/ )
>>> All the Best,
>>> Jim
>>> ------------------------------------------------------------------------------
>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>> Check out the new simplified licensing option that enables
>>> unlimited royalty-free distribution of the report engine
>>> for externally facing server and web deployment.
>>> http://p.sf.net/sfu/businessobjects
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net