Hannah Robarts
Hannah Robarts
## Description Add tests to check if processors work in place. Check if processors give the same result when: - Getting results directly with return ``` processor.set_input(data) out = processor.get_output()...
## Changes Use `zenodo_get` for the data download and validation ## Testing you performed Updated download_data tests - Mock zip file when `zenodo_get` is called - Create the mock zip...
## Changes Add Paganin phase retrieval methods based on the description in https://onlinelibrary.wiley.com/doi/10.1046/j.1365-2818.2002.01010.x The phase retrieval can be applied using ``` processor = PaganinProcessor(delta, beta, energy) processor.set_input(data) thickness = processor.get_output()...
## Description New FluxNormaliser processor to normalise data - [x] to a float value - [x] to an array of floats with size matching the - [x] to the mean...
## Description FBP plugins can have an out argument. Need to add similar checks to https://github.com/TomographicImaging/CIL/issues/1669 - FBP_Flexible - cil/plugins/tigre/FBP.py - cil/plugins/astra/processors/FBP.py
## Description Astra projector plugins can have an out argument. Need to add similar checks to https://github.com/TomographicImaging/CIL/issues/1669 - AstraBackProjector2D - AstraBackProjector3D - AstraForwardProjector2D - AstraForwardProjector3D
## Changes Make Binner accept accelerated=False, the numpy rather than the accelerated version ## Testing you performed Added a non-default init test in class TestBinner.test_set_up_processor ## Related issues/links #1886 ##...
## Description Binner always runs with the accelerated backend even if the accelerated argument is False https://github.com/TomographicImaging/CIL/blob/eb254e0bae77e193f05acc03b6e94cd1c189e4ab/Wrappers/Python/cil/processors/Binner.py#L91-L98 ## Environment ```python import cil, sys print(cil.version.version, cil.version.commit_hash, sys.version, sys.platform) ``` 24.1.1.dev11+geb254e0b.d20240809 geb254e0b...
## Description In test_PluginsRegularisation.py the test `test_FGP_TGV_rmul` is defined twice so the first one isn't executed. If we change the name it fails because `FGP_TGV` doesn't exist in cil/plugins/ccpi_regularisation/functions/regularisers.py https://github.com/TomographicImaging/CIL/blob/7358cf098856d31e849ebc863b9be35f75fe999a/Wrappers/Python/test/test_PluginsRegularisation.py#L77-L88...
## Description It would be useful to have a processor that can normalise by flux either by a constant value, array of values or a region of interest.