TomographicImaging / CIL

A versatile python framework for tomographic imaging
https://tomographicimaging.github.io/CIL/
Apache License 2.0
94 stars 41 forks source link

Update doc comments, typehinting, and code structure #1683

Open WYVERN2742 opened 7 months ago

WYVERN2742 commented 7 months ago

As part of the software sustainability hackathon, efforts are ongoing to make CIL easier to use for users and developers.

This issue is focused on improving the python code documentation with Numpy-style docstrings, modern python typehinting, and following a standard format for class structure.

'Standards' followed:

There are still ongoing talks for enforcing a code style with a formatter, as such this issue ignores code style, and focuses on class order and doc comments.

Note: this change doesn't include functional changes that have been discussed:


Progress:

cil/

WYVERN2742 commented 7 months ago

Note: This does depend on #1686 to be merged, and then another pass to ensure typing compatabillity across CIL to finally pass static checkers