# Spatial Debiased Whittle Likelihood
![Image](logo.png)
[![Documentation Status](https://readthedocs.org/projects/debiased-spatial-whittle/badge/?version=latest)](https://debiased-spatial-whittle.readthedocs.io/en/latest/?badge=latest)
[![.github/workflows/run_tests_on_push.yaml](https://github.com/arthurBarthe/debiased-spatial-whittle/actions/workflows/run_tests_on_push.yaml/badge.svg)](https://github.com/arthurBarthe/debiased-spatial-whittle/actions/workflows/run_tests_on_push.yaml)
[![Pypi](https://github.com/arthurBarthe/debiased-spatial-whittle/actions/workflows/pypi.yml/badge.svg)](https://github.com/arthurBarthe/debiased-spatial-whittle/actions/workflows/pypi.yml)
## Introduction
This package implements the Spatial Debiased Whittle Likelihood (SDW) as presented in the article of the same name, by the following authors:
- Arthur P. Guillaumin
- Adam M. Sykulski
- Sofia C. Olhede
- Frederik J. Simons
The SDW extends ideas from the Whittle likelihood and Debiased Whittle Likelihood to random fields and spatio-temporal data. In particular, it directly addresses the bias issue of the Whittle likelihood for observation domains with dimension greater than 2. It also allows us to work with rectangular domains (i.e., rather than square), missing observations, and complex shapes of data.
## Installation instructions
The package can be installed via one of the following methods.
1. Via the use of Poetry ([https://python-poetry.org/](https://python-poetry.org/)), by running the following command:
```bash
poetry add debiased-spatial-whittle
```
2. Otherwise, you can directly install via pip:
```bash
pip install debiased-spatial-whittle
```
## Development
Firstly, you need to install poetry. Then, git clone this repository, ad run the following command from
the directory corresponding to the package.
```bash
poetry install
```
If you run into some issue regarding the Python version, you can run
```bash
poetry env use <path_to_python>
```
where <path_to_python> is the path to a Python version compatible with the requirements in pyproject.toml.
### Unit tests
Unit tests are run with pytest. On Pull-requests, the unit tests will be
run.
## Documentation
The documentation is hosted on readthedocs. It is based on docstrings.
Currently, it points to the joss_paper branch and is updated on any push to that branch.
## Versioning
Currently, versioning is handled manuallyusing poetry, e.g.
```bash
poetry version patch
```
or
```bash
poetry version minor
```
When creating a release in Github, the version tag should be set to match
the version in th pyproject.toml. Creating a release in Github will trigger
a Github workflow that will publish to Pypi (see Pypi section).
## PyPi
The package is updated on PyPi automatically on creation of a new
release in Github. Note that currently the version in pyproject.toml
needs to be manually updated. This should be fixed by adding
a step in the workflow used for publication to Pypi.
Raw data
{
"_id": null,
"home_page": "http://arthurpgb.pythonanywhere.com/sdw",
"name": "debiased-spatial-whittle",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "random fields, statistics, whittle, spatial, matern, kriging, interpolation",
"author": "arthur",
"author_email": "ahw795@qmul.ac.uk",
"download_url": "https://files.pythonhosted.org/packages/16/be/3fafa81e6951331263e36c69163ef3f3eb8e9fb45b53b53f5d3a750690de/debiased_spatial_whittle-0.3.5.tar.gz",
"platform": null,
"description": "# Spatial Debiased Whittle Likelihood\n\n![Image](logo.png)\n\n[![Documentation Status](https://readthedocs.org/projects/debiased-spatial-whittle/badge/?version=latest)](https://debiased-spatial-whittle.readthedocs.io/en/latest/?badge=latest)\n[![.github/workflows/run_tests_on_push.yaml](https://github.com/arthurBarthe/debiased-spatial-whittle/actions/workflows/run_tests_on_push.yaml/badge.svg)](https://github.com/arthurBarthe/debiased-spatial-whittle/actions/workflows/run_tests_on_push.yaml)\n[![Pypi](https://github.com/arthurBarthe/debiased-spatial-whittle/actions/workflows/pypi.yml/badge.svg)](https://github.com/arthurBarthe/debiased-spatial-whittle/actions/workflows/pypi.yml)\n\n## Introduction\n\nThis package implements the Spatial Debiased Whittle Likelihood (SDW) as presented in the article of the same name, by the following authors:\n\n- Arthur P. Guillaumin\n- Adam M. Sykulski\n- Sofia C. Olhede\n- Frederik J. Simons\n\nThe SDW extends ideas from the Whittle likelihood and Debiased Whittle Likelihood to random fields and spatio-temporal data. In particular, it directly addresses the bias issue of the Whittle likelihood for observation domains with dimension greater than 2. It also allows us to work with rectangular domains (i.e., rather than square), missing observations, and complex shapes of data.\n\n## Installation instructions\n\nThe package can be installed via one of the following methods.\n\n1. Via the use of Poetry ([https://python-poetry.org/](https://python-poetry.org/)), by running the following command:\n\n ```bash\n poetry add debiased-spatial-whittle\n ```\n\n2. Otherwise, you can directly install via pip:\n\n ```bash\n pip install debiased-spatial-whittle\n ```\n\n## Development\n\nFirstly, you need to install poetry. Then, git clone this repository, ad run the following command from\nthe directory corresponding to the package.\n\n ```bash\n poetry install\n ```\n\nIf you run into some issue regarding the Python version, you can run\n ```bash\n poetry env use <path_to_python>\n ```\nwhere <path_to_python> is the path to a Python version compatible with the requirements in pyproject.toml.\n\n### Unit tests\nUnit tests are run with pytest. On Pull-requests, the unit tests will be\nrun.\n\n## Documentation\nThe documentation is hosted on readthedocs. It is based on docstrings.\nCurrently, it points to the joss_paper branch and is updated on any push to that branch.\n\n## Versioning\nCurrently, versioning is handled manuallyusing poetry, e.g.\n\n ```bash\n poetry version patch\n ```\nor\n ```bash\n poetry version minor\n ```\n\nWhen creating a release in Github, the version tag should be set to match\nthe version in th pyproject.toml. Creating a release in Github will trigger\na Github workflow that will publish to Pypi (see Pypi section).\n\n## PyPi\nThe package is updated on PyPi automatically on creation of a new\nrelease in Github. Note that currently the version in pyproject.toml\nneeds to be manually updated. This should be fixed by adding\na step in the workflow used for publication to Pypi.\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Spatial Debiased Whittle likelihood for fast inference of spatio-temporal covariance models from gridded data",
"version": "0.3.5",
"project_urls": {
"Homepage": "http://arthurpgb.pythonanywhere.com/sdw"
},
"split_keywords": [
"random fields",
" statistics",
" whittle",
" spatial",
" matern",
" kriging",
" interpolation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9115244bfc3598e01f7aed13a9c54c66c7385e25c0a64359052d9441336e3068",
"md5": "8661504ce8043baf3b234af28f63cd37",
"sha256": "9705af2ce2c069fe27bcb98fb27fe13e4ea049b9f3e742968a41b048c10e9265"
},
"downloads": -1,
"filename": "debiased_spatial_whittle-0.3.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8661504ce8043baf3b234af28f63cd37",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 79817,
"upload_time": "2024-12-05T23:41:18",
"upload_time_iso_8601": "2024-12-05T23:41:18.974361Z",
"url": "https://files.pythonhosted.org/packages/91/15/244bfc3598e01f7aed13a9c54c66c7385e25c0a64359052d9441336e3068/debiased_spatial_whittle-0.3.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "16be3fafa81e6951331263e36c69163ef3f3eb8e9fb45b53b53f5d3a750690de",
"md5": "6020e10963ecb0af0ae1cdc0b0babebb",
"sha256": "056b47ffb1226674158bf28cea957dc47c6504314318646fcccc88b49cc8dc18"
},
"downloads": -1,
"filename": "debiased_spatial_whittle-0.3.5.tar.gz",
"has_sig": false,
"md5_digest": "6020e10963ecb0af0ae1cdc0b0babebb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 75149,
"upload_time": "2024-12-05T23:41:21",
"upload_time_iso_8601": "2024-12-05T23:41:21.022613Z",
"url": "https://files.pythonhosted.org/packages/16/be/3fafa81e6951331263e36c69163ef3f3eb8e9fb45b53b53f5d3a750690de/debiased_spatial_whittle-0.3.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-05 23:41:21",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "debiased-spatial-whittle"
}