magni.cs.reconstruction.sl0._L_start module¶
Module providing functions for calculating the starting value of L (the number of gradient descent iterations for each sigma) used in the Smoothed l0 algorithms.
Routine listings¶
- calculate_using_fixed(var)
- Calculate the fixed L value.
- calculate_using_geometric(var)
- Calculate an L value in a ‘geometric’ way.
- get_function_handle(method)
- Return a function handle to a given calculation method.
-
magni.cs.reconstruction.sl0._L_start.
wrap_calculate_using_fixed
(var)[source]¶ Arguments wrapper for calculate_using_fixed.
-
magni.cs.reconstruction.sl0._L_start.
wrap_calculate_using_geometric
(var)[source]¶ Arguments wrapper for calculate_using_geometric.
-
magni.cs.reconstruction.sl0._L_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 L method.
Returns: f_handle (function) – Handle to the calculation method defined in this globals scope.