Comments (4)
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.
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.
from pyfda.
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.
This has been fixed by a hopefully clearer UI and will be contained in v0.9.0
from pyfda.
Related Issues (20)
- exporting filter coefficients as numpy/zipped numpy fails silently HOT 2
- unexpected crash in input_coeffs.py HOT 6
- Crash when trying to open inset plot in H(f) HOT 2
- `bak`, `docs`, and `recipe` directories included in PyPI packages
- Save stimuli / responses from the y[n] tab in HDL formats
- fixpoint coefficients crash pyfda HOT 3
- Saving and loading (fixpoint) filters HOT 2
- Save/Load Table to/from file HOT 1
- Running flatpak fails with "No module named 'pyparsing' " HOT 1
- Single-sided spectra of complex-valued signals are not scaled correctly (y[n] tab) HOT 1
- Unhandeled IndexError HOT 1
- App crashes - Unhandeled Exception HOT 1
- add "filter" type delay for debugging and demonstrating effects of phase / delay
- ufunc 'logical_or' did not contain a loop with signature matching types (None, <class 'numpy.dtypes.StrDType'>) -> None HOT 1
- `get_cmap` not Available in matplotlib.cm
- Create basic test cases for PyQT widgets
- Generate Verilog / VHDL code for fixpoint filters using jinja templates
- Create widget for muliplierless filter
- pyfdax won't start with numpy 2.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyfda.