{{indexmenu_n>999}} ====== Chop ====== ### G2 = ResponseFunction.Chop(G1) removes (sets to zero) all numbers form $G_1$ that are in absolute value smaller than epsilon. Chop does not change the [[documentation:language_reference:objects:responsefunction:functions:changetype|type]] of the response function. ### ===== Input ===== * G : a response function * epsilon : (optional) the smallest number considered different from zero. If not given the standard value is 10 times machine precision. ===== Output ===== * a copy of G with small numbers replaced by zero ===== Options ===== * Deflate : a boolean that determines if poles with zero weight are completely removed from the response function or if they are kept. ===== Table of contents ===== {{indexmenu>../#2|tsort}}