module StumpyCore::Utils
Defined in:
stumpy_core/utils.crClass Method Summary
-
.scale_from_to(input, from, to)
Helper method, scale a value
input
fromfrom
bits resolution toto
bits resolution. -
.scale_up(input, from)
Helper method, scale a value
input
fromfrom
bits resolution to 16 bits.
Class Method Detail
def self.scale_from_to(input, from, to)
#
Helper method,
scale a value input
from from
bits resolution
to to
bits resolution.
def self.scale_up(input, from)
#
Helper method,
scale a value input
from from
bits resolution
to 16 bits.