code: def root_mean_square(signal):
      """
      Compute the root mean square of a (framed) signal. This can be used as a
      measurement of power.
  
      Parameters
      ----------
      signal : numpy array
          Signal.
  
      Returns
      -------
      rms : float
          Root mean square of the signal.
  
      Notes
      -----
      If `signal` is a `FramedSignal`, the root mean square is computed for each
      frame individually.
  
      """
      # compute the root mean square for every frame of the signal
      if isinstance(signal, FramedSignal):
          return np.array([root_mean_square(frame) for frame in signal])
      return np.sqrt(energy(signal) / signal.size)
  
imports: from __future__ import absolute_import, division, print_function
  import warnings
  import numpy
  from ..processors import BufferProcessor, Processor
  from ..utils import integer_types
label_desc: Use image node_id 10 for calling a global function with example usage: root_mean_square(signal) and returns: np, np