magni.cs.reconstruction.sl0._mu_start module

Module providing functions for calculating the starting 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 fixed mu value.
calculate_using_step(var)
Calculate an mu value in a ‘step’ way.
get_function_handle(method)
Return a function handle to a given calculation method.
magni.cs.reconstruction.sl0._mu_start.wrap_calculate_using_fixed(var)[source]

Arguments wrapper for calculate_using_fixed.

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

Arguments wrapper for calculate_using_step.

magni.cs.reconstruction.sl0._mu_start.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 method.
Returns:

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