Skip to content

InverseGammaOperator restructure

Vincent Eberle requested to merge inverse_gamma into NIFTy_8

Changes in the InverseGammaOperator

I did some changes in the InverseGammaOperator in order to have some convenience functions for debugging namely:

  • one can simply return (if mathematically existent) the mode, mean and the variance
  • one can use the mode and the mean in order to initialize the InverseGammaOperator by setting alpha and q to None and setting the values for mode and mean. IMHO this can help a lot to find better values for alpha and q since these are sometimes hard to set.

@gedenhof @mtr @parras what do you think about these changes? The code can be found here.

Edited by Vincent Eberle

Merge request reports