A collection of pre-computed searchlights.
Project description
searchlights
is a Python package that provides precomputed searchlights for surface-based analysis of fMRI data.
It only depends on NumPy
.
Installation
The package can be installed with pip:
pip install searchlights
Example usage
The surface-based fMRI data we usually use (e.g., Feilong et al., 2018) are in fsaverage
space, downsampled to a lower resolution (icoorder5
, approximately 3 mm vertex spacing).
The surface has 9372 vertices for the left hemisphere, and 9370 vertices for the right hemisphere.
The code below shows how to get the searchlights for the left hemisphere with a 20 mm radius.
import numpy as np
from searchlights import get_searchlights
sls = get_searchlights('l', 20, 'fsaverage')
See the documentation for more examples and details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file searchlights-0.1.0.tar.gz
.
File metadata
- Download URL: searchlights-0.1.0.tar.gz
- Upload date:
- Size: 30.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb5cdd3931c6e2cc0ab2a16fb818c9e18937c9daac63f31f797d37fd6889bf3a |
|
MD5 | 6a85a6bdb463ee18b70429061a4f2e52 |
|
BLAKE2b-256 | 161cbcdec5177d53bd717a030f3e368668dd73f734f2247eb9d7d55ee4ef60f3 |
File details
Details for the file searchlights-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: searchlights-0.1.0-py3-none-any.whl
- Upload date:
- Size: 30.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 660c010b7a5723479f36618461c87103da93672118d2965e33e9d9195153a933 |
|
MD5 | a91ae7445af5386014598c52d41233f0 |
|
BLAKE2b-256 | 627d3354eb8ef7e9bc9fc186ef0aba66795d0bf706c60a54716ea1bc1be452ca |