Repository navigation
Tags
Tags
Bump version: 0.2.0 -> 0.3.0 In this release, mostly small things have been polished for consistency. In addition, the transforms functions have gained some added functionality to easily move and scale things over time. - All geometry classes implement `len()`, which returns the number of steps in the geometry. - Convenience methods `Transform.transform_vec` and `Transform.transform_point` - `ts.svg()`: Render geometries to an animated SVG (no dependencies required(!)). - `ts.svg()`: Added progress bar. - `ts.svg()`: Optionally show z,y,x-axes in top-left corner with `show_axes=True`. - `ts.reflect()`: Add reflection geometrical transform. - `ts.from_perspective()` / `ts.to_perspective()`: Add `ignore_scale` parameter, which is `True` by default. - `ts.scale()`: Add alpha parameter so that object can easily be scaled in certain directions over time. - `ts.translate()`: Add alpha parameter so that object can easily be translated along a certain axis over time. - `ts.svg()`: Remove `base64` keyword parameter. This functionality has been moved to the `_repr_markdown_` method. - `ts.rotate()`: Disallow passing `pos` and `axis` by position. All parameters are now keyword-only. - `ts.rotate()`: Deprecate `rad` and `deg` parameters in favor of `angles`. This makes `ts.rotate` more consistent with `ts.parallel()`, etc. - `ts.from_perspective()` / `ts.to_perspective()`: All parameters are now keyword-only. - `ts.from_perspective()` / `ts.to_perspective()`: The `box` parameter has been renamed to `vol`. - `.to_box()`: Rename the `.to_box()` method on projection geometries to `.to_vol()`.
Bump version: 0.0.1 -> 0.2.0 V0.2.0 is a major release. It introduces two features that define tomosipo in its current form: 1. Geometric transformations such as rotation, translation, and scaling are introduced. They can be composed and applied to all supported geometries. 2. Automatic linking of arrays, both for NumPy arrays and arrays on the GPU. This enables a paradigm shift in programming for ASTRA in Python, because it is no longer necessary to create `astra.data3d` objects. This greatly simplifies coding and makes the whole experience of using ASTRA considerably more pleasant. - Support for parallel geometries (both parameterized and vector geometries) - Volume vector geometry: this is a non-axis aligned version of the standard ASTRA volume geometry and replaces the Box object. - PyTorch support - CuPy support - `tomosipo.qt.animate`: inline videos of geometries in Jupyter notebooks, which can also be saved to disk in `.mp4` format. - Support for import ODL geometries - `ts.operator`: this creates a wrapper for an ASTRA projector and can forward project arbitrary arrays. *Note:* This function might be renamed to `ts.projector`. - `ts.to_astra` and `ts.from_astra`: generic conversion functions that convert geometry objects to and from their ASTRA representation. - Almost all APIs have been changed in some way or form. I will be more careful going forward. - Moved from unittest to pytest framework for testing.