Skip to content

Commit

Permalink
scattering: remove array around data before segmetize
Browse files Browse the repository at this point in the history
  • Loading branch information
zerafachris committed May 27, 2024
1 parent f1fa61d commit a2ada88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scatcluster/processing/scattering.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def process_scatcluster_yyyy_mm_dd(self, day_start: str, day_end: str) -> None:
else:
# Numpyification
times = stream[0].times('matplotlib')
data = np.array([trace.data for trace in stream])
data = [trace.data for trace in stream]

# Segmentization
data_segments = segmentize(data, self.network_samples_per_segment, self.network_samples_per_step)
Expand Down

0 comments on commit a2ada88

Please sign in to comment.