| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from savu.plugins.plugin_tools import PluginTools |
||
| 2 | |||
| 3 | class PhaseUnwrappingTools(PluginTools): |
||
| 4 | """A plugin to unwrap a phase-image retrieved by another phase retrieval |
||
| 5 | method (e.g. ptychography). Note that values of the input have to be |
||
| 6 | in the range of [-pi; pi]""" |
||
| 7 | |||
| 8 | def define_parameters(self): |
||
| 9 | """ |
||
| 10 | n_iterations: |
||
| 11 | visibility: basic |
||
| 12 | dtype: int |
||
| 13 | description: Number of iterations to perform. |
||
| 14 | default: 4 |
||
| 15 | |||
| 16 | pattern: |
||
| 17 | visibility: basic |
||
| 18 | dtype: str |
||
| 19 | description: Data processing pattern. |
||
| 20 | options: [PROJECTION, SINOGRAM] |
||
| 21 | default: PROJECTION |
||
| 22 | """ |
||
| 23 | |||
| 24 | def citation(self): |
||
| 25 | """ |
||
| 26 | The code is the implementation of the work taken from the following paper. |
||
| 59 |