Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final Documentation Pull Request #155 #158

Merged
merged 35 commits into from
Jan 5, 2024
Merged

Conversation

chaithyagr
Copy link
Contributor

This the final documentation improvement PR.
All documentation improvement should start from the documentation branch, and target it in their PR.
When everything will be correct for the documentation, we will merge this into develop.

Zaineb AMOR and others added 29 commits March 20, 2022 19:48
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Minor typo

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Minor fix

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Minor fix

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Clean documentation on gradient operators
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Final Documentation Pull Request
@chaithyagr chaithyagr requested a review from paquiteau June 30, 2022 09:36
Copy link
Contributor

@paquiteau paquiteau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but the test are failing. from What I have seen there is no change in the active code in this PR, so the problem might goes deeper than that.

@chaithyagr
Copy link
Contributor Author

Ill merge this once green!

@chaithyagr chaithyagr merged commit e392d6c into develop Jan 5, 2024
0 of 4 checks passed
@chaithyagr chaithyagr deleted the documentation_PRs branch January 5, 2024 09:24
chaithyagr added a commit that referenced this pull request Jan 19, 2024
* revised documentation of Cartesian Fourier operators

* run isort to optimize imports

* Base operator docstring

* Use f-string and clean code

* rename coefs to coeffs

* format docstrings

* [typo] Use american learned.

* add dtype option for gradient.

* [test] add pydocstyle to CI

* Use FourierOperatorBase class.

* use the uses_sense property

* single Channel reconstruction can also be used for SENSE.

* add shape and n_coils

* fix import

* last check function removing

* add docstring

* uses sense check for Gradient operator.

* cleanup doc and add ref

* cast to builtin int 

Make the condition pass if `n_coil` is a custom integer type (eg np.int64)

* inherit from OperatorBase

* remove redundant declaration of op/adj_op method.

* pass extra gradient args to parentclass.

This allow to setup deeper parameters, such as input_data_writeable.

* add auto threshold operator.

* fix deprecated dtype (error with numpy 1.24)

* fix bugs.

* add auto sure example.

* rework of the eestimation function.

* cleaning.

* remove level-shared method.

* add thresh range argument.

* someone left a bug here.

* refactor: externalize the computation of wavelet threshold.

* improve docstrings.

* use elif blocks.

* s/level/scale/g

* improve auto-threshold example.

* update docstring parameters.

* add import in init modules.

* Cartesian-> cartesian

* coeffs_shape

* Fix typo

* feat: update the example for auto_threshold.

* Final Documentation Pull Request #155  (#158)

* documentation reconstructors

* Revised the documentation on non-uniform Fourier operators

* Clean documentation on gradient operators

* Update mri/operators/fourier/cartesian.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

Comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

Minor typo

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

Minor fix

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

Minor fix

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

* Update mri/operators/fourier/non_cartesian.py

* Update mri/operators/fourier/non_cartesian.py

* Update mri/operators/fourier/non_cartesian.py

* Update mri/reconstructors/base.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/reconstructors/base.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/reconstructors/base.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/reconstructors/base.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* [doc] s/: np\./: numpy\./g

* [doc] s/""" /"""/g

* [doc][fourier] Constructor parameters in class docstring

* [doc] s/: ndarray/: numpy.ndarray/g

---------

Co-authored-by: Zaineb AMOR <za263788@is243416.intra.cea.fr>
Co-authored-by: Philippe Ciuciu <philippe.ciuciu@gmail.com>
Co-authored-by: Guillaume DAVAL FREROT <gd263577@is241300.intra.cea.fr>
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Co-authored-by: Daval-G <guillaume.daval-frerot@epita.fr>
Co-authored-by: Pierre-antoine Comby <pierre-antoine.comby@crans.org>

* Update versioning

* Updated codes

* Fix one example

* Cartesian recon

* Fix Density comp

* Added density compensation and gpunufft stuff

* refactored all examples

* Fix GL

* Update setup.py

* Update setup.py

* Update setup.py

* Fix density compensation comparison module

* Added density compensation module

* Create gpu_requirements

* Rename gpu_requirements to gpu_requirements.txt

* Update README.txt

* Update gpu_requirements.txt

* Update gpu_requirements.txt

* Update setup.py

* Added auto tuto

* Final large iteration

* Move back to GPU for speed

* Minor bug fix

* Checking done

* fix versioning

* remove

* Fix auto thresh

* Fix grid search

* Update modopt

---------

