Skip to content

Commit

Permalink
fix init
Browse files Browse the repository at this point in the history
  • Loading branch information
msacchi committed Nov 3, 2022
1 parent fb68872 commit df5b769
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .src import radon_lib
from .src import seismic_lib
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"""

import sys
sys.path.append('./src')
#import sys
#sys.path.append('./src')

import numpy as np
import src.radon_lib as rl
Expand All @@ -32,7 +32,7 @@
wavelet = seismic.ricker(dt,f0)

Nw = len(wavelet)
href=h[Nh-1]
href = h[Nh-1]

m[40:40+Nw,20]=wavelet
m[90:90+Nw,24]=-wavelet
Expand Down
Binary file added src/__pycache__/radon_lib.cpython-39.pyc
Binary file not shown.
Binary file added src/__pycache__/seismic_lib.cpython-39.pyc
Binary file not shown.
6 changes: 3 additions & 3 deletions test_notebook.ipynb

Large diffs are not rendered by default.

0 comments on commit df5b769

Please sign in to comment.