update
This commit is contained in:
		
							parent
							
								
									117d91902c
								
							
						
					
					
						commit
						67a5821af6
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
__version__ = '0.1.6.9'
 | 
			
		||||
__version__ = '0.1.7.0'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -45,6 +45,9 @@ def load_data_RH_logger(filepath, every=1):
 | 
			
		|||
def process_data_RH_logger(filepath, every, diff_period=1_000, SG_window=10_000):
 | 
			
		||||
    df = load_data_RH_logger(filepath, every=1)
 | 
			
		||||
 | 
			
		||||
    df = df.drop(columns=['time'])
 | 
			
		||||
    df = df.rename(columns={'duration': 'time'})
 | 
			
		||||
 | 
			
		||||
    m0 = df['weight'].iloc[0]
 | 
			
		||||
    mf = df['weight'].tail(300).mean()
 | 
			
		||||
    # Variation
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue