rfdougherty/fieldmap_unwarp — pull request #1 by arokem (2012-08-26 19:33:01+00:00)
Title: Translate lr3d

This is still very much WIP, but I thought I would start up the pull request, so that we have somewhere to discuss this as I work on it.

I have put in place a test that demonstrates what I think this should eventually do. Also, I have defined the function params and returns for the lowess3d. I have renamed all of this lowess, because I believe that we are in fact trying to implement a version of the lowess algorithm here. I am also looking over chapter 6 of Friedman, Hastie and Tibshirani to make sure that I know what I'm doing.

BTW: there actually already is an implementation of the 1-d lowess in statsmodels: https://github.com/statsmodels/statsmodels/blob/master/statsmodels/nonparametric/smoothers_lowess.py

We might want to use that as a guide, in addition to Kendrick's Matlab code.