-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from rundherum/fix-documentation
Improve documentation
- Loading branch information
Showing
28 changed files
with
240 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Build the docs in additional formats such as PDF | ||
formats: | ||
- epub | ||
- htmlzip | ||
|
||
# Set the version of Python and requirements required to build your docs | ||
python: | ||
version: 3.7 | ||
install: | ||
- requirements: docs/rtd-requirements.txt | ||
- requirements: requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
pymia | ||
===== | ||
|
||
<a href="https://pymia.readthedocs.io/en/latest/?badge=latest"> | ||
<img src="https://readthedocs.org/projects/pymia/badge/?version=latest" alt="Documentation status"> | ||
</a> | ||
|
||
pymia is an open-source Python (py) package for deep learning-based medical image analysis (mia). | ||
The package addresses two main parts of deep learning pipelines: data handling and evaluation. | ||
The package itself is independent of the deep learning framework used but can easily be integrated into TensorFlow and PyTorch pipelines. | ||
Therefore, pymia is highly flexible, allows for fast prototyping, and reduces the burden of implementing data handling and evaluation. | ||
|
||
Main Features | ||
------------- | ||
The main features of pymia are data handling ([`pymia.data` package](https://pymia.readthedocs.io/en/latest/pymia.data.html)) and evaluation ([`pymia.evaluation` package](https://pymia.readthedocs.io/en/latest/pymia.evaluation.html)). | ||
The data package is used to extract data (images, labels, demography, etc.) from a dataset in the desired format (2-D, 3-D; full- or patch-wise) for feeding to a neural network. | ||
The output of the neural network is then assembled back to the original format before extraction, if necessary. | ||
The evaluation package provides both evaluation routines as well as metrics to assess predictions against references. | ||
Evaluation can be used both for stand-alone result calculation and reporting, and for monitoring of the training progress. | ||
Further, pymia provides some basic image filtering and manipulation functionality ([`pymia.filtering` package](https://pymia.readthedocs.io/en/latest/pymia.filtering.html)). | ||
We recommend following our [examples](https://pymia.readthedocs.io/en/latest/examples.html). | ||
|
||
The following figure depicts pymia in the deep learning environment. The data package allows to create a dataset from raw data. | ||
Extraction of the data from this dataset is possible in nearly every desired format (2-D, 3-D; full- or patch-wise) for feeding to a neural network. | ||
The prediction of the neural network can, if necessary, be assembled back to the format before extraction. | ||
The evaluation package allows to evaluate predictions against references using a vast amount of metrics. It can be used stand-alone (solid) or for performance monitoring during training (dashed). | ||
|
||
<img src="https://raw.githubusercontent.com/rundherum/pymia/master/docs/images/fig-overview.png" alt="The pymia package in the deep learning environment"> | ||
|
||
Getting Started | ||
--------------- | ||
|
||
If you are new to pymia, here are a few guides to get you up to speed right away: | ||
|
||
- [Installation](https://pymia.readthedocs.io/en/latest/installation.html) for installation instructions - or simply run `pip install pymia` | ||
- [Examples](https://pymia.readthedocs.io/en/latest/examples.html) give you an overview of pymia's intended use. Jupyter notebooks and Python scripts are available in the directory [./examples](https://github.com/rundherum/pymia/tree/master/examples/). | ||
- [Do you want to contribute?](https://pymia.readthedocs.io/en/latest/contribution.html) | ||
- [Change history](https://pymia.readthedocs.io/en/latest/history.html) | ||
- [Acknowledgments](https://pymia.readthedocs.io/en/latest/acknowledgment.html) | ||
|
||
Citation | ||
-------- | ||
If you use pymia for your research, please acknowledge it accordingly by citing our paper: | ||
|
||
[Jungo, A., Scheidegger, O., Reyes, M., & Balsiger, F. (2021). pymia: A Python package for data handling and evaluation in deep learning-based medical image analysis. Computer Methods and Programs in Biomedicine, 198, 105796.](https://doi.org/10.1016/j.cmpb.2020.105796) | ||
|
||
BibTeX entry: | ||
|
||
@article{Jungo2021a, | ||
author = {Jungo, Alain and Scheidegger, Olivier and Reyes, Mauricio and Balsiger, Fabian}, | ||
doi = {10.1016/j.cmpb.2020.105796}, | ||
issn = {01692607}, | ||
journal = {Computer Methods and Programs in Biomedicine}, | ||
pages = {105796}, | ||
title = {{pymia: A Python package for data handling and evaluation in deep learning-based medical image analysis}}, | ||
volume = {198}, | ||
year = {2021}, | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# packages needed for building on readthedocs.io | ||
|
||
sphinx >= 3.2.1 | ||
nbsphinx >= 0.7.1 | ||
sphinx-copybutton >= 0.2.12 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.