-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
undefined
- Loading branch information
Showing
19 changed files
with
152 additions
and
100 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
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 |
---|---|---|
|
@@ -41,5 +41,5 @@ jobs: | |
micromamba list | ||
- name: Run tests | ||
run: | | ||
run: | | ||
pytest tests/ |
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,34 @@ | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 23.12.1 | ||
hooks: | ||
- id: black | ||
language_version: python3 | ||
exclude: ^docs/source/examples/ | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: trailing-whitespace # This hook trims trailing whitespace. | ||
- id: check-docstring-first # Checks a common error of defining a docstring after code. | ||
- id: check-merge-conflict # Check for files that contain merge conflict strings. | ||
- id: check-yaml # This hook checks yaml files for parseable syntax. | ||
- id: detect-private-key # Detects the presence of private keys. | ||
- id: check-symlinks | ||
- id: check-toml | ||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.10.0 | ||
hooks: | ||
- id: python-use-type-annotations | ||
- repo: https://github.com/kynan/nbstripout | ||
rev: 0.6.1 | ||
hooks: | ||
- id: nbstripout | ||
exclude: ^docs/source/examples/ | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: 1.16.0 | ||
hooks: | ||
- id: blacken-docs | ||
- repo: https://github.com/nbQA-dev/nbQA | ||
rev: 1.7.1 | ||
hooks: | ||
- id: nbqa-black |
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 |
---|---|---|
|
@@ -2,17 +2,17 @@ HTTomolibGPU is a library of GPU accelerated methods for tomography | |
-------------------------------------------------------------------- | ||
|
||
**HTTomolibGPU** is a collection of image processing methods in Python for computed tomography. | ||
The methods are GPU-accelerated with the open-source Python library `CuPy <https://cupy.dev/>`_. Most of the | ||
The methods are GPU-accelerated with the open-source Python library `CuPy <https://cupy.dev/>`_. Most of the | ||
methods migrated from `TomoPy <https://tomopy.readthedocs.io/en/stable/>`_ and `Savu <https://savu.readthedocs.io/en/latest/>`_ software packages. | ||
Some of the methods also have been optimised to ensure higher computational efficiency, before ported to CuPy. | ||
|
||
The purpose of HTTomolibGPU | ||
=========================== | ||
|
||
**HTTomolibGPU** can be used as a stand-alone library, see Examples section in `Documentation <https://diamondlightsource.github.io/httomolibgpu/>`_. | ||
However, it has been specifically developed to work together with the `HTTomo <https://diamondlightsource.github.io/httomo/>`_ package as | ||
its backend for data processing. HTTomo is a user interface (UI) written in Python for fast big tomographic data processing using | ||
MPI protocols. | ||
**HTTomolibGPU** can be used as a stand-alone library, see Examples section in `Documentation <https://diamondlightsource.github.io/httomolibgpu/>`_. | ||
However, it has been specifically developed to work together with the `HTTomo <https://diamondlightsource.github.io/httomo/>`_ package as | ||
its backend for data processing. HTTomo is a user interface (UI) written in Python for fast big tomographic data processing using | ||
MPI protocols. | ||
|
||
Install HTTomolibGPU as a pre-built conda Python package | ||
========================================================= | ||
|
@@ -28,7 +28,7 @@ Setup the development environment: | |
================================== | ||
|
||
.. code-block:: console | ||
$ git clone [email protected]:DiamondLightSource/httomolibgpu.git # clone the repo | ||
$ conda env create --name httomolibgpu --file conda/environment.yml # install dependencies | ||
$ conda activate httomolibgpu # activate the environment | ||
|
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
Large diffs are not rendered by default.
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
Large diffs are not rendered by default.
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
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
Oops, something went wrong.