Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
4f78502b
Commit
4f78502b
authored
Aug 14, 2014
by
Sean Leavey
Browse files
Fixing minor bugs with constructors for cavity and tf commands
parent
ac924ed9
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/commands.py
View file @
4f78502b
...
...
@@ -48,7 +48,7 @@ class Command(object):
class
cavity
(
Command
):
def
__init__
(
self
,
name
,
c1
,
n1
,
c2
,
n2
):
Command
.
__init__
(
self
,
axis_typ
e
)
Command
.
__init__
(
self
,
nam
e
)
self
.
__c1
=
c1
self
.
__c2
=
c2
...
...
@@ -115,7 +115,7 @@ class tf(Command):
fQ
=
namedtuple
(
'fQ'
,
[
'f'
,
'Q'
])
def
__init__
(
self
,
name
,
poles
,
zeros
):
Command
.
__init__
(
self
,
axis_typ
e
)
Command
.
__init__
(
self
,
nam
e
)
pass
class
xaxis
(
Command
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment