Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
geojunky committed Mar 22, 2023
1 parent 0b51604 commit 3ca1ed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seismic/pick_harvester/cluster_plot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def plot_before_cluster(sr:SSST_Result, ng:NestedGrid, pdf:PdfPages, min_slope_r

nx = np.int_(np.ceil((ex - sx) / dx)) + 1
ny = np.int_(np.ceil((sy - ey) / dy)) + 1
res = int(1 / float(dx)) # per deg
res = 1 / float(dx) # per deg

gx, gy = np.meshgrid(np.linspace(sx, ex, nx), np.linspace(sy, ey, ny), indexing='ij')

Expand Down Expand Up @@ -286,7 +286,7 @@ def plot_after_cluster(p_clustered:np.ndarray, s_clustered:numpy.ndarray, ng: Ne

nx = np.int_(np.ceil((ex - sx) / dx)) + 1
ny = np.int_(np.ceil((sy - ey) / dy)) + 1
res = int(1 / float(dx)) # per deg
res = 1 / float(dx) # per deg

gx, gy = np.meshgrid(np.linspace(sx, ex, nx), np.linspace(sy, ey, ny), indexing='ij')

Expand Down

0 comments on commit 3ca1ed6

Please sign in to comment.