The repository or configuration that created this release differ from a previous release. View details.
spm1d
One-dimensional Statistical Parametric Mapping: hypothesis testing for smooth one-dimensional data (time series, trajectories, curves) using random field theory and related inference methods.
Find this package useful? Please press star ★ , thank you!
Documentation
- See the gallery for an overview.
- Full documentation is available here.
- spm1d 0.5 is a major new version. Refer to: changes from 0.4.
Install
spm1d 0.5 requires Python 3.10 or newer. Install using:
pip install spm1d
To also install the example datasets used in the documentation:
pip install "spm1d[data]"
to revert to version 0.4 use:
pip install "spm1d<0.5"
Example
import spm1d
import jikudata as jd
dataset = jd.PlantarArchAngle() # 1D dataset
y, A = dataset.y, dataset.x # (20,101) array of responses, and (20,) array of condition labels
y0 = y[ A == 0 ] # (10,101) array: group 0
y1 = y[ A == 1 ] # (10,101) array: group 1
t = spm1d.stats.ttest_paired( y1, y0 ) # test statistic for y1 - y0
ti = t.inference( 0.05 ) # inference at alpha = 0.05
print( ti ) # threshold, clusters, p values
ti.plot() # test statistic field with suprathreshold clusters
Support
Support is provided by the spm1d.org organization.
Please refer to spm1d.org/support for details.
Citing
If spm1d contributes to published work, please cite:
Pataky TC (2012). One-dimensional statistical parametric mapping in Python. Computer Methods in Biomechanics and Biomedical Engineering 15(3): 295–301. https://doi.org/10.1080/10255842.2010.527837
Machine-readable citation: CITATION.cff.
Contributing
Please see the spm1d.org contributing guidelines and AI policy.
License
GPL-3.0-or-later. See LICENSE.txt.
Metadata
Release files for spm1d 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spm1d-0.5.0.tar.gz | 294.7 kB | With provenance | Details for spm1d-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spm1d-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for spm1d-0.5.0-py3-none-any.whl |
Total release size: 641.4 kB
Release files / spm1d-0.5.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | spm1d-0.5.0.tar.gz |
|---|---|
| Size | 294.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71dc9d8ea1dbaea2d2e8742f0adfd5d89a138a9234e8cff0e9bcbf4984925165
|
|
BLAKE2b-256 checksum How to use checksums |
3a5f76912e6995c6b3581ceca56f9df66fcade9fff04cacc28643cb2c6b9997f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / spm1d-0.5.0-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | spm1d-0.5.0-py3-none-any.whl |
|---|---|
| Size | 346.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f7faafa661154d2861ce3b94ac26fdf1aa2c439e50fa86fd8b36f05e157f773
|
|
BLAKE2b-256 checksum How to use checksums |
ef69d5e3e5cbbc0c8c4496f08e2a855b2574481a3065c912950f82ea614ae27d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for spm1d 0.5.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.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.4.59 github.com/spm1d-org/spm1d-v0.4
- Added 0.5.0 github.com/spm1d-org/spm1d-v0.5
Attestation for spm1d-0.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA 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.