Skip to content

Commit

Permalink
Update wetlabs_parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunwbell committed Oct 10, 2023
1 parent ccdca3f commit d4cc903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EcoFOCIpy/io/wetlabs_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def lineartimecorr(x,deltaT,T0) :
deltaT = datetime.timedelta(seconds=offset) / (self.rawdata_df.index[-1] - T0)

self.rawdata_df.index = self.rawdata_df.reset_index().apply(lambda x: lineartimecorr(x.date_time,deltaT,T0), axis=1)
self.rawdata_df.index.name = 'date_time'

return (self.rawdata_df)

Expand Down

0 comments on commit d4cc903

Please sign in to comment.