magni.cs.reconstruction.sl0._mu_update module

Module providing functions for calculating the updated value of mu (the relative step-size used in the gradient descent iteration) used in the Smoothed l0 algorithms.

Routine listings

calculate_using_fixed(var)
Calculate the updated, fixed mu value.
calculate_using_step(var)
Calculate an updated mu value in a ‘step’ way.
get_function_handle(method)
Return a function handle to a given calculation method.
magni.cs.reconstruction.sl0._mu_update.wrap_calculate_using_fixed(var)[source]

Arguments wrapper for calculate_using_fixed.

magni.cs.reconstruction.sl0._mu_update.wrap_calculate_using_step(var)[source]

Arguments wrapper for calculate_using_step.

magni.cs.reconstruction.sl0._mu_update.get_function_handle(method, var)[source]

Return a function handle to a given calculation method.

Parameters:
  • method (str) – Identifier of the calculation method to return a handle to.
  • var (dict) – Local variables needed in the mu update method.
Returns:

f_handle (function) – Handle to the calculation method defined in this globals scope.