diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-06-14 13:45:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-14 13:45:59 +0100 |
commit | 8ef0e4372624b4a19a7ad69626949760b938eb99 (patch) | |
tree | 2cf6e46c707e05ee1280eea092dd03e1f8ffe8e6 /README.md | |
parent | d108cd7e9652992001a116347941eda7e75b3301 (diff) | |
parent | 33140f96f2482701f044f1de65f9dfcc48a1a7f5 (diff) | |
download | framework-8ef0e4372624b4a19a7ad69626949760b938eb99.tar.gz framework-8ef0e4372624b4a19a7ad69626949760b938eb99.tar.bz2 framework-8ef0e4372624b4a19a7ad69626949760b938eb99.tar.xz framework-8ef0e4372624b4a19a7ad69626949760b938eb99.zip |
Merge pull request #207 from vais-ral/composite_operator_datacontainer
Block operator and datacontainer
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -16,6 +16,7 @@ Some concepts are so much overlapping with the CCPPETMR project that we have cho This package consists of the following Python modules: 1. `ccpi.framework` 2. `ccpi.optimisation` +3. `ccpi.io` ### `ccpi.framework` @@ -25,6 +26,7 @@ In `ccpi.framework` we define a number of common classes normally used in tomogr * `DataSetProcessor` * `ImageData` * `AcquisitionData` + * `BlockDataContainer` #### `DataContainer` Generic class to hold data. Currently the data is currently held in a numpy arrays, but we are currently planning to create a `GPUDataContainer` and `BoostDataContainer` which will hold the data in an array on GPU or in a boost multidimensional array respectively. @@ -79,9 +81,9 @@ In `ccpi.framework` we define a number of common classes normally used in tomogr Fixed parameters can be passed in during the creation of the `function` object. The methods of the `function` reflect the properties of it, for example, if the function represented is differentiable - the `function` should contain a method `grad` which should return the gradient of the function evaluated at + the `function` should contain a method `gradient` which should return the gradient of the function evaluated at an input point. If the function is not differentiable but allows a simple proximal operator, the method - `prox` should return the proxial operator evaluated at an input point. The function value + `proximal` should return the proxial operator evaluated at an input point. The function value is evaluated by calling the function itself, e.g. `f(x)` for a `function` `f` and input point `x`. @@ -91,7 +93,7 @@ In `ccpi.framework` we define a number of common classes normally used in tomogr is designed for a particular generic optimisation problem accepts and number of `Function`s and/or `Operator`s as input to define a specific instance of the generic optimisation problem to be solved. - They are iterable objects which can be run in a `for` loop. The user can provide a stopping cryterion different than the default max_iteration. + They are iterable objects which can be run in a `for` loop. The user can provide a stopping criterion different than the default max_iteration. `Algorithm`s provide a courtesy method `run(number_of_iterations, verbose)` which allows the user to easily run a `number_of_iterations` and receive a print to screen. New algorithms can be easily created by extending the `Algorithm` class. The user is required to implement only 4 methods: `set_up`, `__init__`, `update` and `update_objective`. |