edit diff
This commit is contained in:
		
							parent
							
								
									8ce71712f9
								
							
						
					
					
						commit
						02b96b68b4
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
__version__ = '0.1.5.7'
 | 
			
		||||
__version__ = '0.1.5.8'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,7 +34,7 @@ def process_data_RH_logger(filepath, every):
 | 
			
		|||
    df = load_data_RH_logger(filepath, every=1)
 | 
			
		||||
    # Derivative
 | 
			
		||||
    df['dmdt_SG'] = savgol_filter(df['weight'], window_length=10000, polyorder=1, deriv=1)
 | 
			
		||||
    df['dmdt_diff'] = df['weight'].diff(periods=100) / df['time'].diff(periods=100)
 | 
			
		||||
    df['dmdt_diff'] = df['weight'].diff(periods=1000) / df['time'].diff(periods=1000)
 | 
			
		||||
 | 
			
		||||
    h5path = os.path.splitext(filepath)[0]
 | 
			
		||||
    h5path += '-processed.h5'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue