Skip to content

Commit

Permalink
Remove Cython code & replace it with GSTools-Core
Browse files Browse the repository at this point in the history
The Github actions still need to be updated.
  • Loading branch information
LSchueler committed Oct 27, 2021
1 parent da4d714 commit 0cc899a
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 665 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
prune *
graft tests
recursive-include gstools *.py *.pyx
recursive-include gstools *.py
recursive-exclude gstools *.c *.cpp
include LICENSE README.md pyproject.toml setup.py setup.cfg
exclude CHANGELOG.md CONTRIBUTING.md AUTHORS.md
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ in memory for immediate 3D plotting in Python.

- [NumPy >= 1.14.5](https://www.numpy.org)
- [SciPy >= 1.1.0](https://www.scipy.org/scipylib)
- [GSTools-Core >= 0.1.0](https://github.com/GeoStat-Framework/GSTools-Core)
- [hankel >= 1.0.2](https://github.com/steven-murray/hankel)
- [emcee >= 3.0.0](https://github.com/dfm/emcee)
- [pyevtk >= 1.1.1](https://github.com/pyscience-projects/pyevtk)
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ Requirements

- `Numpy >= 1.14.5 <http://www.numpy.org>`_
- `SciPy >= 1.1.0 <http://www.scipy.org>`_
- `GSTools-Core >= 0.1.0 <https://github.com/GeoStat-Framework/GSTools-Core>`_
- `hankel >= 1.0.2 <https://github.com/steven-murray/hankel>`_
- `emcee >= 3.0.0 <https://github.com/dfm/emcee>`_
- `pyevtk >= 1.1.1 <https://github.com/pyscience-projects/pyevtk>`_
Expand Down
2 changes: 1 addition & 1 deletion gstools/field/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

import numpy as np

from gstools_core import summate, summate_incompr
from gstools.covmodel.base import CovModel
from gstools.field.summator import summate, summate_incompr
from gstools.random.rng import RNG

__all__ = ["RandMeth", "IncomprRandMeth"]
Expand Down
82 changes: 0 additions & 82 deletions gstools/field/summator.pyx

This file was deleted.

4 changes: 2 additions & 2 deletions gstools/krige/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
import scipy.linalg as spl
from scipy.spatial.distance import cdist

from gstools.field.base import Field
from gstools.krige.krigesum import (
from gstools_core import (
calc_field_krige,
calc_field_krige_and_variance,
)
from gstools.field.base import Field
from gstools.krige.tools import get_drift_functions, set_condition
from gstools.tools.geometric import rotated_main_axes
from gstools.tools.misc import eval_func
Expand Down
64 changes: 0 additions & 64 deletions gstools/krige/krigesum.pyx

This file was deleted.

Loading

0 comments on commit 0cc899a

Please sign in to comment.