Skip to content

Commit

Permalink
Merge branch 'main' into paper
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdaniel654 committed Dec 2, 2024
2 parents 18446cc + 0068f85 commit 1e3e622
Show file tree
Hide file tree
Showing 13 changed files with 695 additions and 834 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches: [ main, dev ]

jobs:
build:
ci:

runs-on: ${{ matrix.os }}
strategy:
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## [0.0.3] - 2024-12-02

### Added
* 3DQLayers is now on conda-forge
* Cortical thickness calculations can now produce an uncertainty estimate
* Citation information has been added to the README

### Changed
* Smaller pelvis' can now be found #6
* Updated the tutorial/example notebooks

## [0.0.2] - 2024-07-10

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ authors:
given-names: "Susan T"
orcid: "https://orcid.org/0000-0003-0903-7507"
title: "QLayers"
version: 0.0.2
date-released: 2024-07-10
version: 0.0.3
date-released: 2024-12-02
url: "https://github.com/alexdaniel654/qlayers"
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
[![codecov](https://codecov.io/gh/alexdaniel654/qlayers/graph/badge.svg?token=06FRSZ02SJ)](https://codecov.io/gh/alexdaniel654/qlayers)
[![Documentation Status](https://readthedocs.org/projects/qlayers/badge/?version=latest)](https://qlayers.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/qlayers.svg)](https://badge.fury.io/py/qlayers)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/qlayers/badges/version.svg)](https://anaconda.org/conda-forge/qlayers)
[![Downloads](https://static.pepy.tech/badge/qlayers)](https://pepy.tech/project/qlayers)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/qlayers/badges/downloads.svg)](https://anaconda.org/conda-forge/qlayers)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.12707173.svg)](https://doi.org/10.5281/zenodo.12707173)

Expand All @@ -20,6 +22,12 @@ The easiest way to install `qlayers`is via `pip`:
pip install qlayers
```

or if you're a `conda` user:

```bash
conda install qlayers -c conda-forge
```

Alternatively, you can install `qlayers`from source in pips editable mode:

```bash
Expand All @@ -30,8 +38,8 @@ pip install -e .

## Quick Start

For a more thorough example of how to use `qlayers` see the example notebook,
however if you want to get started, the snippet of code below should get you going.
For a more thorough example of how to use `qlayers` see the tutorials section of this reposetry/documentation, however if
you want to get started, the snippet of code below should get you going.

```python
import nibabel as nib
Expand All @@ -49,7 +57,9 @@ df.groupby("layer").median().loc[:, "t2star"].plot(
)
```

<p align="center">
<img src="https://raw.githubusercontent.com/alexdaniel654/qlayers/main/images/example_t2star_profile.png" height="360">
</p>

## Theory

Expand All @@ -65,8 +75,9 @@ a 3D mask and apply the layer to any quantitative parameter.
### Generating Layers

Layers are generated via the process outlined in the figure below.

<p align="center">
<img src="https://raw.githubusercontent.com/alexdaniel654/qlayers/main/images/flowchart.png" width="50%">
</p>

a i. Shows the mask thats input to the `QLayers` class. This mask then has any holes smaller than `fill_ml` filled as these are
most likely cysts
Expand Down Expand Up @@ -100,3 +111,15 @@ voxels are shown in the table below.
| 6.66 | 7 | 49.2 | 20.3 |
| 19.8 | 20 | 42.8 | 23.3 |
| 12.1 | 13 | 39.4 | 25.4 |

## Citing 3DQLayers

If you have used 3DQLayers in your research, please cite the following conference abstract:

[Daniel AJ, Francis ST. Volumetric Layer Based Analysis for Quantitative Renal MRI. In: Proc. Intl. Soc. Mag. Reson. Med. 33. Singapore; 2024:2748.](https://www.researchgate.net/publication/380534128_Volumetric_Layer_Based_Analysis_for_Quantitative_Renal_MRI)

Alternatively, if you want to cite a specific version of this software, each release has an individual DOI on Zenodo, the
DOI for the latest release can be [found here](https://zenodo.org/doi/10.5281/zenodo.12707172).

## Contributing
Feel free to open a pull request if you have a feature you want to develop or drop me [an email](mailto:[email protected]?subject=3DQLayers) to discuss things further.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
project = '3DQLayers'
copyright = f'{datetime.now().year}, Alexander J Daniel'
author = 'Alexander J Daniel'
release = 'v0.0.2'
release = 'v0.0.3'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand All @@ -45,7 +45,7 @@
html_static_path = ['_static']
html_context = {
"sidebar_external_links_caption": "Links",
"sidebar_external_links" : [
"sidebar_external_links": [
(
'<i class="fa fa-github fa-fw"></i> Source Code',
"https://github.com/alexdaniel654/qlayers",
Expand Down
Loading

0 comments on commit 1e3e622

Please sign in to comment.