Text this: Statistically Generated Weighted Curve Fit of Residual Functions for Modal Analysis of Structures