code: def spc2npow(spectrogram):
      """Calculate normalized power sequence from spectrogram
  
      Parameters
      ----------
      spectrogram : array, shape (T, `fftlen / 2 + 1`)
          Array of spectrum envelope
  
      Return
      ------
      npow : array, shape (`T`, `1`)
          Normalized power sequence
  
      """
  
      # frame based processing
      npow = np.apply_along_axis(_spvec2pow, 1, spectrogram)
  
      meanpow = np.mean(npow)
      npow = 10.0 * np.log10(npow / meanpow)
  
      return npow
  
imports: import argparse
  import fnmatch
  import multiprocessing
  import os
  import numpy
  import pysptk
  import pyworld
  import scipy
  from fastdtw import fastdtw
  from scipy.io import wavfile
  from scipy.signal import firwin, lfilter
label_desc: Use image node_id 3 for calling a global function with example usage: spc2npow(spectrogram) and returns: npow