def cs_water_T(T):
    """
    Calculates chemical shift of water based on Temparature.
    """
#   according to Gottlieb, H. E., Kotlyar, V. & Nudelman, A.
#	NMR Chemical Shifts of Common Laboratory Solvents as Trace Impurities.
#	J. Org. Chem. 62, 7512-7515 (1997).
    cs = 5.060 - 0.0122*T + (2.11e-5)*T**2
    return(cs)