Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
finesse
pykat
Commits
2ce47a34
Commit
2ce47a34
authored
Mar 06, 2018
by
Daniel Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing mask feature
parent
502fa255
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
pykat/detectors.py
pykat/detectors.py
+7
-0
No files found.
pykat/detectors.py
View file @
2ce47a34
...
...
@@ -179,6 +179,13 @@ class BaseDetector(object) :
def
__str__
(
self
):
return
self
.
name
def
mask
(
self
,
n
,
m
,
factor
):
"""
Sets the mode mask to apply to this detector for the mode TEMnm. By default
all modes have a factor of 1.
n,m - mode indicies
factor - float between 0 and 1
"""
_id
=
(
n
,
m
)
# if the mask is 1 then remove this so it doesn't get
...
...
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