Skip to content

Remove unambiguous complex assertions (#194)#195

Merged
georgeyiasemis merged 1 commit intocode-qualityfrom
main
Apr 8, 2022
Merged

Remove unambiguous complex assertions (#194)#195
georgeyiasemis merged 1 commit intocode-qualityfrom
main

Conversation

@georgeyiasemis
Copy link
Copy Markdown
Contributor

  • assert_complex(shape, complex_last) --> assert_complex(shape, complex_axis, complex_last=None)
  • modulus_if_complex removed
  • modulus need to specify axis
  • MRIModelEngine cropper expect the modulus of predicted data

* `assert_complex(shape, complex_last)` --> `assert_complex(shape, complex_axis, complex_last=None)`
* `modulus_if_complex` removed
* `modulus` need to specify axis
* `MRIModelEngine` cropper expect the modulus of predicted data
@georgeyiasemis georgeyiasemis merged commit 9b1fd36 into code-quality Apr 8, 2022
@github-actions github-actions bot added the python label Apr 8, 2022
jonasteuwen pushed a commit that referenced this pull request Apr 19, 2022
* Remove  unambiguous complex assertions (#194) (#195)
* Improve typing
* `modulus_if_complex` removed, `modulus` needs to specify axis.
* `modulus` need to specify axis
* Improve documentation and `README.rst`
* Added tests
* Add end-to-end tests
* Several bug fixes

Co-authored-by: George Yiasemis <georgeyiasemis.hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant