CalibrationResults¶
lumicks.pylake.force_calibration.power_spectrum_calibration.CalibrationResults
- class CalibrationResults(model, ps_model, ps_data, params, results)¶
Power spectrum calibration results.
- model¶
Model used for calibration.
- Type
lumicks.pylake.force_calibration.power_spectrum_calibration.CalibrationModel
- ps_model¶
Power spectrum of the fitted model.
- Type
- ps_data¶
Power spectrum of the data that the model was fitted to.
- Type
- plot()¶
Plot the fitted spectrum
- plot_spectrum_residual()¶
Plot the residuals of the fitted spectrum.
This diagnostic plot can be used to determine how well the spectrum fits the data. While it cannot be used to diagnose over-fitting (being unable to reliably estimate parameters due to insufficient information in the data), it can be used to diagnose under-fitting (the model not fitting the data adequately).
In an ideal situation, the residual plot should show a noise band around 1 without any systematic deviations.