Skip to content

Commit

Permalink
Breaking changes: major reorganization of netneurotools (netneurolab#140
Browse files Browse the repository at this point in the history
)

* Initial reorg

* Fix examples

* Fix netneurotools.datasets

* Lots of fixes

* Fix style

* Fix package data

* Fix doctests

* Add test for custom colormaps

* Fix doc config

* Refactor datasets module

* Fix tests

* Fix style

* Fix tests

* Fix style

* Fix pyproject.toml

* Fix error

* Fix numpy changes

* [MNT] Update redocs/requirements.txt

* Update README.rst

* Update README.rst to streamline content and improve clarity

* Refactor dataset download functions to improve readability

* Add new datasets and update project fetching functions

* Add curated datasets for fsaverage, fsLR, and CIVET

* Add pyvista plotter

* Improve pyvista import handling

* Improve PyVista import handling and error reporting

* Mark test as expected failures

* Refactor test_fetch.py

* Rename datasets and update URL handling for GitHub archives

* Fix typo in API documentation

* Update documentation to reflect transition from PySurfer to Pyvista for surface plotting

* Add transforms module for datasets
  • Loading branch information
liuzhenqi77 authored Nov 18, 2024
1 parent 672d402 commit ab0581c
Show file tree
Hide file tree
Showing 103 changed files with 8,362 additions and 7,445 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
docs/generated/
docs/auto_examples/
docs/modules/
docs/sg_execution_times.rst

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include README.rst LICENSE environment.yml requirements.txt
recursive-include netneurotools/data *
include versioneer.py
include netneurotools/datasets/datasets.json
include netneurotools/datasets/references.json
include netneurotools/datasets/netneurotools.bib
60 changes: 34 additions & 26 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,53 +26,60 @@ netneurotools: Tools for network neuroscience
|
This toolbox is a collection of functions written in Python that get frequent
usage in the `Network Neuroscience Lab <netneurolab.github.io/>`_, housed in
usage in the `Network Neuroscience Lab <https://netneurolab.github.io/>`_, housed in
the `Brain Imaging Centre <https://www.mcgill.ca/bic/home>`_ at
`McGill University <https://www.mcgill.ca/>`_.

.. _installation:

Installation
------------

Install directly from PyPi with :code:`pip install netneurotools` or install the main branch with

.. code-block:: bash
git clone https://github.com/netneurolab/netneurotools.git
cd netneurotools
pip install .

.. _features:

Features
--------

* Network neuroscience metrics: up-to-date and optimized
Netneurotools provides a wide range of tools for network neuroscience research.

* Network communication
* Null networks
* A range of useful datasets fetchers

* Brain plotting functions: easy to use and customize
* Network construction: empirical and surrogate

* Surface visualization
`plot_fsaverage <https://netneurotools.readthedocs.io/en/latest/generated/netneurotools.plotting.plot_fsaverage.html>`_
and `plot_fslr <https://netneurotools.readthedocs.io/en/latest/generated/netneurotools.plotting.plot_fslr.html>`_
* 3D point brain `plot_point_brain <https://netneurotools.readthedocs.io/en/latest/generated/netneurotools.plotting.plot_point_brain.html>`_
* Sorted communities `plot_mod_heatmap <https://netneurotools.readthedocs.io/en/latest/generated/netneurotools.plotting.plot_mod_heatmap.html>`_
* Network (graph) metrics calculation: up-to-date and optimized

* Statistics functions
* Brain and network visualization

* Dominance analysis `get_dominance_stats <https://netneurotools.readthedocs.io/en/latest/generated/netneurotools.stats.get_dominance_stats.html>`_
* Optimized statistics routines

* Fetchers for common datasets
* Convenient interface for external tools

* Utilities for working with FreeSurfer and CIVET
* And much more!


Check out our `documentation <https://netneurotools.readthedocs.io/en/latest>`_
for more information!


.. _installation:

Installation
------------

You can install directly from PyPi with :code:`pip install netneurotools`.

This package is under active development. We recommend installing the latest version
with

.. code-block:: bash
pip install git+https://github.com/netneurolab/netneurotools.git
If you are looking for the earlier version of the toolbox before the recent breaking changes,
you can install it with

.. code-block:: bash
pip install git+https://github.com/netneurolab/[email protected]
.. _development:

Development
Expand All @@ -85,6 +92,7 @@ you've found a bug, are experiencing a problem, or have a question, create a
new `issue <https://github.com/netneurolab/netneurotools/issues>`_ with some
information about it and one of our team members will do our best to help you.


.. _licensing:

License Information
Expand Down
26 changes: 0 additions & 26 deletions dev_environment.yml

This file was deleted.

Loading

0 comments on commit ab0581c

Please sign in to comment.