Skip to content

Commit

Permalink
More Checks Against Data-loss in Correlator
Browse files Browse the repository at this point in the history
* Fixed a bug that was causing slight data-loss during unstacked
  cross-correlation, in the way blocks of data were being fetched
* Added more tests to capture heretofore untested scenarios
  • Loading branch information
geojunky committed Apr 6, 2023
1 parent 5bd2986 commit f47b069
Show file tree
Hide file tree
Showing 5 changed files with 19,209 additions and 8,427 deletions.
2 changes: 1 addition & 1 deletion seismic/xcorqc/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The input parameters above dictate the following:
## Default Mode
In the default mode (without interval-stacking),

DRS = WS * (1 - OLAP) * RAW + WS * WBL * 2 + OLAP * WS
DRS = WS * (1 - OLAP) * RAW + WS * WBL * 2 + OLAP * WS * 2

A table showing example parameterizations and their implications is as follows:

Expand Down
2 changes: 1 addition & 1 deletion seismic/xcorqc/correlator.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def main(data_source1, data_source2, output_path, window_seconds, window_overlap

read_ahead_window_seconds = window_seconds * (1 - window_overlap) * read_ahead_windows + \
window_seconds * window_buffer_length * 2 + \
window_overlap * window_seconds
window_overlap * window_seconds * 2
interval_seconds = read_ahead_window_seconds
apply_stacking = False
#print(read_ahead_window_seconds)
Expand Down

0 comments on commit f47b069

Please sign in to comment.