def muldata(data,mul):
  """
  muldata(data,mul)

  Multiplies data with a given multiplier, and returns the result.

  Parameters
  ----------
  data : numpy.ndarray
    The data to multiply
  mul : float
    The multiplier to multiply the data with

  Returns
  -------
  The data multiplied by the multiplier.
  """
  return mul*data