datide
Data assimilation routines for Gaussian process regression, built to connect with gptide and gpvecchia.
Please see the examples for particular use cases.
Documentation
Documentation is available on read the docs.
Installation
pip
pip install datide
To install a local development version
pip install -e ./
To install latest from github
pip install git+https://github.com/tide-itrh/datide.git
Features
- Gaussian process regression posterior mean, marginal likelihood, posterior covariance and conditional sampling, given an observation operator
H, prior covarianceBand observation error covarianceR. - Three solvers sharing the same interface:
DAdense(dense linear algebra),DAsparse(dask + sparse, for much larger problems) andDAblock(batches many independent problems, e.g. one per harmonic constituent). MultiscaleGP, for combining multiple additive latent-process scales (e.g. a large-scale and a small-scale field) into one Gaussian process posterior, with an optional Woodbury-identity fast path for low-rank scales.- Pluggable prior covariance representations in
datide.scales(dense, sparse, low-rank, or delegated to an external Vecchia-approximation evaluator) consumed by bothDAdenseandMultiscaleGP. datide.synthetic, for generating synthetic Gaussian random fields to test against a known truth.
Quick Usage
import numpy as np
from datide import DAdense
rng = np.random.default_rng(0)
n_obs, n_state = 20, 5
H = rng.normal(size=(n_obs, n_state)) # observation operator
B = np.eye(n_state) # prior state covariance
R = 0.1 * np.eye(n_obs) # observation error covariance
x_true = rng.normal(size=n_state)
y = H @ x_true + rng.normal(scale=0.1, size=n_obs) # noisy observations
model = DAdense(H, B, R)
x_est = model(y) # posterior mean estimate of x_true
See the examples for a worked multiscale interpolation use case.
Citing
If you use datide in your research, please cite it -- see CITATION.cff for citation metadata (also available via GitHub's "Cite this repository" button).
Metadata
Release files for datide 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datide-0.0.4.tar.gz | 441.3 kB | With provenance | Details for datide-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datide-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for datide-0.0.4-py3-none-any.whl |
Total release size: 462.8 kB
Release files / datide-0.0.4.tar.gz
| Download URL | datide-0.0.4.tar.gz |
|---|---|
| Size | 441.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07df5b001ffe1646ac02c8550795783d7bdb05688c0f19690a2bea13def0badf
|
|
BLAKE2b-256 checksum How to use checksums |
f6dc9fc6af7e13a94150169c70d031e05ca035af78e6fafbc617a72cc6342e79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logRelease files / datide-0.0.4-py3-none-any.whl
| Download URL | datide-0.0.4-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff328fd6d82dc14236721f7fcd13ea20813712334485f987c48cdf3473ff2a7a
|
|
BLAKE2b-256 checksum How to use checksums |
e2e131b487013e967bbb9130b167f2acea082976bdea80edc54b668865171cae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logSecurity for datide 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for datide-0.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.