Simple Python interface with the spatstat R package using rpy2
Project description
spatstat-interface
Simple Python interface with the spatial statistics R package spatstat using rpy2.
Dependecies
- R (programming language),
- Python dependencies are listed in the pyproject.toml file.
Installation
- To install the lastest test version from TestPyPi
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ spatstat-interface
- To install the latest development version from GitHub
git clone https://github.com/For-a-few-DPPs-more/spatstat-interface.git
cd spatstat-interface
pip install .
- To install the latest stable version once the package will be available on on PyPI
pip install spatstat-interface
Documentation
- notebooks for detailed examples
- rpy2 documentation
- spatstat documentation
The spatstat package has recently been split into multiple subpackages and extensions.
Using spatstat-interface
, subpackages and extensions are accessible in the following way
from spatstat_interface import SpatstatInterface
spatstat = SpatstatInterface(update=True)
# spatstat.core is None
# spatstat.geom is None
# load/import subpackages or extensions
spatstat.import_package("core", "geom", update=False)
spatstat.core
spatstat.geom
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file spatstat-interface-0.1.0a0.tar.gz
.
File metadata
- Download URL: spatstat-interface-0.1.0a0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.5 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c54b8f1e2e26ed17df95b7b2c375c1c09817c5737041886e567d8a5e736fb1a |
|
MD5 | 18ee25216d8f701be8cb4afd97617bfd |
|
BLAKE2b-256 | 6c33c12527ad935f4957cb72fa7d5dde624fa6aebe3cd21da87a21791ce717aa |
File details
Details for the file spatstat_interface-0.1.0a0-py3-none-any.whl
.
File metadata
- Download URL: spatstat_interface-0.1.0a0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.5 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c03a0f2038a1f1ebd129f40b3da12e45efe43a31c5e22c3b719c5b7a0ac98f43 |
|
MD5 | f5912b15215783a173fa27cb3421550e |
|
BLAKE2b-256 | 6073a76b690b3223a60fbba79b2653a39893f0751508b0c2d69b89602b799a96 |