<p dir="ltr">There is a python function &quot;get_chpi_positions&quot; that will take a raw instance with those quaternion values stored (i.e., processed by maxfilter) and convert them to translation and rotation parameters for you. If you want to write some visualization tool in top of it, it would be much appreciated! If so,  please open an issue and we will discuss it further. </p>
<p dir="ltr">We also have a work in progress to estimate the positions from the chpi signals themselves (i.e., raw data not processed by maxfilter), but that isn&#39;t working properly yet. </p>
<p dir="ltr">Eric</p>
<div class="gmail_quote">On Jun 22, 2015 9:01 AM, &quot;dgw&quot; &lt;<a href="mailto:dgwakeman@gmail.com">dgwakeman@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sam,<br>
<br>
The data is actually added to the fif file. I would recommend opening<br>
an issue on github, and let the discussion grow there. I believe you<br>
should already be able to with just the raw plotter in python (as at<br>
least the q values are stored as channels in the fif file). There is a<br>
lot of activity at the moment around maxfilter related issues.<br>
<br>
<br>
hth<br>
d<br>
<br>
On Mon, Jun 22, 2015 at 10:19 AM, Sam Zorowitz &lt;<a href="mailto:szorowi1@gmail.com">szorowi1@gmail.com</a>&gt; wrote:<br>
&gt; Hi MNE group,<br>
&gt;<br>
&gt; I was wondering if there were any functions available or in the works for<br>
&gt; calculating motion statistics from cHPI data, made available after<br>
&gt; MaxFilter. I noted a docstring in the Github on the issue but could not find<br>
&gt; any code.<br>
&gt;<br>
&gt; Anything similar to what is available in mne_analyze (i.e. View continuous<br>
&gt; HPI data...) would be great. If not, I would be more than happy to take a<br>
&gt; crack at it if anyone is familiar where the code is stored in the MNE<br>
&gt; command line scripts.<br>
&gt;<br>
&gt; All the best,<br>
&gt; Sam<br>
&gt;<br>
&gt; ___________________________________<br>
&gt;<br>
&gt; Sam Zorowitz<br>
&gt; Clinical Research Coordinator<br>
&gt; Division of Neurotherapeutics<br>
&gt; Department of Psychiatry: Neurosciences<br>
&gt; Massachusetts General Hospital<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt;<br>
&gt;<br>
&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt; addressed. If you believe this e-mail was sent to you in error and the<br>
&gt; e-mail<br>
&gt; contains patient information, please contact the Partners Compliance<br>
&gt; HelpLine at<br>
&gt; <a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in<br>
&gt; error<br>
&gt; but does not contain patient information, please contact the sender and<br>
&gt; properly<br>
&gt; dispose of the e-mail.<br>
&gt;<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
</blockquote></div>