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.1.0rc1.tar.gz (471.4 kB view hashes)

Uploaded Source

Built Distribution

sweights-1.1.0rc1-py3-none-any.whl (19.5 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