NIFTy merge requestshttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests2020-06-20T14:13:46Zhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/544Fail on complex sampling in VariableVarianceEnergy2020-06-20T14:13:46ZPhilipp Arrasparras@mpa-garching.mpg.deFail on complex sampling in VariableVarianceEnergyhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/543Nifty6272020-06-19T19:48:29ZPhilipp Arrasparras@mpa-garching.mpg.deNifty627@reimar@reimarhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/542Restructure operator tests2020-06-19T10:44:20ZPhilipp Arrasparras@mpa-garching.mpg.deRestructure operator testsMartin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/541WIP: More constant support (new version)2020-06-18T17:26:40ZPhilipp Arrasparras@mpa-garching.mpg.deWIP: More constant support (new version)https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/540Rework kl2020-06-19T10:21:25ZPhilipp Arrasparras@mpa-garching.mpg.deRework klMartin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/539Fix complex samples2020-06-19T12:28:12ZReimar H LeikeFix complex samplesOne of the possible ways to solve #306 . It makes the Hamiltonian consistent with the sampels from the Gaussian distribution, but now for complex Gaussian samples
```math
H(s) = -\frac{1}{2}s^\dagger S^{-1} s
<ss^\dagger>=S
```
is ...One of the possible ways to solve #306 . It makes the Hamiltonian consistent with the sampels from the Gaussian distribution, but now for complex Gaussian samples
```math
H(s) = -\frac{1}{2}s^\dagger S^{-1} s
<ss^\dagger>=S
```
is nor satisfied anymore. Instead we have
```math
<ss^\dagger> = 2S
```Martin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/538WIP: Pointwise Safe Exponential Function2020-07-16T08:17:03ZLukas PlatzWIP: Pointwise Safe Exponential FunctionExponential overflows introduce an often times unnessecary source of run abortions into reconstructions. Especially in early reconstructions, when the position is still far from converged, stray samples tend to cause exponential overflow...Exponential overflows introduce an often times unnessecary source of run abortions into reconstructions. Especially in early reconstructions, when the position is still far from converged, stray samples tend to cause exponential overflows during the minimizations, if not mitigated.
I propose to add a 'safe' exponential function to the pointwise functions which surpesses exponential overflows. It does this by clipping input value to safe limits prior to applying the exponential function.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/537WIP: Test Fisher matrix using definition2020-06-19T08:53:13ZReimar H LeikeWIP: Test Fisher matrix using definitionIt was long requested to have a way to test Fisher matrices for their correctness. In this branch, we test whether the sample expectation value
```math
\left<\frac{\partial H(d|x)}{\partial x}\frac{\partial H(d|x)}{\partial x^\dagger}\ri...It was long requested to have a way to test Fisher matrices for their correctness. In this branch, we test whether the sample expectation value
```math
\left<\frac{\partial H(d|x)}{\partial x}\frac{\partial H(d|x)}{\partial x^\dagger}\right>_{P(d|x)}
```
agrees with the actual fisher metric. We do so by comparing the fisher application at one random vector with the expectation value defined above. The test is however only statistically true for the limit of many data realizations $d$, and thus the error margins have to be taken large in order to avoid false postives.Philipp Arrasparras@mpa-garching.mpg.dePhilipp Arrasparras@mpa-garching.mpg.dehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/536WIP: Catch FloatingPointError exeception in `energy.at` to store crashing pos...2020-07-17T13:10:31ZLukas PlatzWIP: Catch FloatingPointError exeception in `energy.at` to store crashing positionMost numerical errors (overflows, divisions by zero, …) with NIFTy occur during minimization runs. Tracking down what caused the fault condition is hard, as the NIFTy minimizers only return positions on non-faulty exits and the exact loc...Most numerical errors (overflows, divisions by zero, …) with NIFTy occur during minimization runs. Tracking down what caused the fault condition is hard, as the NIFTy minimizers only return positions on non-faulty exits and the exact location of the numerical error has to be reconstructed manually by observing the tracelog.
Typically, the numerical errors occur in the energy functionals to be minimized. Because of this, I propose to augment those to pickle their position on internal crashes.
This will help users in reconstructing the state at crash and in finding the crash reasons.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/535Nifty 72020-06-11T18:08:28ZPhilipp FrankNifty 7Philipp FrankPhilipp Frankhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/534WIP: More derivatives2021-03-24T17:08:39ZPhilipp FrankWIP: More derivativesStart to include `DiffTensor` and `Taylor` into nifty.
Taylor is now an `Operator`.
Operators can now keep track of higher derivatives via `Taylor` Objects.
Open Issues and Todos:
- Write Tests
- `Linearization` vs `Difftensor`
I think ...Start to include `DiffTensor` and `Taylor` into nifty.
Taylor is now an `Operator`.
Operators can now keep track of higher derivatives via `Taylor` Objects.
Open Issues and Todos:
- Write Tests
- `Linearization` vs `Difftensor`
I think the latter can replace the former at some point
@parras @mtr I am happy for any input, suggestions!https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/533Nifty6to72020-06-10T11:41:04ZPhilipp Arrasparras@mpa-garching.mpg.deNifty6to7Martin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/532workaround for https://github.com/numpy/numpy/issues/165392020-06-10T11:22:48ZMartin Reineckeworkaround for https://github.com/numpy/numpy/issues/16539@parras, @gedenhof could you please double-check whether this looks appropriate to you?
I wanted to keep the impact on users as small as possible.@parras, @gedenhof could you please double-check whether this looks appropriate to you?
I wanted to keep the impact on users as small as possible.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/531improve utilities2020-06-09T11:43:31ZMartin Reineckeimprove utilitieshttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/530Switch to DUCC2020-06-23T09:06:55ZMartin ReineckeSwitch to DUCChttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/529Constantsupport2020-06-05T11:25:55ZPhilipp Arrasparras@mpa-garching.mpg.deConstantsupportReady to be mergedReady to be mergedMartin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/528WIP: `FieldZeroPadder`: enable padding at the start of the array2021-03-24T11:15:05ZLukas PlatzWIP: `FieldZeroPadder`: enable padding at the start of the arrayThe `FieldZeroPadder` was able to pad either in the center of the field arrays or at the end.
Added the option to also pad at the start of field arrays.The `FieldZeroPadder` was able to pad either in the center of the field arrays or at the end.
Added the option to also pad at the start of field arrays.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/527WIP: More constant support2020-06-18T18:19:39ZPhilipp Arrasparras@mpa-garching.mpg.deWIP: More constant supportMartin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/526Nifty6tonifty72020-06-04T16:45:49ZPhilipp Arrasparras@mpa-garching.mpg.deNifty6tonifty7https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/525Fix dtype handling2020-06-03T11:20:23ZPhilipp Arrasparras@mpa-garching.mpg.deFix dtype handling