Skip to main content

Compare LHC DM limit to Direct Dectction Experiments

Project description

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

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

lhctodd-0.1.2.tar.gz (32.3 kB view hashes)

Uploaded Source

Built Distribution

lhctodd-0.1.2-py3-none-any.whl (31.2 kB view hashes)

Uploaded Python 3

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