Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
cd12f83f
Commit
cd12f83f
authored
5 months ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Rename.
parent
d2140911
No related branches found
No related tags found
No related merge requests found
Pipeline
#102013
passed with warnings
5 months ago
Stage: linting
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/lofar2/model/pfb_bunton_annotated/Gen_filter12.m
+1
-1
1 addition, 1 deletion
...ications/lofar2/model/pfb_bunton_annotated/Gen_filter12.m
applications/lofar2/model/readme_rtdsp_fir.txt
+32
-0
32 additions, 0 deletions
applications/lofar2/model/readme_rtdsp_fir.txt
with
33 additions
and
1 deletion
applications/lofar2/model/pfb_bunton_annotated/Gen_filter12.m
+
1
−
1
View file @
cd12f83f
...
...
@@ -103,4 +103,4 @@ title ('Response of fircls1 filter c and interpolated cl')
grid
clT
=
cl
'
;
save
(
'cl.
tx
t'
,
'clT'
,
'-ascii'
,
'-double'
)
save
(
'cl.
da
t'
,
'clT'
,
'-ascii'
,
'-double'
)
This diff is collapsed.
Click to expand it.
applications/lofar2/model/readme_rtdsp_fir.txt
0 → 100644
+
32
−
0
View file @
cd12f83f
Author: Eric Kooistra, nov 2023
* Practise DSP [1].
* Try to reproduce LOFAR subband filter FIR coefficients using scipy instead
of MATLAB.
The pfs_coeff_final.m from the Filter Task Force (FTF) in 2005 use fircls1
with r_pass and r_stop to define the ripple. In addition it post applies a
Kaiser window with beta = 1 to make the filter attenuation a bit more deep
near the transition. The pfir_coeff.m from Apertif also uses fircls1.
Both use fircls1 with N = 1024 FIR coefficients and then Fourier
interpolation to achieve Ncoefs = 1024 * 16 FIR coefficients. Both scripts
can not exactly reproduce the actual LOFAR1 coefficients, therefore these
are loaded from a file Coeffs16384Kaiser-quant.dat
* Try low pass filter design methods using windowed sync, firls, remez [2]
The windowed sync method, firls leased squares method and remez method all
yield comparable results, but firls and remez perform slightly better near
the transition band. The firls and remez functions from scipy.signal use
transition bandwidth and weights between pass and stop band to influence
the transition region and ripple. For remez the ripple is constant in the
pass band and stop band, for firls the ripple is largest near the band
transition.
* It is possible to design a good FIR filter using Python scipy. Possibly with
some extra help of a filter design and analysis (FDA) tool like pyfda [3].
[1] https://git.astron.nl/rtsd/rtdsp/-/blob/main/doc/dsp_study_erko.txt,
summary of DSP books
[2] python package rtdsp and Jupyter notebooks, for radio telescope DSP
investigations in Python at https://git.astron.nl/rtsd/rtdsp
[3] pyfda, dsp, at https://github.com/chipmuenk
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment