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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sweights-1.1.0rc1.tar.gz
.
File metadata
- Download URL: sweights-1.1.0rc1.tar.gz
- Upload date:
- Size: 471.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9863a1e43ce655972df339130ce18a47a602e69c0cbc791174118a0ea70d4413 |
|
MD5 | 71ff1dff99fc0ffe4a6f95430e4eba73 |
|
BLAKE2b-256 | 2419ef3a35fa342f9d91eeac24c089d563d4b87fff268fdb61ea938ea2076d47 |
File details
Details for the file sweights-1.1.0rc1-py3-none-any.whl
.
File metadata
- Download URL: sweights-1.1.0rc1-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afde8df95071b042140ad654e9ab5b9a73832ccbbcc9617965e9a8a1c071cca6 |
|
MD5 | 9516e0a6d61cd5b2d49cb49fd3f715cd |
|
BLAKE2b-256 | ead151e8b0fe88ace4315d221c47a817185802d7d8d582a1a587a28eb739f14f |