NIFTy merge requestshttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests2023-10-16T15:43:38Zhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/874static_cg: JIT `mat` to reduce compile time2023-10-16T15:43:38ZGordian Edenhoferstatic_cg: JIT `mat` to reduce compile timeThis shaves off about 20% of the compile time of the `static_cg` in the
current nifty_re demo.
This is safe because the `while_loop` statement within `static_cg` would
have compiled everything anyways.This shaves off about 20% of the compile time of the `static_cg` in the
current nifty_re demo.
This is safe because the `while_loop` statement within `static_cg` would
have compiled everything anyways.Gordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/872Import h5py and astropy only when called2023-10-16T15:03:19ZGordian EdenhoferImport h5py and astropy only when calledGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/871Rework NIFTy.re.Model2023-10-17T15:42:19ZGordian EdenhoferRework NIFTy.re.Model* Make NFITy.re.Model easy to inherit from and call, advertise building
models in demo
* Introduce convenient methods for priors using NIFTy.re.Model* Make NFITy.re.Model easy to inherit from and call, advertise building
models in demo
* Introduce convenient methods for priors using NIFTy.re.ModelGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/870refine: Change default of coerce_fine_kernel to False2023-09-29T11:55:12ZGordian Edenhoferrefine: Change default of coerce_fine_kernel to FalseGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/869Add instructions on citing NIFTy2023-10-17T15:13:16ZGordian EdenhoferAdd instructions on citing NIFTyGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/866Implement likelihood residuals and embrace pytrees in all likelihoods2023-09-08T15:17:07ZGordian EdenhoferImplement likelihood residuals and embrace pytrees in all likelihoodsGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/863demos/getting_started_4: Remove deprecated seaborn plotting2023-09-16T07:45:21ZGordian Edenhoferdemos/getting_started_4: Remove deprecated seaborn plottingGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/862JaxOpt style VI minimization and optimize_kl for nifty.re2023-11-19T20:48:45ZPhilipp FrankJaxOpt style VI minimization and optimize_kl for nifty.reGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/860Tweak msc2023-08-14T10:54:25ZPhilipp FrankTweak mscUse batches for convolution and interpolation for speedup.
Change the interface of kernel interpolation: (bool) is_linear -> (str) interpolation_method_in
Provide user specified interpolation method also for the output: interpolation_met...Use batches for convolution and interpolation for speedup.
Change the interface of kernel interpolation: (bool) is_linear -> (str) interpolation_method_in
Provide user specified interpolation method also for the output: interpolation_method_out
Both interpolation methods currently implement nearest neighbor ('nearest') and (multi-)linear interpolation ('linear')Philipp FrankPhilipp Frankhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/859Update gitlab-ci to un-deprecated global variables2023-08-07T09:30:56ZGordian EdenhoferUpdate gitlab-ci to un-deprecated global variablesGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/857Rethink Fields and Sampling2023-08-30T04:40:07ZGordian EdenhoferRethink Fields and SamplingChange two core principles: Transform the NIFTy.re's `Field` class into a simpler `Vector` class and harmonize the sampling to always work with stacked samples instead of list of samples.Change two core principles: Transform the NIFTy.re's `Field` class into a simpler `Vector` class and harmonize the sampling to always work with stacked samples instead of list of samples.Gordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/856Switch to debain:bullseye-slim for CI2023-06-16T10:13:05ZPhilipp FrankSwitch to debain:bullseye-slim for CIPhilipp FrankPhilipp Frankhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/855add hashing for MPI equality check for fields in optimize_kl2023-06-16T09:36:03ZJakob Knollmuelleradd hashing for MPI equality check for fields in optimize_klchecking MPI equality of large fields explicitly can crash and lead to segmentation faults, that's why we introduced the possibility to just compare hashes. We didn't add it to the check in the `_single_value_sample_list` in optimize_kl....checking MPI equality of large fields explicitly can crash and lead to segmentation faults, that's why we introduced the possibility to just compare hashes. We didn't add it to the check in the `_single_value_sample_list` in optimize_kl.py and I run into an issue there.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/852Extract values form field at given indices2023-06-12T08:13:19ZJakob RothExtract values form field at given indicesExtracts values from a field at given indices and puts them into an unstructured field. Useful when some indices appear twice (e.g. several measurements at the same location).Extracts values from a field at given indices and puts them into an unstructured field. Useful when some indices appear twice (e.g. several measurements at the same location).Philipp FrankPhilipp Frankhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/851Rethink NIFTy.re.Field (Field -> Vector)2023-07-04T16:36:39ZGordian EdenhoferRethink NIFTy.re.Field (Field -> Vector)Gordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/849OperatorAdapter.jax_expr: Fix casting in recent JAX2023-05-02T14:31:08ZGordian EdenhoferOperatorAdapter.jax_expr: Fix casting in recent JAXGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/848Fix potential color rendering error in multifrequency plotting2023-05-09T16:38:01ZLukas PlatzFix potential color rendering error in multifrequency plottingWhile refactoring the multifrequency plotting, I think I discoverd an error in the wavelength-color mapping.
To test the routine, I created an mf image in which each column contains contribution from only one wavelength. Below are imag...While refactoring the multifrequency plotting, I think I discoverd an error in the wavelength-color mapping.
To test the routine, I created an mf image in which each column contains contribution from only one wavelength. Below are images how the nifty plotting routine in the current `NIFTy_8` branch renders this image ("original") and how my (supposedly) fixed routine does ("new_fixed").
![original](/uploads/91f9a2b3ac0d3fbe3d17c69d9a0a8db8/original.png)
![new_fixed](/uploads/e5dbe3706f7e6b12734eebacb9f6bec5/new_fixed.png)
I expect a test image like described to be rendered into the familiar rainbow colors known of visualizations of the visibible light spectrum, but the original RGB mapping instead produces some red, lots of yellow, some turquise, and lots of violet.
The problem seems to be that the original routine first applies the rgb mapping and *then* the logarithmic "sensitivity" correction, while it should be the other way around. The source branch of this MR contains the code producing the "new_fixed" output.
@mtr @pfrank What do you think? Was the original behavior desireable, or is the new behavior better? I lean towards the latter, if our goal is to map spectral data to the visible spectrum without color distortion.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/846Import `TransposeOperator` into NIFTy namespace2023-04-17T07:33:09ZLukas PlatzImport `TransposeOperator` into NIFTy namespaceFor some reason the openly documented `TransposeOperator` is not imported into the NIFTy namespace.
I suspect this is an oversight, therefore this merge request.For some reason the openly documented `TransposeOperator` is not imported into the NIFTy namespace.
I suspect this is an oversight, therefore this merge request.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/845Fix pipeline2023-03-17T17:58:30ZGordian EdenhoferFix pipelineGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/843Various small tweaks2023-05-01T18:56:19ZGordian EdenhoferVarious small tweaksGordian EdenhoferGordian Edenhofer