PCNtoolkit version 1.4.0 is out! 
You can update by running pip install --upgrade pcntoolkit
Some nice new features:
- Longitudinal normative modelling (with the help of GSoC 2026!). You can now
use the velocity models from Bayer et al., 2026 (preprint) and the z-diff score from Bučková et al., 2025.
- A new website design with improved tutorials and more educational content
to help you with normative modelling. You can find them here:
https://pcntoolkit.readthedocs.io
- We now support Python 3.12 and 3.13 (Python 3.11 is dropped).
Changelog: Release Version 1.4.0 · predictive-clinical-neuroscience/PCNtoolkit · GitHub
1 Like
A small reproducibility suggestion from the current dev docs: CorrelationMatrix.load() is documented as restoring the CSV values but leaving bandwidth, n_subjects and estimated_range unset. Could save/load keep those in a sidecar too? If someone passes a matrix on, it would help the next user distinguish an estimated correlation from an out-of-range convention without reconstructing where the CSV came from.
Hi @bcidecoded, thanks for the recommendation. We are currently thinking about how to carry this kind of information in the correlation matrix, see this issue.
For version 1.4.0, our goal was to develop a simple save/load for the correlation matrices from the Bayer et al. paper which will soon be open sourced.
The next step is to look into how to standardise this sidecar info. A JSON file? Inside the CSV? We still have to think about that. Feel free to give suggestions
Cheers,
Konstantinos
I’d keep the matrix CSV and add a small, versioned JSON sidecar. Alongside n_subjects, bandwidth and estimated_range, I’d include the response-variable name, covariate units and a checksum of the CSV, so a replacement file cannot silently inherit the old metadata. For older CSVs, I’d leave missing metadata explicitly unknown rather than infer the estimation range from the axis. A save/load round-trip test could check that those fields survive.