Neutrino and related fluxes for particle and astroparticle physics
Project description
The km3flux Python package
About
KM3Flux is a collection of neutrino flux models + assorted utilities to deal with them. The current v2 is an alpha release.
Install
You need Python 3.6+. In your python env, do:
pip install "km3flux[all]==2.0.0a1"
or just clone the git repository and install via pip install .
If you want to use the legacy version (without the command line tool), use:
pip install km3flux==1.0.3
At the moment, pip install km3flux will still download the latest v1, this will however change in future. Always make sure that you keep track of which version you use in your projects – this is a general advice and not specific to km3flux!
Update or download flux data
The command-line tool km3flux can be used to manage the flux data which is stored in an offline archive:
$ km3flux -h Updates the files in the data folder by scraping the publications. Existing data files are not re-downloaded. Usage: km3flux [-spx] update km3flux (-h | --help) km3flux --version Options: -x Overwrite existing files when updating. -s Include seasonal flux data from Honda. -p Include production height tables from Honda. -h Show this screen. -v Show the version. Currently only the Honda fluxes are download from https://www.icrr.u-tokyo.ac.jp/~mhonda/
Beware that the 2011 dataset is currently not available on the website, so you will see some errors when trying to download them.
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 Distribution
Built Distribution
Hashes for km3flux-2.0.0a2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e431628a0e5e40696af4ec071177670abe3ccb911a8d8926a443fb887a49ff3 |
|
MD5 | 854250913700af6a6f6732ccd5e750be |
|
BLAKE2b-256 | ec1f3ae10c9a012fff3816a6d11d55cc557cf0f4c41df59415b4fa8a248702d4 |