Skip to main content

LHCToDD

Documentation Status PyPI version PyPI platforms

Quick start

import lhctodd
# Listing all the available DD limits 
lhctodd.list()

You can get then any limit

# Geeting the XENON1T limits
limit = dd.DD(arxiv="1805.12562")

# cross-section limit values at 100 GeV
limit.sigma(100)

# plot the limit 
limit.plot()

# get the data
data = limit.data() 
# or
data = limit.to_pandas()

to translate LHC limit to DD

axial_model = lhctodd.SD(g_chi=1.0, g_g=0.25, g_l=0.0, label="CMS MonoZ")
axial_dd = axial_model.from_csv("limit-EXO-19-003-SD-90CL.csv")
axial_model.plot()

# or

import matplotlib.pyplot as plt
plt.plot(axial_dd[:,0], axial_dd[:,1])
plt.xlabel("DM mass")
plt.ylabel("DM-Nucleon cross-section (cm2)")

note: all the limits should be at 90%CL

installation

To install lhctodd from PyPI

pip install lhctodd

Metadata

Release files for lhctodd 0.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 lhctodd 0.1.2
File Size Uploaded
lhctodd-0.1.2.tar.gz 32.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lhctodd 0.1.2
File Interpreter ABI Platform
lhctodd-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 63.5 kB

Release files / lhctodd-0.1.2.tar.gz

Download URL lhctodd-0.1.2.tar.gz
Size 32.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3a20a46a8f1b36f85c1ef2dcaa8d615c9122b1f53859a577bf84563e5e2bfd30
BLAKE2b-256 checksum
How to use checksums
2345913ee40c944772bf349183b76466c18e39e7e309ca46ccd6782cdff8b9aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / lhctodd-0.1.2-py3-none-any.whl

Download URL lhctodd-0.1.2-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9d5d8af81bd1c99c20ba45c039e642b7237790d1df469c0aa4d1ec83e31f40e
BLAKE2b-256 checksum
How to use checksums
3d1f34ed262b525509647caaf92fa727be5d996e6f1a7d11d312771851dfe45b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

2 release files

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