magni.cs.reconstruction.it._step_size module

Module providing functions for calculating the step-size (relaxation parameter) used in the Iterative Thresholding algorithms.

Routine listings

calculate_using_adaptive(var)
Calculate a step-size value in an ‘adaptive’ way.
calculate_using_fixed(var)
Calculate the fixed step-size value.
get_function_handle(method)
Return a function handle to a given calculation method.
magni.cs.reconstruction.it._step_size.wrap_calculate_using_adaptive(var)[source]

Arguments wrapper for culculate_using_adaptive.

Calculate a step-size value in an ‘adaptive’ way.

magni.cs.reconstruction.it._step_size.wrap_calculate_using_fixed(var)[source]

Arguments wrapper for calculate_using_fixed.

Calculate a fixed step-size value.

magni.cs.reconstruction.it._step_size.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 step-size method.
Returns:

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