code: def read_audio_format_from_wav_file(wav_file):
      return AudioFormat(
          wav_file.getframerate(),
          wav_file.getnchannels(),
          wav_file.getsampwidth(),
      )
  
imports: import collections
  import ctypes
  import io
  import math
  import numpy
  import os
  import pyogg
  import tempfile
  import wave
  from .helpers import LimitingPool
  from collections import namedtuple
  from .io import open_remote, remove_remote, copy_remote, is_remote_path
label_desc: Use image node_id 4 for calling a global function with example usage: read_audio_format_from_wav_file(wav_file) and returns: AudioFormat