Skip to main content

No project description provided

Project description

pylandau

example branch parameter

A simple Landau definition to be used in Python, since no common package (Scipy, Numpy, ...) provides this. Also a fast Landau + Gauss convolution is offered, that is usefull for fitting energy losses of charged particles in matter. The Landau is approximated according to Computer Phys. Comm. 31 (1984) 97-111 and the implementation is from CERN ROOT Mathlibs.

Installation

The project is hosted at PyPI. For installation just type:

pip install pylandau

If you want to change the code or start contributing download it and put it into a directory of your choice. From the project root folder run:

pip install -e .

Usage

import numpy as np
import pylandau

x = np.arange(0, 100, 0.01)
y_landau = pylandau.landau(x)
y_langau = pylandau.langau(x)

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

pylandau-2.2.0.tar.gz (92.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pylandau-2.2.0-cp310-cp310-win_amd64.whl (147.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pylandau-2.2.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (425.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

pylandau-2.2.0-cp310-cp310-macosx_11_0_arm64.whl (153.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pylandau-2.2.0-cp310-cp310-macosx_10_9_x86_64.whl (161.8 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

pylandau-2.2.0-cp39-cp39-win_amd64.whl (147.6 kB view details)

Uploaded CPython 3.9Windows x86-64

pylandau-2.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (424.6 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

pylandau-2.2.0-cp39-cp39-macosx_11_0_arm64.whl (153.2 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pylandau-2.2.0-cp39-cp39-macosx_10_9_x86_64.whl (161.8 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

pylandau-2.2.0-cp38-cp38-win_amd64.whl (147.5 kB view details)

Uploaded CPython 3.8Windows x86-64

pylandau-2.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (431.2 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

pylandau-2.2.0-cp38-cp38-macosx_11_0_arm64.whl (151.2 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

pylandau-2.2.0-cp38-cp38-macosx_10_9_x86_64.whl (159.8 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

File details

Details for the file pylandau-2.2.0.tar.gz.

File metadata

  • Download URL: pylandau-2.2.0.tar.gz
  • Upload date:
  • Size: 92.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0.tar.gz
Algorithm Hash digest
SHA256 c17be82103cdb0acadefa1647502bd8c179e1914f517fa4ec6a2833956f457c7
MD5 1674d48f0b9a590a90cea3d3c4addadb
BLAKE2b-256 84a3ac1bf458d5e348cc82b077ab71589e7b15e2cf18c67ca7823bd589fbc700

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pylandau-2.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 147.8 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 790092ed3d1c013cc8ec50585895b5fdc68976d7107086086ef801206f001aec
MD5 80206b3e08809c9b46f95935ded9874d
BLAKE2b-256 eb2cc0dafb80de8515b20b4028ff5761c1b60cd50559ac1be811d925e46a052a

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylandau-2.2.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e71b0d4872f56d7af00797b49c3747f27655c7f951a7e6186a6da127b9b3f22e
MD5 826b6836d711bf15d0dfd52b880d7547
BLAKE2b-256 65fa55f1821e31c528d9533e4e180c0726a685d40bc4c508e6a4e2d47381ed52

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

  • Download URL: pylandau-2.2.0-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 153.1 kB
  • Tags: CPython 3.10, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8ab261595344fad4188ccf447bcc127fb8c9b3994238cb17742ac208250fb480
MD5 5af7551c834584e4d0e0f1d1280140e4
BLAKE2b-256 1913985c66b7d9c2a09b7faa8d58ca53bb70a9df3937440f2205b396fd8317be

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pylandau-2.2.0-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 161.8 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6ccc64ae8316370ec8b47696627b362743b57aa467318e0dc688aaadc6c90bf3
MD5 0421cd4e08a36a13a1f9d00720542f1b
BLAKE2b-256 494c359224250fb1bcc0b7603670ef7784ab8461736d778ecc753bf7635f8e2f

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pylandau-2.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 147.6 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 260ed5e097ce3da21075d5c32da82f0dcce65e1e2a30227cfb15a827775a80be
MD5 f26eebde02fd86f3868cf9fa0233530e
BLAKE2b-256 3d25567d8af56a9fbe038c74ce242ff612b10a4d411c30d82da7a47be8143c43

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylandau-2.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ad25d263070861d08d727a8bbdea56bcf86c92272e5c6fb8cab2fb83c6bc226c
MD5 812337a52307cd43f4afa31c3c5b4ab2
BLAKE2b-256 187009a3e4d2a684c59d3007e913704eb855152b192ef12a140637cdf066ec5e

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: pylandau-2.2.0-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 153.2 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9cbd6862ef4eacf93af401ae41e7e5a553e8c3cbcc8c4ef5733e5da0e7660021
MD5 7e13161e7f54f96111eead91fa7e7211
BLAKE2b-256 489fe94e1196bcb77fd2514be44a048fa9ccee2a2048f5c9c63605745cb360b0

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pylandau-2.2.0-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 161.8 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3b4690e326c3db0d3041fdc15d47b59b76ca2f99fd0ed921697bd228a9dee4ae
MD5 b10510f9bf4c9001ad526349d859cb48
BLAKE2b-256 eae989ff11b938bed3973a22fd2f742e44a5e06779b3c8880deeea99094e8814

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pylandau-2.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 147.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 da08721d946cb5a54fda4136cad0cc0ba9ad34deb58b6a75554d463ec5800202
MD5 88721a641a5a65f8ac12cd161231aa1c
BLAKE2b-256 61fb2ec52c3e78dedd8a89e088b258b281b91de4418cbf5ade3047a0b925dfd6

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylandau-2.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06e5a634d9801c5b88946c8986b987c233543a2d785f6628fc76888cc74ba9a4
MD5 c27a24774f4756eb2e1cf0ea88b70e40
BLAKE2b-256 fe48a16e6e0cea534b45641a3b65b925cfb0684025f3d1dbea0e5338fe6b5986

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

  • Download URL: pylandau-2.2.0-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 151.2 kB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f92a3701bd313ca4dcf23d7db10f293bfc177d61c3631e519e2b5fd329a4e8f0
MD5 f7755e5e144eea82c182b286f89846ac
BLAKE2b-256 61d741aae211a82d262ae368246bb7064dcc105847f58df145822c055f2d2cb5

See more details on using hashes here.

File details

Details for the file pylandau-2.2.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pylandau-2.2.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 159.8 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pylandau-2.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dbf28d1ce80d754bbc387bd1ef3fe5da5a7ed089c85af1320c120bb50e5f85e4
MD5 b66252ca8af6d6a0dc2aa7985d408127
BLAKE2b-256 ca84acc1984aa41ddb58c6ff806404fb1e9d886dbdb9c41dd05ce3bff203937c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page