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
grond
Commits
ce4fb7dd
Commit
ce4fb7dd
authored
Jul 19, 2016
by
Sebastian Heimann
Browse files
fix error introduced in
7ad727c6
parent
85c04007
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dataset.py
View file @
ce4fb7dd
...
...
@@ -414,7 +414,8 @@ class Dataset(object):
return
tr
.
transfer
(
tfade
=
tfade
,
freqlimits
=
freqlimits
,
transfer_function
=
resp
,
invert
=
True
)
def
get_projections
(
self
,
station
,
source
,
target
,
tmin
,
tmax
):
def
_get_projections
(
self
,
station
,
backazimuth
,
source
,
target
,
tmin
,
tmax
):
# fill in missing channel information (happens when station file
# does not contain any channel information)
...
...
@@ -521,7 +522,8 @@ class Dataset(object):
else
:
abs_delay_max
=
0.0
projections
=
self
.
get_projections
(
station
,
source
,
target
,
tmin
,
tmax
)
projections
=
self
.
_get_projections
(
station
,
backazimuth
,
source
,
target
,
tmin
,
tmax
)
try
:
trs_projected
=
[]
...
...
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