Skip to content

Commit

Permalink
remove numba option , its obsolete and it did not help previously
Browse files Browse the repository at this point in the history
  • Loading branch information
misko committed Nov 27, 2023
1 parent 7f9eff9 commit f863584
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions software/rf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# from numba import jit
import functools

numba = False
#numba = False

"""
Expand Down Expand Up @@ -81,7 +81,7 @@ def signal(self, sampling_times):


class MixedSource(Source):
def __init__(self, source_a, source_b, h=None):
def __init__(self, pos, source_a, source_b, h=None):
super().__init__(pos)
self.source_a = source_a
self.source_b = source_b
Expand Down Expand Up @@ -255,7 +255,7 @@ def get_thetas(spacing):
thetas = rf_linspace(-np.pi, np.pi, spacing)
return thetas, np.vstack([np.cos(thetas)[None], np.sin(thetas)[None]]).T


'''
if numba:
@jit(nopython=True)
Expand Down Expand Up @@ -300,7 +300,7 @@ def beamformer_numba(
thetas,
source_vectors,
)

'''

# from Jon Kraft github
def dbfs(raw_data):
Expand Down

0 comments on commit f863584

Please sign in to comment.