deleted sint from generic_functions.

removed unused tests from data test functions.

Chris

On 4/23/2013 9:03 AM, Luke Campbell wrote:
> In ion_functions/data/co2_functions.py:
>
>> +     Ratio434 = light[6] # 434nm Ratio
>> +     Ratio620 = light[7] # 620nm Ratio
>> +
>> +     # calculate absorbance ratio, correcting for blanks
>> +     A434 = -1. * np.lib.scimath.log10(Ratio434 / a434blnk) # 434 absorbance
>> +     A620 = -1. * np.lib.scimath.log10(Ratio620 / a620blnk) # 620 absorbance
>> +     Ratio = A620 / A434      # Absorbance ratio
>> +
>> +     # calculate pCO2
>> +     V1 = Ratio - e1
>> +     V2 = e2 - e3 * Ratio
>> +     RCO21 = -1. * np.lib.scimath.log10(V1 / V2)
>> +     RCO22 = (therm - calt) * 0.007 + RCO21
>> +     Tcoeff = 0.0075778 - 0.0012389 * RCO22 - 0.00048757 * RCO22**2
>> +     Tcor_RCO2 =  RCO21 + Tcoeff * (therm - calt)
>> +     pco2 = 10.**((-1. * calb + (calb**2 - (4. * cala * (calc - Tcor_RCO2)))**0.5) / (2. * cala))
>
> I'm not sure but I wonder if there is a subtle difference between |**|
> and |np.power| since these are all 1-d vectors or scalars there's
> probably not a difference but if we start working with matrices I think
> they mean different things.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ooici/ion-functions/pull/17/files#r3919144>.
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Christopher Wingard
Senior Faculty Research Assistant
Oregon State University
College of Earth, Ocean & Atmospheric Sciences
cwingard@coas.oregonstate.edu
ph: 541.737.0011

Mail/Ship To:
Ocean Observing Center
126 SW McKenzie Avenue
Corvallis, OR 97333
Attn: Christopher Wingard