[MSNoise] (no subject)

Thomas Lecocq thlecocq at gmail.com
Wed Mar 26 06:22:00 UTC 2014


Hello Oscar,



2014-03-25 15:31 GMT+01:00 Oscar Alberto Castro Artola <
oscar.cas.art at gmail.com>:

> Hello Thomas,
>
> first of all, thank you for your time!

My pleasure, I'm really happy to see people are using MSNoise.


> The filters that I am using are the
> following:
>
> ref low mwcs_low high mwcs_high rms_threshold mwcs_wlen mwcs_step used
> 1 0.03 0.03 0.2 0.2 3 10 5 1
>
That seems to be OK, there should be enough points for the linear
regression... Well, depending on the sampling_rate of the CCFs ? Did you
leave the default 20Hz value ?

>
> Attached you will find a copy of my Configuration table.

This attachment did not make it..

Cheers

Thomas



> I really
> appreciate your help! Greetings from Mexico!
>


>
> Oscar
>
>
> On Tue, Mar 25, 2014 at 4:40 AM, Thomas Lecocq <thomas.lecocq at oma.be>
> wrote:
>
> > Hello Oscar,
> >
> > for Esteban, it seems the problems comes from a too-narrow frequency band
> > in the MWCS, which doesn't provide enough (any) points for computing the
> > phase shift (weighted linear regression).
> >
> > What are the filters you use ?
> >
> > Best regards,
> >
> > Thomas
> >
> > Le 21/03/2014 23:30, Thomas Lecocq a écrit :
> >
> >  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
> >>>
> >>
> >> _______________________________________________
> >> MSNoise mailing list
> >> MSNoise at mailman-as.oma.be
> >> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>
> >
> > _______________________________________________
> > MSNoise mailing list
> > MSNoise at mailman-as.oma.be
> > http://mailman-as.oma.be/mailman/listinfo/msnoise
> >
> >
>
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>


More information about the MSNoise mailing list