Giter Club home page Giter Club logo

Comments (4)

Ekundayo39283 avatar Ekundayo39283 commented on July 24, 2024

It sounds like you're encountering a limitation in the filter response plots regarding the time axis. Increasing the maximum timescale beyond 99 steps could indeed be helpful, especially for slow filters with low cutoff frequencies.

from pyfda.

chipmuenk avatar chipmuenk commented on July 24, 2024

To my understanding this is a UI problem, not a technical problem: You should be able to increase the length of the x-axis by increasing the value in the "N" field from 0 (automatic length setting) to any value you need.

You are right, however, in "automatic" mode (N = 0), the default length for the x-Axis is either the order of the FIR filter (= length of the impulse response) or 100 data points, whatever is less. You can override this easily by entering a new value in the N box, but it seems this is not self-explanatory as I've had this discussion with other users before.

Which behaviour would you expect / like? For IIR filters, there is no easy solution as their impulse response is infinite in theory. For FIR filters, the impulse response can be quite long (> 1000) so I limited this quite arbitrarily to 100. Of course, it would be easy to remove this initial limitation. Alternatively, I could use an initial setting of N = 100 for all filters.

The following image shows the impulse response of a FIR filter with order 248 in logarithmic scale with N = 270 data points on the x-axis.

pyfda_n_270

from pyfda.

JSandrock avatar JSandrock commented on July 24, 2024

Indeed, you are absolutly correct. I simply overlooked that parameter N down there. If you know about it, it completly makes sense. I guess I did not correlate it with the simulation time, because the default value was 0.
As a sugestion to help new users, maybe you could always show the actually used value there instead of 0? To enable automatic mode an additional toggle box "auto length" or something similar might be needed in that case.
Anyway, thanks for your answer and explanation, I really like your tool =)

from pyfda.

chipmuenk avatar chipmuenk commented on July 24, 2024

This has been fixed by a hopefully clearer UI and will be contained in v0.9.0

from pyfda.

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.