code: def pow2db(power: float, eps: Optional[float] = 1e-16) -> float:
      """Convert power ratio from linear scale to dB.
  
      Args:
          power: power ratio in linear scale
          eps: small regularization constant
  
      Returns:
          Power in dB.
      """
      return 10 * np.log10(power + eps)
  
imports: import math
  from typing import Iterable, Optional, Union
  import librosa
  import numpy
  import numpy.typing
  import scipy
  import soundfile
  import torch
  from scipy.spatial.distance import pdist, squareform
  from nemo.utils import logging
label_desc: Use image node_id 11 for calling a global function with example usage: pow2db(power, eps) and returns: unknown