Skip to content

Commit

Permalink
Merge branch 'main' into separate_nufft_op
Browse files Browse the repository at this point in the history
  • Loading branch information
ckolbPTB authored Jan 22, 2025
2 parents 8ae651c + 32da2d7 commit 06a7d91
Show file tree
Hide file tree
Showing 120 changed files with 6,087 additions and 3,679 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,4 @@ cython_debug/
*~
*.swp
*.swo

12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ repos:
hooks:
- id: check-added-large-files
- id: check-merge-conflict
exclude_types: [rst]
- id: check-yaml
- id: check-toml
- id: check-json
Expand Down Expand Up @@ -63,11 +64,22 @@ repos:
"colab": {"gpuType": "T4","provenance": []},
"kernelspec": {"display_name": "Python 3 (ipykernel)","language": "python","name": "python3"}
}'
--opt cell_metadata_filter=mystnb,tags,-all
always_run: true
pass_filenames: true
files: ^examples/scripts/.*py
types_or: [python]

- repo: https://github.com/kynan/nbstripout
rev: 0.8.0
hooks:
# cleans the .ipynbs (removes outputs, resets all cell-ids to 0..N, cleans steps)
# also clean any kernel information left after execution
- id: nbstripout
name: clean .ipynb output
args: [--extra-keys, "metadata.language_info"]
files: examples/notebooks

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
hooks:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MR image reconstruction and processing package specifically developed for PyTorc

## Awards

- 2024 ISMRM QMRI Study Group Challenge, 2nd prize for Relaxometry (T2* and T1)
- 2024 ISMRM QMRI Study Group Challenge, 2nd prize for Relaxometry ([T2*](https://github.com/PTB-MR/mrpro/blob/8d2133c4a7ce63ac490798c4eb5a70cc1c543646/examples/qmri_sg_challenge_2024_t2_star.ipynb) and [T1](https://github.com/PTB-MR/mrpro/blob/8d2133c4a7ce63ac490798c4eb5a70cc1c543646/examples/qmri_sg_challenge_2024_t1.ipynb))

## Main features

Expand Down
11 changes: 11 additions & 0 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ html {
.wy-nav-content {
max-width: 75% !important;
}

/* new line after each property */
dl.py.property {
display: block !important;
}

/* example notebooks outputs */
.output>.highlight {
background: #efefef !important;
color: inherit !important;
}
Binary file removed docs/source/_static/encoded_recon_space.png
Binary file not shown.
191 changes: 191 additions & 0 deletions docs/source/_static/encoded_recon_space.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 108 additions & 0 deletions docs/source/_static/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 10 additions & 26 deletions docs/source/_static/logo_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions docs/source/_templates/class_template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

.. autoclass:: {{ objname }}
:members:
:special-members: '__init__, __call__, __matmul__, __add__, __mul__, __or__, __and__, __radd__, __rmul__, __rmatmul__, __ror__, __rand__, __truediv__, __eq__, __pow__'
:inherited-members: Module
:show-inheritance:

{% block methods %}
.. automethod:: __init__
{% endblock %}

48 changes: 6 additions & 42 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,21 @@ API
===

This is the MRpro Application Programming Interface (API) documentation.
It is designed to assist developers and researchers in understanding and utilizing the core functionalities of MRpro effectively.
Each module includes detailed descriptions and function signatures to guide you through their usage.
This documentation is generated from the docstrings, which are also available in your IDE.

MRpro Algorithms
----------------
Navigate through the sections below for more information about each module and its capabilities.

.. autosummary::
:toctree: _autosummary
:template: module_template.rst
:recursive:

mrpro.algorithms


MRpro Data
----------

.. autosummary::
:toctree: _autosummary
:template: module_template.rst
:recursive:

mrpro.algorithms
mrpro.data


MRpro Operators
---------------

.. autosummary::
:toctree: _autosummary
:template: module_template.rst
:recursive:

mrpro.operators


MRpro Phantoms
--------------

.. autosummary::
:toctree: _autosummary
:template: module_template.rst
:recursive:

mrpro.phantoms


MRpro Utilities
---------------

.. autosummary::
:toctree: _autosummary
:template: module_template.rst
:recursive:

mrpro.utils

Loading

0 comments on commit 06a7d91

Please sign in to comment.