Skip to main content

Tools for producing sweights using classic methods or custom orthogonal weight functions (COWs) and for correcting covariance matrices for weighted data fits.

Project description

sweights

pip install sweights

We provide several tools for projecting component weights sWeights in a control variable(s) using a discriminating variable(s). What we call sWeights is the traditional sPlot method (we think that sPlot is a misnomer and hence call it sWeights), but also the new Custom Orthogonal Weight functions (COWs). If you use this package, please cite our methods as:

Dembinski, H., Kenzie, M., Langenbruch, C. and Schmelling, M., Custom Orthogonal Weight functions (COWs) for event classification, NIMA 1040 (2022) 167270

If you cannot access this paper for free, checkout the preprint, arXiv:2112.04574.

We also provide tools for correcting the covariance matrix of fits to weighted data, described in section IV of our paper and in more detail in Langenbruch, arXiv:1911.01303.

Documentation

You can find our documentation here.

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

sweights-1.5.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

sweights-1.5.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file sweights-1.5.0.tar.gz.

File metadata

  • Download URL: sweights-1.5.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for sweights-1.5.0.tar.gz
Algorithm Hash digest
SHA256 093aa284f32366b8fe22056d29d5db66c08b5b3096da27a875d60fcb07aebe4e
MD5 9c5245f48b1b4506c53ea13c29555aaa
BLAKE2b-256 13a3bb934bd075f2cd885f0b4724d56646c691ccc1536561d2eea8d8bb8f79a7

See more details on using hashes here.

File details

Details for the file sweights-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: sweights-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for sweights-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a12047caf9f9d01ba789d6489c9b2128e944e7c1be9a580a6999a43d83676cc0
MD5 34b1504cf69b61bb89da0f02eb510620
BLAKE2b-256 14f98e5247cf42c6dfe8a175829c94e4d78f75116d599d374d9e74c1e4f5d8cc

See more details on using hashes here.

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