Skip to content

Commit

Permalink
EditFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderJuestel committed Feb 23, 2024
1 parent 7cca835 commit e9e5a4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyborehole/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,11 @@ def despike_curve(self,
track: str,
window_length: int):

"""
"""

self.df[track + '_rolling'] = self.df.rolling(window=window_length)[track].mean()

curve_df = self.curves[self.curves['original_mnemonic'] == track].reset_index(drop=True).iloc[0]
Expand Down

0 comments on commit e9e5a4b

Please sign in to comment.