<human>:  Write me a Python function to create a random noise bandwidth.
<bot>: Here is a Python function to create a random noise bandwidth

import numpy as np

def noise_bandwidth(f):
  """Return the noise bandwidth of a filter.
  The noise bandwidth is the frequency range over which the filter
  passes noise.
  """
  return 2 * f

# Enter the frequency
f = 1000

# Calling the function
print((noise_bandwidth(f)))

#Example Output
# 2000

#Remember to inspect code for bugs.