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

ben h tonightwedrink@hotmail....
Tue Jul 13 02:00:23 CDT 2010


The datasets are borehole data - so they have borehole name, depth, and a value. 
Each borehole has two datasets - one real, one modelled.
I want to compare the values between them for each depth in modelled dataset (lower resolution / fewer samples).
If there is no matching depth in real dataset I want to linearly interpolate between nearest values.
Comparison to be quite simple at first, difference between values, and stats for entire set of differences. 

example data (depth, value):
model:
0 15.5
-10 17.0
-20 18.5
-30 20.0

real:
0 16.5
-1 16.6
-2 16.6
...
-655 55.3


Not having used python much, i don't know best data structure (dictionary? sequence? list?), or if there are helpful things in SciPy to help this come together (stats, methods for comparing datasets like these, linear interp methods?).

Looking for inspiration and pointers!

ben.
 		 	   		  
_________________________________________________________________
New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au
http://clk.atdmt.com/NMN/go/206222968/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20100713/4e85441f/attachment.html 


More information about the SciPy-User mailing list