[SciPy-User] [newbie] how to compare two datasets

ben h tonightwedrink@hotmail....
Mon Oct 25 19:08:44 CDT 2010


Thøger Emil Juul Thorsen <thoeger <at> fys.ku.dk> writes:


> 
> # Now say depth is the first column, and value is second:
> 
> tck = scipy.interpolate.splrep(realdata[:, 0], realdata[:, 1])


I am unable to perform this when values in realdata are negative. 
I can't simply make them positive, as there are mixed +ve and -ve 
values. Any clues to a solution? 

Ben.




More information about the SciPy-User mailing list