MCPcopy Create free account
hub / github.com/PyTTaMaster/PyTTa / mean_squared

Function mean_squared

pytta/classes/analysis.py:1170–1171  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1168 numSamples, numChannels, blockSamples=None):
1169 """Get h(t) in octave bands and do the local time averaging in nblocks. Returns h^2_averaged(block)."""
1170 def mean_squared(x):
1171 return np.mean(x**2)
1172
1173 if blockSamples is None:
1174 blockSamples = 100

Callers 1

_level_profileFunction · 0.85

Calls 1

meanMethod · 0.80

Tested by

no test coverage detected