Skip to content

Commit

Permalink
fix(utils.py): make docstring with latex raw
Browse files Browse the repository at this point in the history
  • Loading branch information
davecwright3 committed Jul 30, 2024
1 parent 931127c commit fca2f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eztao/ts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ def add_season(t, lc_start=0, season_start=90, season_end=270):


def median_clip(y, num_sigma=3):
"""Clip time series using a three point median filter.
r"""Clip time series using a three point median filter.
The sigma (standard deviation) for the time series is computed from the median absolute deviation (MAD) as to reduce the effects from extreme outliers, where
sigma \sim 1.4826*MAD. If more than 10% of the data points are removed, the upper
sigma :math:`\sim` 1.4826*MAD. If more than 10% of the data points are removed, the upper
bound will be lifted gradually until that fraction drops bellow 10%.
Args:
Expand Down

0 comments on commit fca2f95

Please sign in to comment.