trend

Scipy implementation of Savitzky-Golay filter

安稳与你 提交于 2019-12-02 03:49:23
问题 I was looking at the scipy cookbook implementation of the Savitzky-Golay algorithm: #!python def savitzky_golay(y, window_size, order, deriv=0, rate=1): r"""Smooth (and optionally differentiate) data with a Savitzky-Golay filter. The Savitzky-Golay filter removes high frequency noise from data. It has the advantage of preserving the original shape and features of the signal better than other types of filtering approaches, such as moving averages techniques. Parameters ---------- y : array

Scipy implementation of Savitzky-Golay filter

不羁岁月 提交于 2019-12-01 23:21:34
I was looking at the scipy cookbook implementation of the Savitzky-Golay algorithm : #!python def savitzky_golay(y, window_size, order, deriv=0, rate=1): r"""Smooth (and optionally differentiate) data with a Savitzky-Golay filter. The Savitzky-Golay filter removes high frequency noise from data. It has the advantage of preserving the original shape and features of the signal better than other types of filtering approaches, such as moving averages techniques. Parameters ---------- y : array_like, shape (N,) the values of the time history of the signal. window_size : int the length of the window

Jenkins—get “Build Time Trend” values using “Remote Access API”

孤者浪人 提交于 2019-11-30 06:43:40
Is there a way that we can get all Jenkins-"Build Time Trend" information ( Build number + Status[success/failed etc] + Duration ) for an application; using the Jenkins remote access API? Or else I would appreciate if you could post a link of any documentation on how to get information from Jenkins using the Remote Access API. Most of the sources consist of the way of running jobs, but I couldn't find any, which shows how to fetch information from jenkins. Thanks! You can use something like this URL: http://jenkins:8080/job/MY-APPLICATION/api/json?tree=builds[number,id,timestamp,result