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.9.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.9-py3-none-any.whl (18.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gokunemu-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 8dc1614a308b27ac65f75e9020af4b6fda3b3cd4e636aa74e655f5aca0f2d553
MD5 6c64c0dea47241cdce81a9b3fa594482
BLAKE2b-256 7d67f80caa00a4e2bc7e3d9160849249019f18c5aa2fc6fbc41245d708e8535b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gokunemu-0.1.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d0b8d05e5b5f799e60933a5ccadd6135c997891e6f56ad7de085dd6957ea4cf9
MD5 a5b882dcf9f727f107284b54d7b81043
BLAKE2b-256 343f6716a1890e7b1141cc8224cc551ec581cb21216d3cf5eb2a3c1edd8b174d

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