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

Method channelMean

pytta/classes/signal.py:435–444  ·  view source on GitHub ↗

Returns a signal object with the arithmetic mean channel-wise (column-wise) with same number of samples and sampling rate.

(self)

Source from the content-addressed store, hash-verified

433 return self.channelMean()
434
435 def channelMean(self):
436 """
437 Returns a signal object with the arithmetic mean channel-wise
438 (column-wise) with same number of samples and sampling rate.
439 """
440 print('New method name in version 0.1.0!',
441 'Remember to review your code.')
442 return SignalObj(signalArray=np.mean(self.timeSignal, axis=1,
443 dtype=self.timeSignal.dtype),
444 lengthDomain='time', samplingRate=self.samplingRate)
445
446
447 def max_level(self):

Callers 1

meanMethod · 0.95

Calls 2

SignalObjClass · 0.85
meanMethod · 0.80

Tested by

no test coverage detected