Skip to content

Commit

Permalink
Merge pull request #12 from mmaelicke/dev
Browse files Browse the repository at this point in the history
Version 0.2 rework
  • Loading branch information
mmaelicke authored Aug 12, 2018
2 parents 3a1b68a + 9d9792b commit beb55e7
Show file tree
Hide file tree
Showing 18 changed files with 2,306 additions and 2,260 deletions.
22 changes: 20 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
sudo: required
language: python
python:
- "3.4"
- "3.5"
- "3.6"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda

# Useful for debugging any issues with conda
- conda info -a

# install requirements
- conda create -q -n travis python=$TRAVIS_PYTHON_VERSION --file requirements.txt
- source activate travis
- python setup.py install

# install codecov
- pip install --upgrade pip
- pip install -r requirements.txt
- pip install .
- pip install codecov
script:
- nosetests --with-coverage --cover-package=skgstat
- nosetests --with-coverage --cover-package=skgstat
after_success:
- codecov
43 changes: 16 additions & 27 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Scikit-Gstat
============

Info: scikit-gstat needs Python >= 3.5!
Info: scikit-gstat needs Python >= 3.4!

.. image:: https://travis-ci.org/mmaelicke/scikit-gstat.svg?branch=master
:target: https://travis-ci.org/mmaelicke/scikit-gstat
Expand All @@ -16,26 +16,19 @@ Info: scikit-gstat needs Python >= 3.5!
:alt: Codecov


Deprecation Warning
-------------------
This version of of scikit-gstat is deprecated. However,
the current state of this module is, without this warning,
conserved in the branch version-0.1.8 on GitHub, but will no
longer be maintained.

On the dev branch, the Variogram class is completely rewritten
and will also change the used slightly. It will soon be merged
into the master branch, as soon as it is stable. Sorry for any
inconvenience.

You can distable this Warning by setting the ignore_deprecation
attribute to True:

>>> V =Variogram(c, v, ignore_deprecation=True)
New Version 0.2
~~~~~~~~~~~~~~~

Scikit-gstat was rewritten in major parts. Most of the changes are internal,
but the attributes and behaviour of the `Variogram` has also changed
substantially.
A detailed description of of the new versions usage will follow. The last
version of the old Variogram class, 0.1.8, is kept in the `version-0.1.8`
branch on GitHub, but not developed any further. Those two versions are not
compatible.

Description
-----------
~~~~~~~~~~~
At current state, this module offers a scipy-styled `Variogram` class for performing geostatistical analysis.
This class can be used to derive variograms. Key benefits are a number of semivariance estimators and theoretical
variogram functions. The module is planned to be hold in the manner of scikit modules and be based upon `numpy` and
Expand All @@ -46,9 +39,9 @@ The estimators include:
- matheron
- cressie
- dowd
- genton (still buggy)
- genton
- entropy
- bin quantiles
- two experimental ones: quantiles, minmax

The models include:

Expand All @@ -59,19 +52,15 @@ The models include:
- stable
- matérn

with all of them in a nugget and no-nugget variation. All the estimator functions are written `numba` compatible,
therefore you can just download it and include the `@jit` decorator. This can speed up the calculation for bigger
data sets up to 100x. Nevertheless, this is not included in this sckit-gstat version as these functions might be
re-implemented using Cython. This is still under evaluation.

with all of them in a nugget and no-nugget variation. All the estimator are
implemented using numba's jit decorator. The usage of numba might be subject
to change in future versions.
At the current stage, the package does not include any kriging. This is planned for a future release.


Installation
~~~~~~~~~~~~

You can either install scikit-gstat using pip or you download the latest version from github.

PyPI:

.. code-block:: bash
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.8
0.2.0
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ scipy
numpy
pandas
nose
matplotlib
matplotlib
numba
Loading

0 comments on commit beb55e7

Please sign in to comment.