pyacs.gts.lib.outliers.find_outliers_around_date module
- pyacs.gts.lib.outliers.find_outliers_around_date.find_outliers_around_date(self, date, conf_level=95, n=3, lcomponent='NE', verbose=True)[source]
Find an outlier around a given date using F-ratio test.
Returns the index of the outlier, or [] if none found.
- Parameters:
date (float) – Date in decimal year.
conf_level (float, optional) – Confidence level for F-ratio test (default 95).
n (int, optional) – Number of dates on each side of date (default 3).
lcomponent (str, optional) – Components to test: ‘N’, ‘E’, ‘U’, ‘NE’, ‘NEU’ (default ‘NE’).
verbose (bool, optional) – Verbose mode.
- Returns:
self with outlier flagged, or [] if no significant outlier.
- Return type:
Gts or list