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.3.0.tar.gz (620.2 kB view details)

Uploaded Source

Built Distribution

sweights-1.3.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sweights-1.3.0.tar.gz
Algorithm Hash digest
SHA256 0239e7de374bb6e3a1c446931bea9fe75e754e57ab5739fb1f256c78facdf874
MD5 6fb4f2a51b225f618b3be16d4eab9131
BLAKE2b-256 62dc012e7a173919c4d98b4cc6dfc8e97a019e3f51d8e8f9543d764785d2c5cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sweights-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc2ce1b948030ff92f26fa973711c5284ad43d466b26f906bcbfb24428c033cd
MD5 b9d2e8e32bcae490738fd2530a72181f
BLAKE2b-256 347ef220178db7baf1c19a25da19fba983d9108f2fec7a40365da6156e27ca9e

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