summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Function m (#482)Edoardo Pasca2020-01-1551-995/+2072
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix func style * update pnorm not quite right * add test for SumFunction * passed test for SumFunction * passed test for SumFunction * passed test for SumFunction * rename Norm2Sq to LeastSquares * rename Norm2Sq to LeastSquares * delete files and move to Function.py * fix accuracy convex conjugate * comment proximal conjugate, have generic expression * remove some imports * remove imports and comment gradient, proximal conjugate , rmul * remove imports and comment prox conj * fix init * fix out gradient * fix init * SumFunction full test * rename Norm2Sq * rename Norm2Sq * change kwargs in KL, not ready yet * change def of KL cases * change kwargs in KL, not ready yet * LinearOperatorMatrix FISTA cvx is not working * change name in KL * minor fix * BlockDataContainer should give a geometry when shape is the same * change convex conj when we have BDC * remove space * fix out for prox * rename x to b * add SumFunctionScalar test * fix convex conj of constant * fix convex conj of constant * minor fix * fix con conj * add new tests * KL not ready yet * add docs, not ready yet * fix documentation * fix docs * fix doc scaled function * fix doc translate function * fix modules path for documentation * minor doc fix * fix doc prox conj for KL * fix vector geometry in vectordata * fix direct/adjpint LinearOperator * add test LinearOperatorMatrix * fix doc and check methods for functionOperaCom * add new test for FunctionOperCom with LinearOperMatr * get vector geometry in vector data * minor changes and docs * fix docs * check Lips cons * rename Norm2Sq to LeastSquares for docs * fix KL, docs, background term, conve conj * add KL test * fix KL * minor fix doc * add back prox conj work with smoothTV * smooth TV not ready yet * add prox conj back * minor change * no change * fixing docs, not ready yet * uncomment prox_conj for ScaledFunction * fix doc for BlockFunction * add smoothTV not ready yet * no change * fix doc and uncomment prox conj * remove unicode literals * sphnix is a nightmare * fixing ADMM * remove conv conj, prox, prox conj from smooth TV * merge edo's docs * fix docs for L2Norm after edo's PR * fix docs * remove ADMM * add docs for Function module * remove unicode_literals from future imports https://stackoverflow.com/questions/7602171/unicode-error-unicodeescape-codec-cant-decode-bytes-string-with-u * remove ADMM * removed unicode literals from future imports * fix init for functions * remove main * add explcit KL prox conj, does not work with generic prox conj of function * add elif pass for vector geometry * fixes from comments on the PR * minor changes * fix mul in Function and Identity in TranslateFunction * remove from call * remove BlockGeometr from BDC * remove min, max * cleaned Function * add test for constant function * remove smooth mixed L21 Norm * fixed fill method and test of SumFunction * Functions dev (#479) * v19.10 docs (#467) updated docstrings and documentation * add Gemma in the authors * update docs * Installs with make install (#478) * closes #477 * install from build dir Co-authored-by: Vaggelis Papoutsellis <22398586+epapoutsellis@users.noreply.github.com>
* Installs with make install (#478)Edoardo Pasca2020-01-102-11/+16
| | | | | | * closes #477 * install from build dir
* add Gemma in the authorsEdoardo Pasca2020-01-071-0/+1
|
* v19.10 docs (#467)Edoardo Pasca2020-01-0637-187/+1022
| | | updated docstrings and documentation
* C lib (#458)Edoardo Pasca2019-12-0623-38/+1695
| | | | C library implemented with optimised axpy fucntions and gradient operator in c
* added default input to CentreOfRotationFinder set_slice. Added check on ↵Gemma Fardell2019-11-202-13/+16
| | | | value input. (#419)
* added armijo rule (#390)Edoardo Pasca2019-11-196-31/+254
| | | | | | | | | | | | | | | | | | | | | | | | * added armijo rule * added info and kwarg for alpha * updated Armijo rule * modified stop criterion to GD * added kmax to limit the while True loop * fix raise comment * change default stopping criterion * updated test * added Rosenbrock function and test Gradient descent on that * removed test code * added missing import
* moved plotting utilities from demos (#424)Edoardo Pasca2019-11-136-1/+516
| | | | | | | | | | | | * moved plotting utilities from demos * added plt.show() * add utilities package * removed print statement * added numpy import
* fix MixedL21Norm (#417)Vaggelis Papoutsellis2019-10-301-75/+87
| | | | | | | | * fix MixedL21Norm * merged master * re added future imports
* Indicator box to use as_array, for SIRF (#418)Edoardo Pasca2019-10-291-2/+2
|
* Bug fix: Input data change updates mtime (#416)Gemma Fardell2019-10-291-0/+3
|
* Block geometry (#415)Vaggelis Papoutsellis2019-10-291-4/+3
| | | | `BlockGeometry` passes `max_value` to `ImageGeometry` or `AcquisitionGeometry`
* CenterOfRotationFinder() fixes #406 fixes #400 (#414)Gemma Fardell2019-10-294-49/+153
| | | | | * closes #406 closes #400 * Processors check modification and run time before running process
* defines shape for a subset slice (#410)Edoardo Pasca2019-10-283-14/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | * defines shape for a subset slice closes #408 * fix subset for AcquisitionData * add future imports (#411) * override the dimension parameter, set angles to None by default (#412) * defines shape for a subset slice * fix subset for AcquisitionData * added initial unittest for subset * added .gitignore * adds unittest for subset, fix subset for AcquisitionData * reverted change of behaviour of as_array * removed empty line
* override the dimension parameter, set angles to None by default (#412)Edoardo Pasca2019-10-281-2/+11
|
* add future imports (#411)Edoardo Pasca2019-10-281-1/+3
|
* Pdhg last objective (#407)Edoardo Pasca2019-10-223-21/+33
| | | | | | | | | * save previous iteration at start of iteration * adds very_verbose to run method * modified test closes #396
* update Lipschitz constant (#404)Edoardo Pasca2019-10-181-1/+1
|
* closes #370 (#395)Edoardo Pasca2019-10-181-1/+1
| | | closes #370
* copy list compatible with python <3.3 (#399)Edoardo Pasca2019-10-181-2/+2
| | | closes #398
* Fix sym grad (#393)Vaggelis Papoutsellis2019-10-156-112/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix func style * fix symGrad * recover from master * fix L1 * fix L1 * Update KullbackLeibler.py * correct adjoint FD * fix symgrad * no change in adjoint FD * add comment on FD * added unittest * changed syntax for assert_almost_equal * split test of sym gradient * fixed test
* Run to run all iterations (#391)Edoardo Pasca2019-10-143-345/+352
| | | | | | | | | | * run to run all iterations possible * add test without specifying number of iterations to run * removed print closes #383
* Finite diff allocate (#389)Edoardo Pasca2019-10-142-77/+82
| | | | | | * allocate output from geometry * removed non-default location of TestData
* Add log exp (#381)Edoardo Pasca2019-10-112-0/+19
| | | | | | | | | | | | * add test for algorithm * fix conflict * suppress warning * pass kwargs to Algorithm class creator * added unary operation exp and log
* Pass kwargs to algorithm (#380)Edoardo Pasca2019-10-117-53/+145
| | | | | | | | | | * add test for algorithm * fix conflict * suppress warning * pass kwargs to Algorithm class creator
* fix subset doesn't return ImageGeometry (#376)evelinaametova2019-10-118-93/+351
| | | | | closes #235 closes #312 closes #375
* remove angle from ImageGeometry (#378)Edoardo Pasca2019-10-101-1/+0
| | | closes #371
* Finite diff for sirf (#367)Edoardo Pasca2019-10-0931-125/+417
| | | | | | | | | | | | | * python2 compatibility import future * add staticmethod dot to test LinearOperators * a little more efficient code * skips all tests if module wget is not present * removed sirf import and simplified code
* Subset for ndim 1 (#373)Edoardo Pasca2019-10-074-257/+68
| | | | | | | | | | | | * subset to return VectorData if dim=1 * move Vector to framework this removes circular dependency * repeat test * skip test
* use dimension_labels in clone of Acquisition/ImageGeometry (#366)Edoardo Pasca2019-09-201-2/+4
| | | closes #365
* added min info on Block FrameworkEdoardo Pasca2019-07-081-0/+13
|
* added changelogEdoardo Pasca2019-07-081-0/+15
|
* Merge pull request #352 from vais-ral/Remove_demosgfardell2019-07-0523-4526/+0
|\ | | | | Removed demos
| * Removed demosGemma Fardell2019-07-0523-4526/+0
|/
* Norm2Sq and FISTA to give hints of why they fail (#351)Edoardo Pasca2019-07-054-10/+239
| | | | | | | | | | | | * Norm2Sq and FISTA to give hints of why they fail * added denoising tests from demos * L1Norm store instance of ShrinkageOperator * relax limit for python2 * added source of tests
* Fix documentation (#343)Vaggelis Papoutsellis2019-07-0530-552/+837
| | | | | | | | | | | | * fix documentation algs * fix docum functions dir * fix docum operator dir * docstring title * updated math in docstring
* Merge gf branch (#350)Edoardo Pasca2019-07-047-207/+95
| | | | | | | | * Algorithms updated to initalise all member variables in set_up() * Added missing data files * Removed memopts=False path
* Revert "Gf algorithm bug fix (#348)" (#349)Edoardo Pasca2019-07-047-95/+207
| | | This reverts commit 6876bda04cde114642ebce3d6bd577da40fa34e9.
* Gf algorithm bug fix (#348)gfardell2019-07-047-207/+95
| | | | | | | | * Algorithms updated to initalise all member variables in set_up() * Added missing data files * Removed memopts=False path
* Headers comment (#342)Edoardo Pasca2019-07-0268-384/+787
| | | | | | | | | | | | | | | | * added to autoclass doc * added header * file permission * remove x permission * spdhg x mode * removed file * reset permission to 644
* remove from repoEdoardo Pasca2019-07-021-113/+0
|
* replaced wrong hyphenEdoardo Pasca2019-07-021-1/+1
|
* Merge pull request #340 from vais-ral/doc_allEdoardo Pasca2019-07-028-6/+182
|\ | | | | updated documentation with all classes
| * updated documentation with all classesEdoardo Pasca2019-07-028-6/+182
|/
* Update spdhg.pyEdoardo Pasca2019-07-021-1/+1
|
* Merge pull request #339 from vais-ral/remove_wipEdoardo Pasca2019-07-0235-6593/+0
|\ | | | | removed wip directory
| * removed wip directoryEdoardo Pasca2019-07-0235-6593/+0
|/
* Merge pull request #332 from vais-ral/cgls_fixEdoardo Pasca2019-07-028-227/+559
|\ | | | | adds tolerance check to CGLS iterations as it may be unstable and diverge
| * added print of reached toleranceEdoardo Pasca2019-07-022-2/+5
| |
| * removed commentsEdoardo Pasca2019-07-011-61/+2
| |