Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Heimann
lassie
Commits
5ec05aef
Commit
5ec05aef
authored
Jul 11, 2017
by
Sebastian Heimann
Browse files
fix issues with Path/HasPath in IFCs
parent
63648f5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ifc.py
View file @
5ec05aef
...
@@ -83,7 +83,7 @@ class IFC(common.HasPaths):
...
@@ -83,7 +83,7 @@ class IFC(common.HasPaths):
optional
=
True
,
help
=
'select traces to be treated by this IFC'
)
optional
=
True
,
help
=
'select traces to be treated by this IFC'
)
def
__init__
(
self
,
*
args
,
**
kwargs
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
Object
.
__init__
(
self
,
*
args
,
**
kwargs
)
common
.
HasPaths
.
__init__
(
self
,
*
args
,
**
kwargs
)
self
.
shifter
.
t_tolerance
=
1.
/
(
self
.
fmax
*
2.
)
self
.
shifter
.
t_tolerance
=
1.
/
(
self
.
fmax
*
2.
)
def
setup
(
self
,
config
):
def
setup
(
self
,
config
):
...
@@ -319,10 +319,10 @@ class OnsetIFC(IFC):
...
@@ -319,10 +319,10 @@ class OnsetIFC(IFC):
class
TemplateMatchingIFC
(
IFC
):
class
TemplateMatchingIFC
(
IFC
):
template_event_path
=
String
.
T
(
template_event_path
=
common
.
Path
.
T
(
help
=
'Event parameters of the template'
)
help
=
'Event parameters of the template'
)
template_markers_path
=
String
.
T
(
template_markers_path
=
common
.
Path
.
T
(
optional
=
True
,
optional
=
True
,
help
=
'File with markers defining the template'
)
help
=
'File with markers defining the template'
)
...
@@ -468,7 +468,7 @@ class ManualPickIFC(IFC):
...
@@ -468,7 +468,7 @@ class ManualPickIFC(IFC):
'''
'''
fsmooth
=
Float
.
T
(
default
=
0.1
)
fsmooth
=
Float
.
T
(
default
=
0.1
)
picks_path
=
String
.
T
()
picks_path
=
common
.
Path
.
T
()
picks_phasename
=
String
.
T
()
picks_phasename
=
String
.
T
()
def
__init__
(
self
,
*
args
,
**
kwargs
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment