Ghost/Chemical_shift.py
def preprocess(self,dict):
		'''Finds the minimum of the curve and translate the curve downward for that value'''
		
		minimum=min(dict.values())
		for ph in range(len(self.ph_values)):
			dict[ph]-=minimum
		return dict.values()
Finds the minimum of the curve and translate the curve downward for that value
Finds the minimum of the curve and translate the curve downward for that value
Finds the minimum of the curve and translate the curve downward for that value
def preprocess(self,dict):
		minimum=min(dict.values())
		for ph in range(len(self.ph_values)):
			dict[ph]-=minimum
		return dict.values()
def preprocess ( self , dict ) : minimum = min ( dict . values ( ) ) for ph in range ( len ( self . ph_values ) ) : dict [ ph ] -= minimum return dict . values ( )
Finds the minimum of the curve and translate the curve downward for that value
Finds the minimum of the curve and translate the curve downward for that value
'''Finds the minimum of the curve and translate the curve downward for that value'''
self
dict