pyfda | Python Filter Design Analysis Tool
kandi X-RAY | pyfda Summary
kandi X-RAY | pyfda Summary
Unless running a binary, you need to have a working Python installation on your computer, preferrably including the libraries listed above.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Construct QPush button
- Convert text to HTML
- Sets the label text
- Populates the combo box
- Construct the QFFT widget
- Calculate the window draw
- Construct a QTableWidgetItem
- Updates the plot
- Calls filter design class
- Create filter instance
- Process signal handler
- Construct the widget layout
- Construct the GUI layout
- Construct the widget layout
- Build filter tree
- Convert dict to ui
- Construct the UI for the UI
- Convert float to float
- Apply filter
- Apply event filter
- Create filter instance
- Process a signal
- Construct the QWidget Layout
- Construct the QComboBox
- Construct the UI
- Parse the user config file
- Construct QComboBox
pyfda Key Features
pyfda Examples and Code Snippets
Community Discussions
Trending Discussions on pyfda
QUESTION
I have a vertical splitter with a QTabWidget at the top and a QPlainTextEdit widget below (used as a logging window). In the real application, the tabs are filled with QWidgets, containing a matplotlib canvas and a QFrame with some control elements:
...ANSWER
Answered 2017-Dec-16 at 07:55I've found an easy workaround: Setting the splitter in absolute units instead of a ratio does the job. Stating with the total height of the splitter widget, makes the solution work with different resolutions etc. The code snippet below shows the updated __init__()
part:
QUESTION
I have a pyQt application with several embedded matplotlib widgets (https://github.com/chipmuenk/pyFDA).
The automatic updating of plots can be turned off for each plotting widget to speed up the application (especially 3D plots can take quite long).
Unfortunately, I haven't managed to disable (grey out) the canvas completely yet. What I'd like is to do something like
...ANSWER
Answered 2017-Nov-17 at 15:03You may grey out the figure by placing a grey, semitransparent patch on top of it. To this end, you may create a Rectangle, set its zorder very high and give it the figure transform. To add it to a an axes, you may use ax.add_patch
; however in order to add it to a figure with a 3D axes, this will not work and you would need to add it via fig.patches.extend
. (See this answer)
QUESTION
I display data in a QTableWidget in various number formats, depending on the setting of a combobox (outside QTableWidget). This works nicely by redefining the displayText()
method of an ItemDelegate.
I would also like to style / modify the displayed text depending on its index, however, only the text and the locale are passed as arguments to displayText()
.
As a workaround I also redefined the paint()
method because here the index is passed as well. This seems very clumsy to me and I'm also at the end of the rope when I start styling the text - pure Cargo Cult programming ...
So, am I barking up the wrong tree? Is there a simpler way to format e.g. only the element (0,1) (see code below), maybe within displayText()
?
The following code is just a minimum working example, full code under
https://github.com/chipmuenk/pyFDA/blob/coeff_table/pyfda/input_widgets/filter_coeffs.py
...ANSWER
Answered 2017-Apr-08 at 20:41You can try to override QStyledItemDelegate::initStyleOption
and set the text
yourself as this is now done by qt.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pyfda
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page