Constrained tuning: Difference between revisions
→Simple fast closed-form algorithm: cleanup: unify variable names with the other sections. Fix markup. Also important clarifications on the dimensionalities of these variables. |
|||
Line 306: | Line 306: | ||
J = 1200*np.log2(limit) | J = 1200*np.log2(limit) | ||
# Main calculation: get the generator map g such that g@M@W ≈ J@W. Use pinv | # Main calculation: get the generator map g such that g @ M @ W ≈ J @ W. Use pinv | ||
G = (J@W) @ np.linalg.pinv(M@W) | G = (J @ W) @ np.linalg.pinv(M @ W) | ||
T = G @ M | T = G @ M | ||