Metadata-Version: 2.4
Name: pykore
Version: 0.2.1
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Dist: numpy>=1.21
License-File: LICENSE-APACHE
License-File: LICENSE-MIT
Summary: Portable FFT-based Schrodinger-Poisson pseudospectral kernel
Keywords: physics,simulation,fft,dark-matter,hpc
License: MIT OR Apache-2.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Paper, https://arxiv.org/abs/1807.04037
Project-URL: Repository, https://github.com/edengilbertus/kore

# pykore

pykore provides Python bindings for kore, a portable Schrödinger-Poisson pseudo-spectral kernel written in Rust.

## Install

```bash
pip install pykore
```

## Quick start

```python
import numpy as np
import pykore

grid = pykore.Grid((64, 64, 64), (1.0, 1.0, 1.0))
config = pykore.Config(dt=0.01, poisson_scale=1.0)
state = pykore.State(np.zeros((64, 64, 64), dtype=np.complex128))
kernel = pykore.Kernel(grid, config)
print(kernel.diagnostics(state))
```

Paper: https://arxiv.org/abs/1807.04037
Repository: https://github.com/edengilbertus/kore

