0todd0000 / spm1d

One-Dimensional Statistical Parametric Mapping in Python
GNU General Public License v3.0
61 stars 21 forks source link

circular inferece #89

Closed zof1985 closed 5 years ago

zof1985 commented 5 years ago

Hi Todd,

Looking at the smp1d documentation, I was not able to find information about how the "circular" and the "interpolation" options works in parametric and non-parametric inference. Could you please indicate where I can find it and/or some references that I can study to understand how it work? It would also be great if you could provide a brief description about how it is implemented.

Many thanks, Luca.

0todd0000 commented 5 years ago

Hi Luca,

Sorry for the unclear documentation! Descriptions of "circular" and "interpolation" are available only through the "New Features" sections here:

Circular: http://www.spm1d.org/NewFeatures.html#circular-fields

Interpolation: http://www.spm1d.org/NewFeatures.html#cluster-interpolation

If these descriptions are unclear please let me know.

Todd

zof1985 commented 5 years ago

Hi Todd,

Thank you very much for the quick answer. Looking at the source code for the interpolation of the maps it looks like you used a linear interpolation approach. Is that right?

Best, Luca.

0todd0000 commented 5 years ago

Yes, linear. Other interpolation schemes (e.g. spline) are more accurate, but the probabilistic difference between linear and nonlinear interpolation is negligible.

zof1985 commented 5 years ago

Thank you very much