<div dir="ltr">Hi,<div><br></div><div>and sorry for a bit late reply.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 12, 2014 at 10:27 PM, Yunlong Liu <span dir="ltr">&lt;<a href="mailto:yliu120@jh.edu" target="_blank">yliu120@jh.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would like to have access to the data stored in the AnalysisData object after running a single pass over all the frames in the trajectory. I don&#39;t know how to do it and where to find the stored data.<br></blockquote><div><br></div><div>There are two alternatives:</div><div><ul><li>If you really need random access to all the data after it has been produced, you can call requestStorage(-1) on the object, and the access the data using getDataFrame().<br></li><li>If you only need to process the data in a manner that can be done on-the-fly (e.g., accumulating them from each frame in some way), you can create a class that implements the AnalysisDataModuleSerial interface and use addModule() in the AnalysisData object to add your module to the processing chain of the data. The functions in your class will be called for each frame after the data has been entered. If your analysis needs access to earlier frames, you can also call requestStorage(N) to get access to N last frames within these callbacks.</li></ul><div>Best regards,</div></div><div>Teemu</div></div></div></div>