Skip to main content

brain-pasta

brain-pasta provides a memory-efficient Python implementation of the Parametric Spatial Test for Associations (PaSTA), including stationary, nonstationary, and bilateral analyses.

Installation

python -m pip install brain-pasta

Usage

import pasta

fit = pasta.pasta(x, y, coord)
bilateral_fit = pasta.pasta_bilateral(x, y, hemi, coord)

Both functions accept max_nfev to control the maximum number of function evaluations used for variogram optimization. Its default is 10_000.

fit = pasta.pasta(x, y, coord, max_nfev=20_000)

The primary result fields are pef, rX, and nef. Bilateral results also include pef_hemi and the complete hemisphere fits in fit_hemi.

Metadata

Release files for brain-pasta 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brain-pasta 1.1.1
File Size Uploaded Provenance Actions
brain_pasta-1.1.1.tar.gz 14.4 kB Without provenance Details for brain_pasta-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for brain-pasta 1.1.1
File Interpreter ABI Platform Actions
brain_pasta-1.1.1-py3-none-any.whl Python 3 none any Details for brain_pasta-1.1.1-py3-none-any.whl

Total release size: 30.0 kB

Release files / brain_pasta-1.1.1.tar.gz

Download URL brain_pasta-1.1.1.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5dc5e716904b304ac2162b850f39a7bf85edcbaa8613c7709f4cab224ecb3944
BLAKE2b-256 checksum
How to use checksums
150b6f4aa38566ca9754f0f58ced14c5010a2c53f1b2033885e1be86d73d7f9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / brain_pasta-1.1.1-py3-none-any.whl

Download URL brain_pasta-1.1.1-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39db9af1bb53d298ccd1631f1413a970b6732b682d0524b8e3bdbd0141b64ebe
BLAKE2b-256 checksum
How to use checksums
60cc698a5bcc311f09c973019d68b39735e4524281670aefe8cd43e2b3a236a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for brain-pasta 1.1.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page