MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / transform

Function transform

app/rcc/scripts/transforms/js/ema.js:18–24  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

16var ema;
17
18function transform(value) {
19 if (ema === undefined)
20 ema = value;
21
22 ema = alpha * value + (1 - alpha) * ema;
23 return ema;
24}

Callers 15

transformMethod · 0.50
transform_realMethod · 0.50
transformMethod · 0.50
operator()Method · 0.50
ChannelHierarchiesMethod · 0.50
AttachmentsMethod · 0.50
FileHistoriesMethod · 0.50
EventsMethod · 0.50
ChannelHierarchiesMethod · 0.50
DataGroupsMethod · 0.50
zh_CN.tsFile · 0.50
sv_SE.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected