code: func (r *EwmaRate) Init(halfLife time.Duration) *EwmaRate {
  	r.Ewma.Init(halfLife)
  	return r
  }
docs: // Initialize already allocated NewEwmaRate structure
  //
  // halfLife it the time takes for a half charge or half discharge