[MSNoise] (no subject)
Thomas Lecocq
thomas.lecocq at seismology.be
Fri Mar 21 22:30:15 UTC 2014
Hi Oscar,
It's the same problem as Esteban's . I'll have a look this weekend !
BY then, could you tell me the parameters used (in the filter
configuration) ?
Cheers,
Thom
Le 21/03/2014 20:14, Oscar Alberto Castro Artola a écrit :
> Hi, I was trying tu run *s05compute_mwcs.py* but I get this error message:
>
> *Traceback (most recent call last):*
> * File "s05compute_mwcs.py", line 118, in <module>*
> * cur, ref, f.mwcs_low, f.mwcs_high, goal_sampling_rate, -maxlag,
> f.mwcs_wlen, f.mwcs_step)*
> * File "/home/oscar/MSNoise-1.2.3/MWCS.py", line 145, in mwcs*
> * res = sm.regression.linear_model.WLS(phi, v, w**2).fit()*
> * File
> "/home/oscar/anaconda/lib/python2.7/site-packages/statsmodels/regression/linear_model.py",
> line 381, in __init__*
> * weights=weights, hasconst=hasconst)*
> * File
> "/home/oscar/anaconda/lib/python2.7/site-packages/statsmodels/regression/linear_model.py",
> line 79, in __init__*
> * super(RegressionModel, self).__init__(endog, exog, **kwargs)*
> * File
> "/home/oscar/anaconda/lib/python2.7/site-packages/statsmodels/base/model.py",
> line 136, in __init__*
> * super(LikelihoodModel, self).__init__(endog, exog, **kwargs)*
> * File
> "/home/oscar/anaconda/lib/python2.7/site-packages/statsmodels/base/model.py",
> line 52, in __init__*
> * self.data = handle_data(endog, exog, missing, hasconst, **kwargs)*
> * File
> "/home/oscar/anaconda/lib/python2.7/site-packages/statsmodels/base/data.py",
> line 397, in handle_data*
> * return klass(endog, exog=exog, missing=missing, hasconst=hasconst,
> **kwargs)*
> * File
> "/home/oscar/anaconda/lib/python2.7/site-packages/statsmodels/base/data.py",
> line 78, in __init__*
> * self._check_integrity()*
> * File
> "/home/oscar/anaconda/lib/python2.7/site-packages/statsmodels/base/data.py",
> line 246, in _check_integrity*
> * if len(self.exog) != len(self.endog):*
> *TypeError: len() of unsized object*
>
> Thank you in advance!
>
> Oscar
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
More information about the MSNoise
mailing list