Skip to main content

A Simulator for Space-based Neutrino Detections

Project description

NuSpaceSim logo

νSpaceSim

PyPI Build CICD Documentation PyPI - Downloads

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

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)

  1. git clone https://github.com/NuSpaceSim/nuSpaceSim.git
  2. cd nuSpaceSim
  3. python3 -m pip install -e .
      ___           ___
     /\  \         /\  \
     \:\  \        \:\  \
      \:\  \        \:\  \
  _____\:\  \   ___  \:\  \
 /::::::::\__\ /\  \  \:\__\
 \:\~~\~~\/__/ \:\  \ /:/  /
  \:\  \        \:\  /:/  /
   \:\  \        \:\/:/  /
    \:\__\        \::/  /
     \/__/         \/__/
      ___           ___         ___           ___           ___
     /\__\         /\  \       /\  \         /\__\         /\__\
    /:/ _/_       /::\  \     /::\  \       /:/  /        /:/ _/_
   /:/ /\  \     /:/\:\__\   /:/\:\  \     /:/  /        /:/ /\__\
  /:/ /::\  \   /:/ /:/  /  /:/ /::\  \   /:/  /  ___   /:/ /:/ _/_
 /:/_/:/\:\__\ /:/_/:/  /  /:/_/:/\:\__\ /:/__/  /\__\ /:/_/:/ /\__\
 \:\/:/ /:/  / \:\/:/  /   \:\/:/  \/__/ \:\  \ /:/  / \:\/:/ /:/  /
  \::/ /:/  /   \::/__/     \::/__/       \:\  /:/  /   \::/_/:/  /
   \/_/:/  /     \:\  \      \:\  \        \:\/:/  /     \:\/:/  /
     /:/  /       \:\__\      \:\__\        \::/  /       \::/  /
     \/__/         \/__/       \/__/         \/__/         \/__/
      ___                       ___
     /\__\                     /\  \
    /:/ _/_       ___         |::\  \
   /:/ /\  \     /\__\        |:|:\  \
  /:/ /::\  \   /:/__/      __|:|\:\  \
 /:/_/:/\:\__\ /::\  \     /::::|_\:\__\                                  .
 \:\/:/ /:/  / \/\:\  \__  \:\~~\  \/__/
  \::/ /:/  /   ~~\:\/\__\  \:\  \                                      /
   \/_/:/  /       \::/  /   \:\  \                                    /
     /:/  /        /:/  /     \:\__\                                  /
     \/__/         \/__/       \/__/                                 /

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

nuspacesim-2.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

nuspacesim-2.1.1-cp313-cp313-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

nuspacesim-2.1.1-cp313-cp313-macosx_10_13_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

nuspacesim-2.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

nuspacesim-2.1.1-cp312-cp312-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

nuspacesim-2.1.1-cp312-cp312-macosx_10_13_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

nuspacesim-2.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

nuspacesim-2.1.1-cp311-cp311-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

nuspacesim-2.1.1-cp311-cp311-macosx_10_9_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

nuspacesim-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

nuspacesim-2.1.1-cp310-cp310-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

nuspacesim-2.1.1-cp310-cp310-macosx_10_9_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

nuspacesim-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

nuspacesim-2.1.1-cp39-cp39-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

