R/fit_season.R
fit_season.Rd
For a PfPR time series, \(x\), fit a spline function
fit_season(xds_obj)
an xds xds_obj
xds
a list with the mean peak and the values