Skip to main content

10D emulator for the nonlinear matter power spectrum built on Goku simulations

Project description

GokuNEmu: A Neural Network Emulator Based on the Goku Simulation Suite

GokuNEmu is a neural network (NN) emulator for the nonlinear matter power spectrum, trained on simulations from the Goku suite using the T2N-MusE emulation technique.


Installation

We recommend installing GokuNEmu via pip:

pip install gokunemu

Note for Intel Mac users:
You may need to install (if not yet) pytorch via conda before installing GokuNEmu due to potential compatibility issues with pip wheels:

conda install -c conda-forge pytorch

Usage

Example notebooks are provided in the examples/ directory:

  • example.ipynb: Demonstrates how to use GokuNEmu for predicting the nonlinear matter power spectrum.
  • speed_benchmark.ipynb: Benchmarks the runtime performance.

Training data

The data used as the training set for the emulator are available at https://github.com/astro-YYH/T2N-MusE.


Citation

If you use GokuNEmu, please cite:


License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gokunemu-0.1.10.tar.gz (18.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gokunemu-0.1.10-py3-none-any.whl (18.9 MB view details)

Uploaded Python 3

File details

Details for the file gokunemu-0.1.10.tar.gz.

File metadata

  • Download URL: gokunemu-0.1.10.tar.gz
  • Upload date:
  • Size: 18.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for gokunemu-0.1.10.tar.gz
Algorithm Hash digest
SHA256 05e941d5ee3737df39cbfd31ec485b2a71f04cd487596c7bf2ebe85137918b5e
MD5 a5c56aac39e9dd8e9401d550b64aea2d
BLAKE2b-256 d6cdd78c92e993bc83f0ce424904d0ddd250fd164df54ed02b626b0ecc7af121

See more details on using hashes here.

File details

Details for the file gokunemu-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: gokunemu-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 18.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for gokunemu-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 53327c6cbd4108e64b7da132b1236d33ef9f60dae0b42c17a5c554d2a972cbba
MD5 112c99b5fdd926e70ff9c2190c1cc080
BLAKE2b-256 4c4e9a871ce188c5a0c7ab9b8891790aae83d0c58f39ed8f68eac358b0bb201d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page