Skip to main content

A Simulator for Space-based Neutrino Detections

Project description

      ___           ___
     /\  \         /\  \
     \:\  \        \:\  \
      \:\  \        \:\  \
  _____\:\  \   ___  \:\  \
 /::::::::\__\ /\  \  \:\__\
 \:\~~\~~\/__/ \:\  \ /:/  /
  \:\  \        \:\  /:/  /
   \:\  \        \:\/:/  /
    \:\__\        \::/  /
     \/__/         \/__/
      ___           ___         ___           ___           ___
     /\__\         /\  \       /\  \         /\__\         /\__\
    /:/ _/_       /::\  \     /::\  \       /:/  /        /:/ _/_
   /:/ /\  \     /:/\:\__\   /:/\:\  \     /:/  /        /:/ /\__\
  /:/ /::\  \   /:/ /:/  /  /:/ /::\  \   /:/  /  ___   /:/ /:/ _/_
 /:/_/:/\:\__\ /:/_/:/  /  /:/_/:/\:\__\ /:/__/  /\__\ /:/_/:/ /\__\
 \:\/:/ /:/  / \:\/:/  /   \:\/:/  \/__/ \:\  \ /:/  / \:\/:/ /:/  /
  \::/ /:/  /   \::/__/     \::/__/       \:\  /:/  /   \::/_/:/  /
   \/_/:/  /     \:\  \      \:\  \        \:\/:/  /     \:\/:/  /
     /:/  /       \:\__\      \:\__\        \::/  /       \::/  /
     \/__/         \/__/       \/__/         \/__/         \/__/
      ___                       ___
     /\__\                     /\  \
    /:/ _/_       ___         |::\  \
   /:/ /\  \     /\__\        |:|:\  \
  /:/ /::\  \   /:/__/      __|:|\:\  \
 /:/_/:/\:\__\ /::\  \     /::::|_\:\__\
 \:\/:/ /:/  / \/\:\  \__  \:\~~\  \/__/                                 .
  \::/ /:/  /   ~~\:\/\__\  \:\  \                                      /
   \/_/:/  /       \::/  /   \:\  \                                    /
     /:/  /        /:/  /     \:\__\                                  /
     \/__/         \/__/       \/__/                                 /

νSpaceSim

This is the beta release of the nuspacesim simulator tool!

This package simulates upward-going electromagnetic 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 XML 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 Reno et at. 2019.

This package incorporates compiled sub-packages such as nssgeometry and EAScherGen.

Installation

nuspacesim is available through pip and conda

python3 -m pip install nuspacesim

or

conda create -n nuspacesim -c conda-forge -c nuspacesim nuspacesim

Usage

Create an XML configuration script

nuspacesim create-config my_config_file.xml

Run simulator

Simulate neutrino interactions and save the results to a fits file.

nuspacesim run my_config_file.xml 1000 8.0 -o my_nss_sim.fits

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.

Also works for the subcommands.

$ nuspacesim run --help

Uninstall

python3 -m pip uninstall nuspacesim

Download & Build

Requirements

Conda is no longer required to build nuSpaceSim, although it may be desirable for downloading compilers. All other build and runtime requirements are downloaded automatically during setup.

  • python3
  • pip
  • C++11 (or higher) compiler

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-0.5.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (729.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

nuspacesim-0.5.7-cp39-cp39-macosx_10_9_x86_64.whl (674.9 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

nuspacesim-0.5.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (729.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

nuspacesim-0.5.7-cp38-cp38-macosx_10_9_x86_64.whl (674.6 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

nuspacesim-0.5.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (730.8 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

nuspacesim-0.5.7-cp37-cp37m-macosx_10_9_x86_64.whl (672.0 kB view hashes)

Uploaded CPython 3.7m 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