Co-authored-by: Philippe Ciuciu <philippe.ciuciu@gmail.com>
Co-authored-by: Pierre-antoine Comby <pierre-antoine.comby@crans.org>
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Co-authored-by: Daval-G <guillaume.daval-frerot@epita.fr>
Co-authored-by: Zaineb AMOR <za263788@is243416.intra.cea.fr>
Co-authored-by: Guillaume DAVAL FREROT <gd263577@is241300.intra.cea.fr>
Co-authored-by: GILIYAR RADHAKRISHNA Chaithya <cg260486@is247382.intra.cea.fr>
chaithyagr added a commit that referenced this pull request Jan 19, 2024
* revised documentation of Cartesian Fourier operators

* run isort to optimize imports

* Base operator docstring

* Use f-string and clean code

* rename coefs to coeffs

* format docstrings

* [typo] Use american learned.

* add dtype option for gradient.

* [test] add pydocstyle to CI

* Use FourierOperatorBase class.

* use the uses_sense property

* single Channel reconstruction can also be used for SENSE.

* add shape and n_coils

* fix import

* last check function removing

* add docstring

* uses sense check for Gradient operator.

* cleanup doc and add ref

* cast to builtin int 

Make the condition pass if `n_coil` is a custom integer type (eg np.int64)

* inherit from OperatorBase

* remove redundant declaration of op/adj_op method.

* pass extra gradient args to parentclass.

This allow to setup deeper parameters, such as input_data_writeable.

* add auto threshold operator.

* fix deprecated dtype (error with numpy 1.24)

* fix bugs.

* add auto sure example.

* rework of the eestimation function.

* cleaning.

* remove level-shared method.

* add thresh range argument.

* someone left a bug here.

* refactor: externalize the computation of wavelet threshold.

* improve docstrings.

* use elif blocks.

* s/level/scale/g

* improve auto-threshold example.

* update docstring parameters.

* add import in init modules.

* Cartesian-> cartesian

* coeffs_shape

* Fix typo

* feat: update the example for auto_threshold.

* Final Documentation Pull Request #155  (#158)

* documentation reconstructors

* Revised the documentation on non-uniform Fourier operators

* Clean documentation on gradient operators

* Update mri/operators/fourier/cartesian.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

Comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

comply to the pydocstyle guidelines

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

Minor typo

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

Minor fix

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/cartesian.py

Minor fix

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/operators/fourier/non_cartesian.py

* Update mri/operators/fourier/non_cartesian.py

* Update mri/operators/fourier/non_cartesian.py

* Update mri/operators/fourier/non_cartesian.py

* Update mri/reconstructors/base.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/reconstructors/base.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/reconstructors/base.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* Update mri/reconstructors/base.py

Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>

* [doc] s/: np\./: numpy\./g

* [doc] s/""" /"""/g

* [doc][fourier] Constructor parameters in class docstring

* [doc] s/: ndarray/: numpy.ndarray/g

---------

Co-authored-by: Zaineb AMOR <za263788@is243416.intra.cea.fr>
Co-authored-by: Philippe Ciuciu <philippe.ciuciu@gmail.com>
Co-authored-by: Guillaume DAVAL FREROT <gd263577@is241300.intra.cea.fr>
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Co-authored-by: Daval-G <guillaume.daval-frerot@epita.fr>
Co-authored-by: Pierre-antoine Comby <pierre-antoine.comby@crans.org>

* Update versioning

* Updated codes

* Fix one example

* Cartesian recon

* Fix Density comp

* Added density compensation and gpunufft stuff

* refactored all examples

* Fix GL

* Update setup.py

* Update setup.py

* Update setup.py

* Fix density compensation comparison module

* Added density compensation module

* Create gpu_requirements

* Rename gpu_requirements to gpu_requirements.txt

* Update README.txt

* Update gpu_requirements.txt

* Update gpu_requirements.txt

* Update setup.py

* Added auto tuto

* Final large iteration

* Move back to GPU for speed

* Minor bug fix

* Checking done

* fix versioning

* remove

* Fix auto thresh

* Fix grid search

* Update modopt

---------

Co-authored-by: Philippe Ciuciu <philippe.ciuciu@gmail.com>
Co-authored-by: Pierre-antoine Comby <pierre-antoine.comby@crans.org>
Co-authored-by: Pierre-Antoine Comby <77174042+paquiteau@users.noreply.github.com>
Co-authored-by: Daval-G <guillaume.daval-frerot@epita.fr>
Co-authored-by: Zaineb AMOR <za263788@is243416.intra.cea.fr>
Co-authored-by: Guillaume DAVAL FREROT <gd263577@is241300.intra.cea.fr>
Co-authored-by: GILIYAR RADHAKRISHNA Chaithya <cg260486@is247382.intra.cea.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants