Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenQlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
las-nq
OpenQlab
Commits
f4962e9b
Commit
f4962e9b
authored
5 years ago
by
Luis Dekant
Browse files
Options
Downloads
Patches
Plain Diff
added support for differnt second par namespace again
parent
e26e93df
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/openqlab/analysis/servo_design.py
+32
-0
32 additions, 0 deletions
src/openqlab/analysis/servo_design.py
with
32 additions
and
0 deletions
src/openqlab/analysis/servo_design.py
+
32
−
0
View file @
f4962e9b
...
@@ -201,6 +201,14 @@ class Integrator(Filter):
...
@@ -201,6 +201,14 @@ class Integrator(Filter):
def
description
(
self
):
def
description
(
self
):
return
"
Int {0}
"
.
format
(
human_readable
(
self
.
corner_frequency
,
"
Hz
"
))
return
"
Int {0}
"
.
format
(
human_readable
(
self
.
corner_frequency
,
"
Hz
"
))
@property
def
sF
(
self
):
return
self
.
second_parameter
@sF.setter
def
sF
(
self
,
value
):
self
.
second_parameter
=
value
class
Differentiator
(
Filter
):
class
Differentiator
(
Filter
):
"""
"""
...
@@ -228,6 +236,14 @@ class Differentiator(Filter):
...
@@ -228,6 +236,14 @@ class Differentiator(Filter):
def
description
(
self
):
def
description
(
self
):
return
"
Diff {0}
"
.
format
(
human_readable
(
self
.
corner_frequency
,
"
Hz
"
))
return
"
Diff {0}
"
.
format
(
human_readable
(
self
.
corner_frequency
,
"
Hz
"
))
@property
def
sF
(
self
):
return
self
.
second_parameter
@sF.setter
def
sF
(
self
,
value
):
self
.
second_parameter
=
value
class
Lowpass
(
Filter
):
class
Lowpass
(
Filter
):
"""
"""
...
@@ -267,6 +283,14 @@ class Lowpass(Filter):
...
@@ -267,6 +283,14 @@ class Lowpass(Filter):
human_readable
(
self
.
corner_frequency
,
"
Hz
"
),
self
.
second_parameter
human_readable
(
self
.
corner_frequency
,
"
Hz
"
),
self
.
second_parameter
)
)
@property
def
Q
(
self
):
return
self
.
second_parameter
@Q.setter
def
Q
(
self
,
value
):
self
.
second_parameter
=
value
class
Notch
(
Filter
):
class
Notch
(
Filter
):
"""
"""
...
@@ -306,6 +330,14 @@ class Notch(Filter):
...
@@ -306,6 +330,14 @@ class Notch(Filter):
human_readable
(
self
.
corner_frequency
,
"
Hz
"
),
self
.
second_parameter
human_readable
(
self
.
corner_frequency
,
"
Hz
"
),
self
.
second_parameter
)
)
@property
def
Q
(
self
):
return
self
.
second_parameter
@Q.setter
def
Q
(
self
,
value
):
self
.
second_parameter
=
value
class
ServoDesign
:
class
ServoDesign
:
"""
"""
...
...
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