nuspacesim-2.1.1-cp39-cp39-macosx_10_9_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file nuspacesim-2.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e1b5473bf59bdb83473c058c48a71af9ef15acf76256916a0c1e086610f6057
MD5 bcd9d523ef64f66c5e9daf72d62da4f1
BLAKE2b-256 82bbb489ff18620d9d6e76fad37720ce127d5754e9841d96d5caab3825ebadaa

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 288d482a39c5ef45733758ccc9d8fa8fbe8c473095038ae71f53fd603f540218
MD5 8155de64262ba85a6ebe54a56389bf48
BLAKE2b-256 2a42249220d42f989bb63f4042b5ba7477c25abe27013560f72dd8b0fc570f34

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6eb1d0c3d9fd90e1b5d60e087b4c1cab9ae898c45597048b5d36e7ec672fd5e6
MD5 b4011800460b7ca690fd0da7ad825256
BLAKE2b-256 808c3075490da6071ca5fefd8feea3dcf3e00063cc2139eb405ddc3d99a575ed

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 83fee9bc6dcd045341ae6fac72074c8f990b2dc9bd611d1309a20beabe177d30
MD5 3019596e576a7c0e8f0f34206dfc497a
BLAKE2b-256 d66ed9a9ef3c4fa8ab7368ff914ee570e011c55914b7a33722dba48404865fc3

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0fe09a09a5e8ad897d16c3d8a6e4067e87a03f46f3a8a226289da6becdcbec65
MD5 6eaa33579a44717e7ce4fdb6f52bf24e
BLAKE2b-256 3a380a89b1d955f3ee5936f05d779716e1627010a2050d05ab59620a926e8850

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 013b79154b5f12ad1e373913b2b2284dffa315bae2377bbb173c324546aadd9d
MD5 0e83dde640912654aa9eaaee46f09c0a
BLAKE2b-256 a54713cb712e2d2e85489bf536ef653802dc7831e59ecda8b6144621ed663be6

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 68eb8c2d2ab600e9157f3345c701c08ffb9378ddad56bbf1943aa6946b0480b6
MD5 556b42982c057c3fb4c364b95328846c
BLAKE2b-256 2013799885b966b449741149dabdd18ccfc8fdb0b2f7b5f3a8d1914d9cd89788

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6fc84cfca65ef97381152a28f21ff5ff05397d480d35887c43e8f4cd270c6f7d
MD5 92daea76ace9ef57dc682b8b60932bee
BLAKE2b-256 932c66c0a8af79aa0ab92fb607167f8b107823fc01631c878e0968d17a281d02

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a1d62bae11f05eaeb65fa02406a7d80504aec83b1c5248b1fb9923fc15f7c2b9
MD5 404f6f7ea49157a533d0bde9acea7212
BLAKE2b-256 8d0e0d9374099ccc499f2b86b079aa1d8e77851002f088c15ed9c13f39677842

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0d3f6043eb4b8e6ad23e9ac18aff3d2bf0e4343a068f73635c16f02ea0d95e54
MD5 d1847ac6425b6d042b617398bcd04a8b
BLAKE2b-256 2dbc61359b6ebab4cb71126355a77d46c0e59a390e5fbe559bbb4e98a744a776

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df6826a638ec0255d849d148b96bc4d714f4cab553586c0af8c2ae4ea356c0d3
MD5 a6d6459ead5965c3e96419f359d3cbb9
BLAKE2b-256 9344a89a87150f168f245df4ba4c23ca463ab874191258c0f13742cc5d31c770

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 60f71235e61f932014a3dd65babacf03d38a6f2a1e7ddb8aa84383a6da486400
MD5 fbf948b1c8d93b51133a1d9233fd6bc7
BLAKE2b-256 ebd4fa37487b060e1b217a96656f09de422272d81b9e0cef4660708c23ca80b7

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eca5ca292eaee087272cf01bf0c281976160dc557bd4ae1d21a406f37c905f79
MD5 c03a0536263ceb2d0192bc83324ab168
BLAKE2b-256 4e08f02e90abdd0f87fdc4b91f24e9db356e9ebf05776cafdd360fbe956426a8

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3854ade52bff06f6cb9f08a656fc71dcbe7dd9545b9eb5a7921c086f3988e7ba
MD5 8e90a92aedb92f8ab1cf491ae4b44f2b
BLAKE2b-256 c7e1cd0a4f2587197896370987c232786d5865d4a046eaeaac6c8d2f456fa1dc

See more details on using hashes here.

File details

Details for the file nuspacesim-2.1.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for nuspacesim-2.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ddc7a908d07114f254ea277ae4b1b7b1a920de4c0517b247a5067269ac448fe2
MD5 f9e94860f850d6274e777ed6243ef7a2
BLAKE2b-256 7d033023bd29b5cb7caff4657712e269efd4f01c007304ae3bf2e14055212b22

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