mvpa2.mappers.detrend.legendre

mvpa2.mappers.detrend.legendre_(n, x)

Helper to avoid problems with scipy 0.8.0 returning inf for -1

Scipy 0.8.0 (and possibly later) has regression of reporting ‘inf’s for negative boundary. Lets guard against it for now