Metadata-Version: 2.4
Name: dynfc
Version: 0.0.4a1
Home-page: https://code-neuro.github.io/dynfc/
Author: Lucas G. S. França, Dafnis Batalle
Author-email: lucas.franca@kcl.ac.uk, dafnis.batalle@kcl.ac.uk
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: pandas
Requires-Dist: scikit-learn
Requires-Dist: pytest
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python

<img align="right" width="200" height="200" src="dynFC_logo.png">

# dynFC: CoDe-Neuro's Dynamic Functional Connectivity Tools

[![Python package](https://github.com/CoDe-Neuro/dynfc/actions/workflows/python-package.yml/badge.svg)](https://github.com/CoDe-Neuro/dynfc/actions/workflows/python-package.yml)
[![docs](https://github.com/CoDe-Neuro/dynfc/actions/workflows/docs.yml/badge.svg)](https://github.com/CoDe-Neuro/dynfc/actions/workflows/docs.yml)
[![codecov](https://codecov.io/gh/CoDe-Neuro/dynfc/branch/main/graph/badge.svg?token=EB7Z9AWZVN)](https://codecov.io/gh/CoDe-Neuro/dynfc)
![GitHub](https://img.shields.io/github/license/CoDe-Neuro/dynfc)
[![Website](https://img.shields.io/badge/visit-website-E91E63)](https://code-neuro.github.io/dynfc/)
[![DOI](https://zenodo.org/badge/334302177.svg)](https://zenodo.org/badge/latestdoi/334302177)
![PyPI](https://img.shields.io/pypi/v/dynfc?color=purple)
![PyVers](https://img.shields.io/badge/Python-v3.8_|_v3.9_|_v3.10_|_v3.11-blue)

This repository contains a Python module consisting of a set of tools developed to infer connectivity from fMRI (BOLD) signals. The module contains both phase-lock and correlation (+ cofluctuation) methods. Compatible with NumPy 2.x. Please be aware that this is still a develepment version and so may contain bugs and limited functionalities.

If you have any questions or suggestions, please [open an issue in the relevant tab](https://github.com/CoDe-Neuro/dynfc/issues). 

Please do not hesitate to suggest improvements to this module.

## Citation

:warning: Please, use the following article for reference:

Lucas G. S. França, Judit Ciarrusta, Oliver Gale-Grant, Sunniva Fenn-Moltu, Sean Fitzgibbon, Andrew Chew, Shona Falconer, Ralica Dimitrova, Lucilio Cordero-Grande, Anthony N Price, Emer Hughes, Jonathan O’Muircheartaigh, Eugene Duff, Jetro J Tuulari, Gustavo Deco, Serena J Counsell, Joseph V Hajnal, Chiara Nosarti, Tomoki Arichi, A David Edwards, Grainne McAlonan, Dafnis Batalle. bioRxiv 2022.11.16.516610; doi: https://doi.org/10.1101/2022.11.16.516610

## Installation

The easiest way to install dynfc is via pip (PyPI) with the command below.

```
pip install dynfc
```

If you would like to specify a version use the following command to install version *0.0.1a1*, for example.

```
pip install dynfc==0.0.1a1
```

Alternatively one can clone this repository and add it to a project. For that use the following command.

```
git clone https://github.com/CoDe-Neuro/
```

## Built on

[Numpy](https://numpy.org)            |  [Scipy](https://www.scipy.org)
:-------------------------:|:-------------------------:
<img src="https://numpy.org/images/logo.svg" width="100">  |  <img src=https://docs.scipy.org/doc/scipy-0.11.0/reference/_static/scipyshiny_small.png width="100">

The data used for testing was obtained from the repository [brain-networks/edge-ts](https://github.com/brain-networks/edge-ts). [no license]

Please find references for the methods available here in the relevant [docs](https://code-neuro.github.io/dynfc/) for each function.

## Funding

<img src="https://upload.wikimedia.org/wikipedia/commons/5/58/Wellcome_Trust_logo.svg" width="300">

This project is funded by a Wellcome Trust Seed Award in Science [[217316/Z/19/Z]](https://europepmc.org/grantfinder/grantdetails?query=pi%3A%22Batalle%2BD%22%2Bgid%3A%22217316%22%2Bga%3A%22Wellcome%20Trust%22).

## License

MIT License

Copyright (c) 2021 Lucas G. S. França and Dafnis Batallé

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
