Extrapolation.SmoothnessPenalty#

SmoothnessPenalty.py

Copyright (c) 2018-2019, SAXS Team, KEK-PF

class SmoothnessPenalty(m, conc_dependence=2, add_const=0)#

Bases: object

get_penalties(flatP, penalty_weights)#
get_penalties_bq_ignore(flatP, penalty_weight)#
get_penalty_diff(flatP, penalty_weights, debug=False)#
get_penalty_diff_bq_ignore(flatP, penalty_weights, debug=False)#
get_reshaped(flatP)#
diff_matrix(n)#
get_penalty_diff_impl(NDM, P, penalty_weights)#
get_penalty_impl(NDM, P, penalty_weights)#
kth_diag_indices(a, k)#
norm_diff_matrix(n)#