Jul
20
awarded Student
Jul
20
asked Techniques for dealing with unevenly spaced time series data that have missing time-stamps?
Jul
9
comment How to normalize predesigned IIR filter coefficients to have unity gain?
though there is a bit of attenuation in the signal parts where sharp spikes are, like short impulses, the dynamic range is attenuated about 2 times. may be the effect of high frequency filtering
Jul
9
comment How to normalize predesigned IIR filter coefficients to have unity gain?
can you direct me to the approach? I've looked at the filter frequency response and at frequency of 0 the max value is indeed 36
Jul
9
accepted How to normalize predesigned IIR filter coefficients to have unity gain?
Jul
9
comment How to normalize predesigned IIR filter coefficients to have unity gain?
that is from w,h = scipy.signal.freqz(b,a) examination of first values in h?
Jul
9
comment How to normalize predesigned IIR filter coefficients to have unity gain?
thank you, let me have a try. how did you manage to estimate it? I've got another high pass filter with a similar problem
Jul
9
asked How to normalize predesigned IIR filter coefficients to have unity gain?
Jul
7
comment Accessing Python 'private' class instance attributes inside class instance methods without name mangling
@MartijnPieters you may close the question by providing that answer :)
Jul
7
comment Accessing Python 'private' class instance attributes inside class instance methods without name mangling
@MartijnPieters ahh, yes that duck typing. I was confused during debugging in console which trying to print self.__ variables
Jul
7
comment Accessing Python 'private' class instance attributes inside class instance methods without name mangling
@MartijnPieters I have a composition. class Bar: __b and class Foo: __f I create b = Bar([0,1,2,3,4]) and __b is set that list in __init__ Then I create f = Foo(b) and __f = b in __init__ Then I call Foo instance method get_length() which calls self.__f.get_length() Bar has also get_length() defined that returns len(self.__b) If I call b.get_length() there are no problems if I call f.get_length() then NoneType:None is returned type(l) = that <class 'NoneType'>
Jul
7
comment Accessing Python 'private' class instance attributes inside class instance methods without name mangling
@MartijnPieters let me check if there is a bug in my code. I have <class 'NoneType'> accessing __a variable
Jul
7
comment Accessing Python 'private' class instance attributes inside class instance methods without name mangling
@MartijnPieters maybe there are some meta-programming patterns to solve it
Jul
7
revised Accessing Python 'private' class instance attributes inside class instance methods without name mangling
elucidated the referred problem of name mangling bypassing from inside of the class instance methods
Jul
7
comment Accessing Python 'private' class instance attributes inside class instance methods without name mangling
@DanielHepper I was asking if it was possible to access it without name mangling self.__a Using name mangling inside a class for private variable access is looking a bit ugly self._Foo__a
Jul
7
asked Accessing Python 'private' class instance attributes inside class instance methods without name mangling
Jun
25
awarded Scholar
Jun
25
accepted Denoising approach for a combination of several ADC voltage channles
Jun
25
comment Denoising approach for a combination of several ADC voltage channles
yes, I also compared the actual results on the test data
Jun
25
asked Denoising approach for a combination of several ADC voltage channles
1 2 3 4 5