Skip to main content

Python library to generate regressors for and compute Cerebrovascular Reactivity and lag maps.

Project description

phys2cvr

Latest version Latest DOI Licensed Apache 2.0

Auto Release Supports python version

All Contributors

A python-based tool to generate regressor for and/or estimate CVR maps and their lag.

The project is currently under development stage alpha. Any suggestion/bug report is welcome! Feel free to open an issue.

This project follows the all-contributors specification. Contributions of any kind welcome!

Documentation

Full documentation coming soon!

Cite

If you use phys2cvr in your work, please cite either the all-time Zenodo DOI general Zenodo DOI or the Zenodo DOI related to the version you are using. Please cite the following paper(s) too:

Moia, S., Stickland, R. C., Ayyagari, A., Termenon, M., Caballero-Gaudes, C., & Bright, M. G. (2020). Voxelwise optimization of hemodynamic lags to improve regional CVR estimates in breath-hold fMRI. In 2020 42nd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC) (pp. 1489–1492). Montreal, QC, Canada: IEEE. https://doi.org/10.1109/EMBC44109.2020.9176225

If you are using the --brightspin configuration option:

Moia, S., Termenon, M., Uruñuela, E., Chen, G., Stickland, R. C., Bright, M. G., & Caballero-Gaudes, C. (2021). ICA-based denoising strategies in breath-hold induced cerebrovascular reactivity mapping with multi echo BOLD fMRI. NeuroImage, 233, 117914. https://doi.org/10.1016/j.neuroimage.2021.117914

If you are using the --brightspin-clinical configuration option:

Stickland, R. C., Zvolanek, K. M., Moia, S., Ayyagari, A., & Bright, M. G. (2021). A practical modification to a resting state fMRI protocol for improved characterization of cerebrovascular function. Supplementary Material. Neuroimage.

If you are using the --baltimore-lag configuration option:

Liu, P., Li, Y., Pinho, M., Park, D. C., Welch, B. G., & Lu, H. (2017). Cerebrovascular reactivity mapping without gas challenges. NeuroImage, 146(November 2016), 320–326. https://doi.org/10.1016/j.neuroimage.2016.11.054

If you are using the --baltimore configuration option, please cite only the Zenodo DOI and the last listed paper.

Installation

Install on any *nix system using python and pip, or clone this repository and install locally (run setup.py or pip). phys2cvr supports python versions 3.6+. However, please note that no tests are currently run.

Install with pip (recommended)

:exclamation::exclamation::exclamation: Please note that some systems might require to use pip3 instead of pip.

Basic installation:

For basic installation, simply run:

pip install phys2cvr

Clone from Github / install without pip

:exclamation::exclamation::exclamation: Please note that phys2cvr is continuously deployed, i.e. the latest feature available are immediately released on PyPI. To install phys2cvr from Github, clone the repository first, then move to the cloned folder and run:

python setup.py install

Alternatively, pip can be used too:

pip install .

Developer installation

To be sure you have everything installed to develop (and test) phys2cvr, fork smoia/phys2cvr to your repository, then clone it locally and move inside the cloned folder. Finally, install with pip using the developer mode and the [all] label:

pip install -e .[all]

Run/use phys2cvr

You can run the phys2cvr workflow in a shell session (or in your code) - just follow the help:

phys2cvr --help

Alternatively, you can use phys2cvr as a module in a python session (or within your python script):

import phys2cvr as p2c

p2c.__version__

Full API coming soon.

License

Copyright 2021, Stefano Moia.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

phys2cvr-0.15.2.tar.gz (43.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phys2cvr-0.15.2-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file phys2cvr-0.15.2.tar.gz.

File metadata

  • Download URL: phys2cvr-0.15.2.tar.gz
  • Upload date:
  • Size: 43.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for phys2cvr-0.15.2.tar.gz
Algorithm Hash digest
SHA256 0d53afe1da476ee07ea38897d4b9c32a66c887faeab4b3616f715c7634492bc9
MD5 35f6c5dd6a196c7d0ffc8a32606014fa
BLAKE2b-256 9602edd40b7edb54b043c99f89735a4209b9dcb4f24f3b92cdb9e68c0925932b

See more details on using hashes here.

File details

Details for the file phys2cvr-0.15.2-py3-none-any.whl.

File metadata

  • Download URL: phys2cvr-0.15.2-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for phys2cvr-0.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 134c92f585862c6f0a316d4aa35cda9844afff70f15dc9ac3cf29df5f9873ce4
MD5 872e5415dbf039f6e248cdd49943b2f6
BLAKE2b-256 e7e6a6168ea9c29bfba97988c11af3c7f3dd545d6c3d92207c29b3d52cf8a876

See more details on using hashes here.

Supported by

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