Skip to content

Commit

Permalink
Remove numba
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Jackson committed Apr 5, 2022
1 parent 9e48baa commit 913f768
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion continuous_integration/environment_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dependencies:
- scipy
- pandas
- xlrd
- numba
- matplotlib
- python>=3.7
- pytest
Expand Down
3 changes: 0 additions & 3 deletions pysp2/util/peak_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import dask.bag as db

from scipy.optimize import curve_fit
from numba import jit
from .DMTGlobals import DMTGlobals


Expand Down Expand Up @@ -79,7 +78,6 @@ def _calc_incan_ratio(my_ds, ch1, ch2):
return ratio


@jit(nopython=True)
def chisquare(obs, f_exp):
return np.sum((obs - f_exp)**2)

Expand Down Expand Up @@ -346,7 +344,6 @@ def gaussian_fit(my_ds, config, parallel=False, num_records=None):
return my_ds


@jit(nopython=True)
def _gaus(x, a, x0, sigma, base):
return a * np.exp(-((x - x0)**2/(2 * sigma**2))) + base

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ scipy
xarray
act-atmos
xlrd
numba
matplotlib

0 comments on commit 913f768

Please sign in to comment.