Skip to main content

A collection of pre-computed searchlights.

Project description

codecov PyPI PyPI - Downloads PyPI - Python Version

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:

python -m 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

searchlights-0.2.0.tar.gz (30.7 MB view details)

Uploaded Source

Built Distribution

searchlights-0.2.0-py3-none-any.whl (30.7 MB view details)

Uploaded Python 3

File details

Details for the file searchlights-0.2.0.tar.gz.

File metadata

  • Download URL: searchlights-0.2.0.tar.gz
  • Upload date:
  • Size: 30.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for searchlights-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ed0682fb67eb963b0852bb9f6d1b5a297ec53c476f5e93f9b82327ba0a32fa00
MD5 9c3f925668bb8b4780e93aebca8c373b
BLAKE2b-256 1093b96617231d6ca04975e5f256f13d784b2c40507846877cc178fe8f5bb09d

See more details on using hashes here.

File details

Details for the file searchlights-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for searchlights-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a5c9e8c7f00f030ae64c7fe3ff2dc81773919ede6a7fcc4fcc12c4813ed23b9
MD5 eea80309a4e0dbb9da758462c767a980
BLAKE2b-256 5b0cbf5673240bc3ba1e90e887b7e298c946236a574dae1ab97ad966d2219591

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page