A Simulator for Space-based Neutrino Detections
Project description
νSpaceSim
This is the official release of the nuspacesim simulator tool!
This package simulates upward-going extensive air showers caused by neutrino interactions with the atmosphere. It calculates the tau neutrino acceptance for the Optical Cherenkov technique. The simulation is parameterized by an input TOML configuration file, with settings for detector characteristics and global parameters. The package also provides a python3 API for programatic access.
Tau propagation is interpolated using included data tables from nupyprop.
Installation
nuspacesim
is available through pip.
python3 -m pip install nuspacesim
Usage
Create a TOML configuration script
The command line simulator uses a TOML file to store configuration parameters. To generate a default configuration file run the following, with your choice of file name.
nuspacesim create-config my_config_file.toml
Run simulator
Simulate neutrino interactions and save the results to a named fits file.
nuspacesim run my_config_file.toml -o my_nss_sim.fits
Documentation
The sphinx documentation is available at ReadTheDocs
Help Documentation
Use the --help
flag for documentation.
$ nuspacesim --help
Usage: nuspacesim [OPTIONS] COMMAND [ARGS]...
Options:
--debug / --no-debug
--help Show this message and exit.
Commands:
create-config Generate a configuration file from the given parameters.
run Main Simulator for nuspacesim.
Help documentation is also available for the subcommands.
$ nuspacesim run --help
Uninstall
python3 -m pip uninstall nuspacesim
Download & Build
Clone the Repository (for development)
git clone https://github.com/NuSpaceSim/nuSpaceSim.git
cd nuSpaceSim
python3 -m pip install -e .
___ ___
/\ \ /\ \
\:\ \ \:\ \
\:\ \ \:\ \
_____\:\ \ ___ \:\ \
/::::::::\__\ /\ \ \:\__\
\:\~~\~~\/__/ \:\ \ /:/ /
\:\ \ \:\ /:/ /
\:\ \ \:\/:/ /
\:\__\ \::/ /
\/__/ \/__/
___ ___ ___ ___ ___
/\__\ /\ \ /\ \ /\__\ /\__\
/:/ _/_ /::\ \ /::\ \ /:/ / /:/ _/_
/:/ /\ \ /:/\:\__\ /:/\:\ \ /:/ / /:/ /\__\
/:/ /::\ \ /:/ /:/ / /:/ /::\ \ /:/ / ___ /:/ /:/ _/_
/:/_/:/\:\__\ /:/_/:/ / /:/_/:/\:\__\ /:/__/ /\__\ /:/_/:/ /\__\
\:\/:/ /:/ / \:\/:/ / \:\/:/ \/__/ \:\ \ /:/ / \:\/:/ /:/ /
\::/ /:/ / \::/__/ \::/__/ \:\ /:/ / \::/_/:/ /
\/_/:/ / \:\ \ \:\ \ \:\/:/ / \:\/:/ /
/:/ / \:\__\ \:\__\ \::/ / \::/ /
\/__/ \/__/ \/__/ \/__/ \/__/
___ ___
/\__\ /\ \
/:/ _/_ ___ |::\ \
/:/ /\ \ /\__\ |:|:\ \
/:/ /::\ \ /:/__/ __|:|\:\ \
/:/_/:/\:\__\ /::\ \ /::::|_\:\__\ .
\:\/:/ /:/ / \/\:\ \__ \:\~~\ \/__/
\::/ /:/ / ~~\:\/\__\ \:\ \ /
\/_/:/ / \::/ / \:\ \ /
/:/ / /:/ / \:\__\ /
\/__/ \/__/ \/__/ /
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file nuspacesim-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bd724d92408839346c799827a3c23b3db9aef569c3fdf84b6cdf00d6541db37 |
|
MD5 | c1e8691ab1bb4551934ae8fb9c1372a1 |
|
BLAKE2b-256 | 0030b92821830fcf8cf3c995decb2081a73da93483e2962298185140126c4103 |
File details
Details for the file nuspacesim-1.5.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 036582391df5547d911bfedba8153480515b477ab3ca023543470555c0d318fd |
|
MD5 | bbe1c3ecbc872bd486321ba566b69fab |
|
BLAKE2b-256 | 87d1f638fcc757722e099a51f0fad96e463a00224c1e02176800955d31c7f59a |
File details
Details for the file nuspacesim-1.5.1-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb33e913637847281b3feb2934655d50f7b3d63a81a96ebda0490f2dbe5cfb9 |
|
MD5 | 9ed8752671a27a6b54bb5edaa4022df8 |
|
BLAKE2b-256 | eae3f85e943099a4ed7a75ba4bbb39e498bdfa9e0e5ee1fc8598df2468ae5af7 |
File details
Details for the file nuspacesim-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62b505ed23b9690ee592a80e89e74b5621187f653443a3269608e7db8aef5a1c |
|
MD5 | 284c8e79349f332450a25660f007f6fe |
|
BLAKE2b-256 | 5de4d4e40ffb48f6aba1a71afaf1e1dceebe2600ae6cff36dd144c45cb4311d3 |
File details
Details for the file nuspacesim-1.5.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4018ce1ba91af35ed882ffb26dec0e2e3bab09db680c41f1b3a71baf18f37cce |
|
MD5 | dc9f8654a328469e0d714646b6d96d43 |
|
BLAKE2b-256 | b90f979be79669174baaf546c8302cdac4293448798a071a81aa5b90a05779cd |
File details
Details for the file nuspacesim-1.5.1-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe66a62baaa6c640a63ed5031f1f13eb1a6e271d01043ff1217c5fd7bf0a880 |
|
MD5 | 820a8cd455432cbbe89102de9eff4fa3 |
|
BLAKE2b-256 | f2f0300575d8a70dcf697891ef905c210fa90e35015ed606bd822f6df3d57cef |
File details
Details for the file nuspacesim-1.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f76c6095efe5977eb7e89869e08076c3f08e7db14f214c8567544b9d37001d69 |
|
MD5 | 7c159a212cba70bdcd372fd6833b9e9b |
|
BLAKE2b-256 | f27cac166955984f039218a7ea909463e6375f3380d407b59064f52e13c08b23 |
File details
Details for the file nuspacesim-1.5.1-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df2d8f2ec128aebd3e34955370d1a53d7063a39403b162d684c306339c75287b |
|
MD5 | 7fa8849a81af22f0f424d4df4c169235 |
|
BLAKE2b-256 | 4489617979c2d04589017d185dedd17d0ef9e2bbae649a165c32a35ed4a289b0 |
File details
Details for the file nuspacesim-1.5.1-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884ad9c234998bf003d5fb410981a68ce669f38bf4976a00cc6c9b0a4dae2ad8 |
|
MD5 | b0e6ad219076a40d67735c3bd3dfd32d |
|
BLAKE2b-256 | f60d63e421ebd9ee3bd61a7d23f3dae6ec2df564f0837af2d94f0a7bbb974fde |
File details
Details for the file nuspacesim-1.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35072f6398de6a5f07e1ffe4233895b660ae1ebbe0bd616229a3bce73f7c8c0b |
|
MD5 | 29058ce7c353acd8129965c8d610b440 |
|
BLAKE2b-256 | cfe351c6fea06122accd65dc5637313e563eca7c289466afa83eeb264bcf65fc |
File details
Details for the file nuspacesim-1.5.1-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00f3bbd558012b81cdd08c350b86cd55ebc5e012b048ac67b30d5c56910ad625 |
|
MD5 | bb8b51ba73f33798749063c3fc2d379d |
|
BLAKE2b-256 | 444c02bde63e7c488accf29fddcac342cf34a96efaafb7695b5f8c3a28e4d2c6 |
File details
Details for the file nuspacesim-1.5.1-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: nuspacesim-1.5.1-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e71f59b38dd72b1e9ec437318cab8b40e0a60f2a26fbfcb6547e2bc38da279f |
|
MD5 | 2ed10654e70a8a2e90f72a0d2f79538a |
|
BLAKE2b-256 | 383e4651f4ed407acbe8382cab3bb23c6427c5b7b824574bb385fcf199842509 |