-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot save filter as txt file #157
Comments
Can you tell me what you're trying to do? |
Acutally , I have some data —just coeefficient of FIR filters |
Could you be so kind to attach a sample file? There are so many variations in text file formats debugging is hard for me without a proper testcase. |
Thanks for the files, now I know what you're trying to do: pyfda can read "comma separated value" (csv) lists where the separator (delimiter) between values can also be a ";", a "|", a blank or a tab. Values may be in one (FIR) or two (IIR) columns or rows. After renaming the file with CSD data to "2.csv" I can read the coefficients and display the filter:
I could not read the other file even after renaming; the values were arranged in an irregular matrix which I also wasn't sure how to interprete - column or rows? The data crashed pyfda, so I guess it will help me to make the software more error tolerant :-) With which software did you generate the two files? I will add 'txt' as a suffix for csv data as well and I need to hide the "save text file poles and residues" which is quite a special option for zero-phase (not linear phase) filters. |
Thank you so much ! At last, I generate these two files by a filter-design software developed by my tutor. |
no problem, you have to set W=32 before loading the coefficients into pyfda. Your screenshot shows that W=16 (default setting). |
Thank you so much ! |
Just a final question (I'm curious): What do use the CSD coefficients for? I've never met someone using CSD format. Do you do ASIC/FPGA design? |
Yes, we do ASIC/FPGA Design. |
Two issues need to be fixed:
|
The file no longer crashes pyfda but it still is not read correctly, the line separators are not ignored. |
[ERROR] [input_files.py:370] filter has no residues/poles, cannot save txt file
can you tell me why ?
or can you give me a txt file can be loaded by pyfda?
The text was updated successfully, but these errors were encountered: