pyxu-org / pyxu

Modular and scalable computational imaging in Python with GPU/out-of-core computing.
https://pyxu-org.github.io/
MIT License
117 stars 17 forks source link

V2 dev trimop #39

Closed joanrue closed 1 year ago

joanrue commented 1 year ago

Add trimming operator

SepandKashani commented 1 year ago

TrimOp implements a subset of SubSample. Given their similarity, and the better performance of the latter for methods beyond just apply/adjoint(), I have refactored TrimOp to piggy-back onto SubSample. This PR is hence accepted.