code: def snr_ratio(in1, in2):
      
  
      out1 = 20*(np.log10(np.linalg.norm(in1)/np.linalg.norm(in1-in2)))
  
      return out1
docs: The following function simply calculates the signal to noise ratio between two signals.
  
      INPUTS:
      in1         (no default):   Array containing values for signal 1.
      in2         (no default):   Array containing values for signal 2.
  
      OUTPUTS:
      out1                        The ratio of the signal to noise ratios of two signals.