Skip to content

v9.2.0

Latest

Choose a tag to compare

@roth-jakob roth-jakob released this 17 Apr 14:03

NIFTy.re

  • New features
    • Add option in optimize_kl to distribute samples over multiple GPUs.
    • Introduce blackjax_nuts wrapper to easily sample a NIFTy likelihood with
      the BlackJAX No-U-Turn Sampler.
    • Introduce helper function check_model for benchmarking models and
      detecting potential memory overhead due to inlined constants.
    • Introduce a wrapper optimize.optax_wrapper for using optimizer algorithms
      implemented in the Optax package in NIFTy.
    • Add option to resume estimate_evidence_lower_bound for computing ELBOs of
      large problems.
    • Add option for data-space evaluations to wiener_filter_posterior.
    • Introduce option to clip latent space parameters with the ClipModel for
      numerical stability.
    • Add option to renormalize the amplitude of the correlated field Matern
      kernel to decouple the variance from the scaling parameter.
    • Make NIFTy.re Windows-compatible.
    • Introduce a function to compute empirical power spectra of fields
      on regular grids compute_empirical_power_spectrum.
    • Add MaternCovarianceModel, replacing the now-deprecated
      MaternHarmonicCovariance; supports learnable lengthscale, spectral slope,
      and high-k cutoff in arbitrary dimensions.
  • Bug fixes:
    • Fix bug when computing the Wiener filter posterior of a model linearized
      around a non-zero position.
    • Fix a bug in the MaternHarmonicCovariance of the ICRField model
      affecting small cutoff values.
    • Fix bug in the SimpleOpenGrid when initializing without an explicitly
      specified depth.
  • Changes
    • Change the JIT compilation strategy of optimize_kl. By default, the
      optimizers themselves are no longer compiled—only the cost functions being
      optimized.
  • Deprecations
    • Deprecate the built-in HMC (NUTSChain, HMCChain) functions. Please use
      the BlackJAX wrapper (blackjax_nuts) instead.
    • Deprecate the experimental MaternHarmonicCovariance model. Please use
      the new MaternCovarianceModel instead.

NIFTy.cl

  • New features
    • Introduce VariablePositionNufft, a type-2 NUFFT operator for evaluating
      signals on a regular grid at arbitrary spatial positions.
    • Introduce ShiftedPositionFFT, an operator to perform FFT-like transforms
      at frequency-shifted positions via NUFFT.
    • Add FFTShiftOperator to enable frequency-domain shifting for RGSpaces.
    • Add CategoricalEnergy for categorical data.
  • Breaking changes
    • Change name of the logger from NIFTy8 to NIFTy.
  • Changes
    • Remove remaining mentions of NIFTy8 in the documentation.
    • Cfm: fix bug for offset_std=None and total_N>0
    • Minisanity: keys are now in lexicographic order
    • Minisanity plot: add posterior mean of quantities (additional to reduced chi
      squared)
    • The ducc0 thread pool now always follows the size as set be
      ift.set_nthreads irrespective of the environment variables
      OMP_NUM_THREADS and DUCC0_NUM_THREADS
  • Deprecations
    • Delete FinuFFT interface (has not been active Jun 12, 2022). Use
      ift.cl.Nufft instead.