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
Merge requests
!419
Resolve
RTSD-265
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve
RTSD-265
RTSD-265
into
master
Overview
0
Commits
49
Pipelines
1
Changes
1
Merged
Eric Kooistra
requested to merge
RTSD-265
into
master
4 months ago
Overview
0
Commits
49
Pipelines
1
Changes
1
Expand
Closes
RTSD-265
0
0
Merge request reports
Viewing commit
43529f3e
Prev
Next
Show latest version
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
43529f3e
Improved description.
· 43529f3e
Eric Kooistra
authored
6 months ago
applications/lofar2/model/rtdsp/firfilter.py
+
3
−
3
Options
@@ -179,7 +179,7 @@ def design_fir_low_pass_filter(method,
. Method
'
firls
'
does not support zero BW at fcutoff. With single fcutoff point error occurs:
'
bands must be
monotonically nondecreasing and have width > 0
'
. Work around: use a very narrow band cutoffBW at fcutoff.
The cutoffBW band has to be much smaller than the transition band transistionBW, to avoid a flattened gain
around fcutoff, but also not too small,
to
because then the cutoffGain at fcutoff is not achieved.
around fcutoff, but also not too small, because then the cutoffGain at fcutoff is not achieved.
Default force cutoffBW = transistionBW / 10 for
'
firls
'
when input cutoffBW=0. For
'
remez
'
method the
cutoffBW=0 effectively, without work around, because
'
remez
'
does support single fcutoff value specification.
@@ -300,8 +300,8 @@ def design_fir_low_pass_filter_adjust(method,
kaiserBeta
=
0
,
fs
=
1.0
,
resolution
=
1e-4
,
verbosity
=
1
):
"""
Derive FIR coefficients for low pass filter for exact fcutoff
Uses design_fir_low_pass_filter() but achieves cutoffGain at fcutoff by
adjusting fpass or fstop, and
fpass < fcutoff < fstop.
Uses design_fir_low_pass_filter() but achieves cutoffGain at fcutoff by
iteratively adjusting
fpass
or fstop, and fpass
< fcutoff < fstop.
Input:
. resolution: Resolution measure for frequency and for gain. It appears that at some fine resolution
Loading