Skip to content

Commit

Permalink
Merge pull request #88 from davecwright3/fix/docstring-escapes
Browse files Browse the repository at this point in the history
fix(utils.py): make docstring with latex raw
  • Loading branch information
ywx649999311 authored Sep 18, 2024
2 parents 931127c + fca2f95 commit f27932f
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 f27932f

Please sign in to comment.