[SciPy-user] Matlab function detrend

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed Aug 14 06:54:48 EDT 2002


Travis Oliphant schrieb:
> 
> On Tue, 2002-08-13 at 07:48, Nils Wagner wrote:
> > Hi,
> >
> > I am looking for the Matlab function detrend.
> > Is there such a thing in scipy ?
> >
> 
> Look for it in a few hours in CVS.
> 
> -Travis
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user

There seems to be a problem with detrend

dgelss:lwork=134
Traceback (most recent call last):
  File "io.py", line 36, in ?
    detrend_intyou = signal.detrend(intyou,-1,'linear')
  File
"/usr/local/lib/python2.1/site-packages/scipy/signal/signaltools.py",
line 1107, in detrend
    coef,resids,rank,s = linalg.lstsq(A,newdata[sl])
  File "/usr/local/lib/python2.1/site-packages/scipy/linalg/basic.py",
line 277, in lstsq
    overwrite_b = overwrite_b)
flapack.error: (lwork>=3*minmn+MAX(2*minmn,MAX(maxmn,nrhs))) failed for
2nd keyword lwork

Any idea or suggestion ?

Nils



More information about the SciPy-User mailing list