GithubHelp home page GithubHelp logo

Comments (6)

berndporr avatar berndporr commented on July 24, 2024

At the end you can always convert it to f1 = f0 - 1/2 bw and f2 = f0 + 1/2 bw and then work out the new centre frequency. Internally the BP is generated by transforming a lowpass response into a BP response:
https://dsp.stackexchange.com/questions/22016/how-is-the-lowpass-to-bandpass-transformation-derived
The bandwidth is defined by the lowpass cutoff and the centre frequency by the shift variable f0. In fact a lowpass is actually a bandpass if you take into account the negative frequencies with centre frequency at f0=0! So the bandpass transform just won't need to do much. This also means that if you use a 4th order bandpass or a chain of two 2nd order high/lowpass filters won't make a difference.

from iirj.

tontush avatar tontush commented on July 24, 2024

from iirj.

berndporr avatar berndporr commented on July 24, 2024

Check this out: It's basically shifting a lowpass in the frequency domain:
http://slideplayer.com/slide/4468758/14/images/21/Low+Pass+to+Band+Pass:+The+tranformation+maps.jpg

from iirj.

tontush avatar tontush commented on July 24, 2024

Sorry that's too abstract for me! I just want to find out if i can specify the lower and upper frequencies, rather than centre freq +bandwidth approach - anyway thanks for your time

from iirj.

berndporr avatar berndporr commented on July 24, 2024

Short answer: no. The whole internal calc works with center/bandwidth. It never has f1/f2 at any point so just use your formulas above to map from f1/f2 to f0/bw.

from iirj.

tontush avatar tontush commented on July 24, 2024

Thank you

from iirj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.