Commit ce4fb7dd authored by Sebastian Heimann's avatar Sebastian Heimann

fix error introduced in 7ad727c6

parent 85c04007
...@@ -414,7 +414,8 @@ class Dataset(object): ...@@ -414,7 +414,8 @@ class Dataset(object):
return tr.transfer(tfade=tfade, freqlimits=freqlimits, return tr.transfer(tfade=tfade, freqlimits=freqlimits,
transfer_function=resp, invert=True) 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 # fill in missing channel information (happens when station file
# does not contain any channel information) # does not contain any channel information)
...@@ -521,7 +522,8 @@ class Dataset(object): ...@@ -521,7 +522,8 @@ class Dataset(object):
else: else:
abs_delay_max = 0.0 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: try:
trs_projected = [] trs_projected = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment