code: def fetch_LIGO_bigdog(data_home=None, download_if_missing=True):
      """Loader for LIGO bigdog event
  
      Parameters
      ----------
      data_home : optional, default=None
          Specify another download and cache folder for the datasets. By default
          all astroML data is stored in '~/astroML_data'.
  
      download_if_missing : optional, default=True
          If False, raise a IOError if the data is not locally available
          instead of trying to download the data from the source site.
  
      Returns
      -------
      data : record array
          The data is 10 seconds of measurements from three sites, along with
          the time of each measurement.
  
      Examples
      --------
      >>> from astroML.datasets import fetch_LIGO_bigdog
      >>> data = fetch_LIGO_bigdog()  # doctest: +IGNORE_OUTPUT +REMOTE_DATA
      >>> print(data.dtype.names)  # doctest: +REMOTE_DATA
      ('t', 'Hanford', 'Livingston', 'Virgo')
      >>> print(data['t'][:3])  # doctest: +REMOTE_DATA
      [  0.00000000e+00   6.10400000e-05   1.22070000e-04]
      >>> print(data['Hanford'][:3])  # doctest: +REMOTE_DATA
      [  1.26329846e-17   1.26846778e-17   1.19187381e-17]
      """
      data_home = get_data_home(data_home)
  
      local_file = os.path.join(data_home, LOCAL_FILE)
  
      if os.path.exists(local_file):
          data = np.load(local_file)
  
      else:
          if not download_if_missing:
              raise IOError(
                  "data not present on disk. "
                  "set download_if_missing=True to download"
              )
  
          print(
              "downloading LIGO bigdog data from %s to %s"
              % (DATA_URL, local_file)
          )
  
          buffer = download_with_progress_bar(
              DATA_URL, return_buffer=True
          )
          data = np.loadtxt(
              buffer,
              skiprows=2,
              dtype=[
                  ("t", "f8"),
                  ("Hanford", "f8"),
                  ("Livingston", "f8"),
                  ("Virgo", "f8"),
              ],
          )
          np.save(local_file, data)
  
      return data
  
file_path: astroML/astroML/datasets/LIGO_bigdog.py
imports: import os
  from io import BytesIO
  from gzip import GzipFile
  import numpy
  from .None import get_data_home
  from .tools import download_with_progress_bar
label_desc: Use image node_id 2 for calling a global function with example usage: fetch_LIGO_bigdog(data_home, download_if_missing) and returns: data