SkillAgentSearch skills...

PCNtoolkit

Toolbox for normative modelling of neuroimaging and clinical data

Install / Use

/learn @predictive-clinical-neuroscience/PCNtoolkit
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Predictive Clinical Neuroscience Toolkit

Predictive Clinical Neuroscience software toolkit (formerly nispat).

A Python package for normative modelling, spatial statistics and pattern recognition.

IMPORTANT

Deprecation warning

This is PCNtoolkit version 1.X.X, released originally in June 2025. Any scripts, models, and results created with version 0.X.X are not compatible with this and future versions of the toolkit.

To use the models created with versions 0.35 and earlier, please install the appropriate version using pip install pcntoolkit==0.35, or replace 0.35 with your desired version. The old version of the toolbox is also still available on GitHub.

Installation

pip install pcntoolkit

Documentation

See the documentation for more details.

Documentation for the earlier version of the toolbox is available here

Example usage

from pcntoolkit import {load_fcon, BLR, NormativeModel}

fcon1000 = load_fcon()

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)
View on GitHub
GitHub Stars160
CategoryDevelopment
Updated5d ago
Forks67

Languages

Python

Security Score

95/100

Audited on Mar 30, 2026

No findings