Skip to main content

Code computing approximate DIS N3LO coefficients

Project description

ADANI

ADANI (Approximate DIS At N3LO Implementation) is a C++ code that computes an approximation for the DIS coefficient functions at N3LO in heavy quark production, that are not fully known yet.

Citation Policy

When using this code please cite arXiv

Dependencies

The code depends on the public library gsl.

Optional dependencies are the library pybind11 and the Python module scikit-build (both public), that are required for building the Python bindings.

Installation

In order to install the C++ library run

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/your/installation/path/ ..
make && make install

The Python package is available via:

  • PyPI PyPI. Install it with
pip install adani
  • conda-forge: Conda Version. Install it with
conda install adani

At the moment there is a problem in the conda package: to fix it run also conda install conda-forge::gsl.

For installing the Python module from source run

pip install .

Compile a C++ program

In order to compile a simple program run

g++ -Wall -o test.exe test.cpp -ladani `adani-config --cppflags --ldflags --cxxflags`

or

g++ -Wall -I/your/installation/path/include -L/your/installation/path/lib/ -o test.exe test.cpp -ladani

In both cases remember to run

export PATH=$PATH:/your/installation/path/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/installation/path/lib

For MacOS users: add the flags -std=c++17 -stdlib=libc++ and run also

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/your/installation/path/lib

Import the Python module

In order to use the Python module add

import adani

to a Python program.

Contributing

If you want to report a (possible) bug or want to ask for a new feature, please raise an issue: GitHub issues

Contacts

Contact me at niclaurenti@gmail.com.

Words of our prophet

La garra charrúa! L'ultima parola agli uruguagi, sempre loro! L'ultima parola nel calcio è la loro: hanno un cuore differente, lo capisci o no? L'artiglio che graffia, che lascia il segno nella storia dell'Inter: questa è la storia che si ripete! [...] Il graffio che aveva portato l'Inter in Champions serve per rimarcare il territorio: questo è l'Uruguay quando va in campo con tutto se stesso...ecco chi è Vecino: stanco, si, ma lascia in campo Vecino che parla alla fine, lascialo in campo, che la dice lui l'ultima cosa nel calcio! Stanno a insegnare cos'è il calcio agli uruguagi, ma vedi un po' te.

18/09/2018

Messi! Messi! Leo Messi! Il sinistro migliore del mondo. Da Di Maria a Messi, dalla Bajada alla Perdriel sempre Rosario, la città del calcio. Uno per l'altro. Si sblocca la partita. Football! [...] Tutti in piedi per il miglior giocatore del mondo. Rispetto per il numero uno. [...] Rosario, città del calcio, per questo calciatore che troppe volte è stato criticato. Anche quando era a Barcellona, quando è arrivato, sofferente, da giovane, non ha mai dimenticato l'argentino. Parla rosarino, sente l'argentino nel sangue, ha pianto per la Seleccion ed è lui che la tiene in vita. [...] La mistica che entra in campo. Abbiamo nominato Diego [Armando Maradona] 10 minuti fa. Con Diego dentro tutto è possibile ed è col pianto dell'Argentina e gli occhi spiritati del miglior giocatore del mondo. [...] VAMO!

26/11/2022

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adani-1.0.3.tar.gz (2.8 MB view hashes)

Uploaded Source

Built Distributions

adani-1.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

adani-1.0.3-cp312-cp312-macosx_11_0_arm64.whl (2.3 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

adani-1.0.3-cp312-cp312-macosx_10_9_x86_64.whl (350.9 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

adani-1.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

adani-1.0.3-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

adani-1.0.3-cp311-cp311-macosx_10_9_x86_64.whl (349.4 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

adani-1.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

adani-1.0.3-cp310-cp310-macosx_11_0_arm64.whl (2.3 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

adani-1.0.3-cp310-cp310-macosx_10_9_x86_64.whl (348.0 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

adani-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

adani-1.0.3-cp39-cp39-macosx_11_0_arm64.whl (2.3 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

adani-1.0.3-cp39-cp39-macosx_10_9_x86_64.whl (348.0 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

adani-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

adani-1.0.3-cp38-cp38-macosx_11_0_arm64.whl (2.3 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

adani-1.0.3-cp38-cp38-macosx_10_9_x86_64.whl (347.8 kB 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