- INPUT
A list object with the elements of t
, y
, w
,
Tn
(optional) and ylu
, returned by check_input()
.
- rFUN
character, the name of rough curve fitting function, can be one of
c("smooth_wSG", "smooth_wWHIT", "smooth_wHANTS"), which are corresponding to
smooth_wSG()
, smooth_wWHIT()
and smooth_wHANTS()
.
- wFUN
weights updating function, can be one of .
- iters
integer, the number of rough fitting iterations
- wmin
double, minimum weigth (i.e. weight of snow, ice and cloud).
- lambda
The smoothing parameter of smooth_wWHIT()
. For
season_mov()
, if lambda is NULL
, init_lambda()
will be used. Generally, it was set as 10000, 15, and 5 for daily, 8-day
and 16-day inputs respectively.
- nf
The parameter of smooth_wHANTS()
, number of frequencies to be
considered above the zero frequency.
- frame
The parameter of smooth_wSG()
, moving window size. Suggested by
TIMESAT, default frame = floor(nptperyear/7)*2 + 1
.
- minpeakdistance
double, in points (default as
nptperyear/6
). The minimum distance of two peaks. If the distance of two
maximum extreme value less than minpeakdistance
, only the real maximum
value will be left.
- ypeak_min
y_peak >= ypeak_min
- r_max
Similar as r_min
, The maximum threshold should
be greater than r_max
.
- r_min
Threshold is defined as the difference of peak value with
trough value. There are two threshold (left and right). The minimum threshold
should be greater than r_min.
- rtrough_max
ytrough <= rtrough_max*A
, A is the amplitude of y.
- MaxPeaksPerYear
This parameter is used to adjust lambda in iterations.
If PeaksPerYear > MaxPeaksPerYear, then lambda = lambda*2.
- MaxTroughsPerYear
This parameter is used to adjust lambda in iterations.
If TroughsPerYear > MaxTroughsPerYear, then lambda = lambda*2.
- calendarYear
If true, only one static calendar growing season will be
returned.
- adj.param
,
.
- rm.closed
boolean. Whether check the two closest peaks (or troughs).
- is.continuous
boolean. Whether the input is continuous? This parameter
is for fluxsite site-year data.
- .check_season
not used (only for debug)
- verbose
whether to print options_season
into console?
- ...
ignored.
- d_fit
A data.frame with the columns of t
, y
, witer...
and ziter...
.