code: def callable_freq_to_angular(fn):
      """Add a factor of 2pi to a callable result to convert from Hz to rad/s"""
  
      def angular_fn(p, t):
          return 2 * np.pi * fn(p, t)
  
      return angular_fn
  
imports: import warnings
  from dataclasses import dataclass
  from typing import Callable, List, Union
  import numpy
  import pennylane
  from pennylane.pulse import HardwareHamiltonian
  from pennylane.pulse.hardware_hamiltonian import HardwarePulse
  from pennylane.typing import TensorLike
  from pennylane.wires import Wires
label_desc: Use image node_id 4 for calling a global function with example usage: callable_freq_to_angular(fn) and returns: angular_fn, unknown