A python interface to fortran code developed by Vadim A.Naumov and Konstantin Kuzmin, calculating neutrino-nucleon deep inelastic charged/neutral current cross-sections.
Project description
nudisxs
Table of Contents
Installation
Requirements
- cmake (>=3.17)
- LHAPDF. Install it with python support
from PyPi
pip install nudisxs
from git:
git clone git@git.jinr.ru:dnaumov/nudisxs.git
cd nudisxs
python setup.py bdist_wheel
pip install dist/*
Use
- python class
disxs.py
provides all necessay interface to Fortran code behind it. - initializations:
-
most used:
- init_neutrino()
- init_pdf()
- init_target()
-
for experts:
- init_masses()
- init_bend_factor()
- init_q2_min()
- init_abc()
- init_structure_functions()
- init_r_function()
- init_final_hadron_mass()
- init_fl_function()
- init_qc()
-
- double differential cross-sections
\frac{d^2\sigma}{dxdy}
are available as
disxs.xs_cc(e,x,y)
for charged current exchange and
disxs.xs_nc(e,x,y)
for neutral current exchange.
- some examples can be found in
nudisxs/tests/test_dis.py
nudisxs/tests/test_dis_total.py
License
nudisxs
is distributed under the terms of the MIT license.
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
nudisxs-1.0.8.tar.gz
(231.0 kB
view hashes)
Built Distribution
Close
Hashes for nudisxs-1.0.8-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572dca8ab86e2883bfa7a4d3f45b47572d436666fd9e68a76ceb6e81dc8dc9a4 |
|
MD5 | 300acdbf8dca82ff36aeae1549980499 |
|
BLAKE2b-256 | 5327f5d97ff327aa0e0ac3e99f1a00184b3ab488bb4ce6ec472b8a92273d1d66 |