SFR_ChebyFit_example performs a Chebyshev-polynomial fit to the median offsets between two star-formation-rate estimators, CIGALE (
ascl:1111.004) and MAGPHYS (
ascl:1106.010), derived from a control galaxy sample. It then applies this fit to quasar-host SFR values to correct them onto the MAGPHYS baseline. The code safely clips input values outside the fit domain, computes the corrections, and produces diagnostic plots and a histogram of corrected SFRs for visual inspection.