Skip to main content

nudisxs

PyPI - Version PyPI - Python Version


Table of Contents

Overview

The nudisxs package integrates Python with Fortran computational routines, offering a user-friendly interface for complex neutrino-nucleon interaction simulations. This includes both charged and neutral current exchange calculations.

Requirements

  • LHAPDF. Install it with python support. Follow installation instructions. Installations to a custom place like /foo/lhapdf requires setup of three variables
export PATH=$PATH:/foo/lhapdf/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/lhapdf/lib
export PYTHONPATH=$PYTHONPATH:/foo/lhapdf/lib/pythonX.Y/site-packages

Installation

Installing from PyPi

You can easily install nudisxs from PyPi using pip:

pip install nudisxs

Installing from Git

To install the latest development version directly from the repository:

git clone git@git.jinr.ru:dnaumov/nudisxs.git
cd nudisxs
python install .

Usage

Python Interface The disxs.py module in nudisxs provides all necessary interfaces to the underlying Fortran code. This includes functions for initialization and calculation of cross-sections.

Initialization

Common initialization functions:

  • 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.

Metadata

Release files for nudisxs 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nudisxs 1.1.2
File Size Uploaded Provenance Actions
nudisxs-1.1.2.tar.gz 496.8 kB Without provenance Details for nudisxs-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nudisxs 1.1.2
File Interpreter ABI Platform Actions
nudisxs-1.1.2-cp310-cp310-manylinux_2_35_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.35+ x86-64 Details for nudisxs-1.1.2-cp310-cp310-manylinux_2_35_x86_64.whl

Total release size: 714.5 kB

Release files / nudisxs-1.1.2.tar.gz

Download URL nudisxs-1.1.2.tar.gz
Size 496.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3cca65c4484aac27fbc98249dfcd0d86af91cfd63530fbbfb4e2be2ed7e87965
BLAKE2b-256 checksum
How to use checksums
f2f4eae3282a938e460852fce466873110bfe1b29c3180ba25ab34da9de3e1c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / nudisxs-1.1.2-cp310-cp310-manylinux_2_35_x86_64.whl

Download URL nudisxs-1.1.2-cp310-cp310-manylinux_2_35_x86_64.whl
Size 217.7 kB
Tags CPython 3.10 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
98c6b5981643813b291844f51917bd54cfbb78e7351c4abd7b62ce364c643b9e
BLAKE2b-256 checksum
How to use checksums
b97340ecbe468ed3eb3c5e8f1d9348b5da41762051b699c70adb034ad59d2bcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for nudisxs 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page