<div class="gmail_quote">On Fri, Jun 10, 2011 at 7:04 PM, Pierre GM <span dir="ltr"><<a href="mailto:pgmdevlist@gmail.com">pgmdevlist@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Jun 11, 2011, at 1:03 AM, Mark Wiebe wrote:<br>
><br>
> I don't think you would want to extend the datetime with more metadata, but rather use it as a tool to create the timeseries with. You could create a lightweight wrapper around datetime arrays which exposed a timeseries-oriented interface but used the datetime functionality to do the computations and provide good performance with large numbers of datetimes. I would love it if you have the time to experiment a bit with the <a href="https://github.com/m-paradox/numpy" target="_blank">https://github.com/m-paradox/numpy</a> branch I'm developing on, so I could tweak the design or add features to make this easier based on your feedback from using the new data type.<br>

<br>
</div>I'll do my best, depending on my free time, alas... Did you have a chance to check scikits.timeseries (and its experimental branch) ? If you have any question about it, feel free to contact me offlist (less noise that way, we can always summarize the discussion).<br>
</blockquote><div><br></div><div>I've taken a look through the documentation and some of the code, but am finding it a bit difficult to see the motivation of all the pieces. Probably the examples Dave Hirschfeld put in his emails are the most illuminating thing I've seen so far, as well as some birds-eye view explanations of what time series are within statistics.</div>
<div><br></div><div>It seems to me that what the time series analysis needs is operations for functions sampled at particular points in time or aggregated over particular intervals of time. With the datetime dtype in place, it should be possible to have one code which does that for any of floats, integers, or datetimes as the domain, and I think removing the multiplier in dtypes like 'M8[10s]' and having that be represented as time intervals might be more flexible and still do everything the current scikits.timeseries can do.</div>
<div><br></div><div>-Mark</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Cheers<br>
<font color="#888888">P.<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</div></div></blockquote></div><br>