def reg1(X): return tools.Soft(X, transform, inverse, levels * weightS, kmax, supp=supp)
def regG1(X): return tools.Soft(X, transform, inverse, levelg * (kmax) * weightG, supp=1)
def regG1(X): return tools.Soft(X, levelg*weightG, k, supp=supp, Kill = Killg)
def regS1(X): return tools.Soft(X, levels*weightS, k, supp=supp, Kill = Kills)
def reg1(X): return tools.Soft(X, levels*weightS, kmax, supp=supp, Kill = 0)