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

nuspacesim-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

nuspacesim-1.5.0-cp311-cp311-macosx_11_0_arm64.whl (4.7 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

nuspacesim-1.5.0-cp311-cp311-macosx_10_9_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

nuspacesim-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

nuspacesim-1.5.0-cp310-cp310-macosx_11_0_arm64.whl (4.7 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

nuspacesim-1.5.0-cp310-cp310-macosx_10_9_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

nuspacesim-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

nuspacesim-1.5.0-cp39-cp39-macosx_11_0_arm64.whl (4.7 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

nuspacesim-1.5.0-cp39-cp39-macosx_10_9_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

nuspacesim-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

nuspacesim-1.5.0-cp38-cp38-macosx_11_0_arm64.whl (4.7 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

nuspacesim-1.5.0-cp38-cp38-macosx_10_9_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Supported by

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