PCNtoolkit
PCNtoolkit is an open-source Python package for Normative Modelling of neuroimaging data.
Deprecation warning
With version 1.X.X (June 2025), PCNtoolkit was rewritten to be object-oriented, making it more extendable and maintainable. As a result, version 0.X.X is not compatible with 1.X.X and is no longer actively maintained.
Installation
pip install pcntoolkit
Example usage
from pcntoolkit import load_fcon1000, BLR, NormativeModel
fcon1000 = load_fcon1000()
train, test = fcon1000.train_test_split()
# Create a BLR model with heteroskedastic noise
model = NormativeModel(
BLR(heteroskedastic=True), inscaler="standardize", outscaler="standardize"
)
model.fit_predict(train, test)
Help and support
Users
The best place to learn Normative Modelling and the PCNtoolkit is our website documentation.
Feel free to ask your questions and engage in discussions with the community on the NeuroStars online forum. Please add the tag pcntoolkit to your post.
Contributors
Contributions are always welcome! To start see our website contributing guidelines.
You can find more in depth guidelines in our GitHub Wiki.
Funding
This software has received funding from the:
- Wellcome Trust (Digital Innovator award 'BRAINCHART', 215698/Z/19/Z),
- European Research Council (ERC grant 'MENTALPRECISION', 101001118),
- Dutch Research Council (NWO VIDI grants 016.156.415, 864.12.003 and NWO Gravitation grant 024.001.006),
- Dutch Sectorplan 'AI and data-driven Innovation'.
License
PCNtoolkit is released under the GPL-3.0-only license.
Metadata
Release files for pcntoolkit 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pcntoolkit-1.4.0.tar.gz | 160.3 kB | Without provenance | Details for pcntoolkit-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pcntoolkit-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for pcntoolkit-1.4.0-py3-none-any.whl |
Total release size: 333.7 kB
Release files / pcntoolkit-1.4.0.tar.gz
| Download URL | pcntoolkit-1.4.0.tar.gz |
|---|---|
| Size | 160.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0ae5e20c25e3be3b2277f38dc9c4057286f6c6f548d4c6c526ae7df9b767140
|
|
BLAKE2b-256 checksum How to use checksums |
2522ca45a286f390aa2c3fc56ed1b330c6d50837c49e7c3408f13b5d71b45524
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / pcntoolkit-1.4.0-py3-none-any.whl
| Download URL | pcntoolkit-1.4.0-py3-none-any.whl |
|---|---|
| Size | 173.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cec2c2581e3099f899c43eb28c35c6ab2aef97c6108864c2f7970868663b6797
|
|
BLAKE2b-256 checksum How to use checksums |
94a6a3f428d8c26ca93e562988299c89797dd45d8598dd90db631b8e1df8b04d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for pcntoolkit 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.