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
43529f3e
Commit
43529f3e
authored
9 months ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Improved description.
parent
e3c0da82
No related branches found
No related tags found
1 merge request
!419
Resolve RTSD-265
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/lofar2/model/rtdsp/firfilter.py
+3
-3
3 additions, 3 deletions
applications/lofar2/model/rtdsp/firfilter.py
with
3 additions
and
3 deletions
applications/lofar2/model/rtdsp/firfilter.py
+
3
−
3
View file @
43529f3e
...
...
@@ -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
...
...
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