def totalAvailableSamples(packet, nPoints, scale):
  """
  Compute the total number of available plots available for a
  given packet as well as the number of data points in a single
  plot.

  Args:
    packet (np array): Complete set of demodulated data.
    nPoints (int): Number of complete set of data points to plot,
      usually set by the global 'nPoints'.
    scale (int): 1 if plotting data points with no interpolation,
      or 8 if using 8 point interpolation.

  Returns:
    tuple: Tuple containing:

    * Number of points for each sample (int).
    * Total number of plots that can be plotted for this packet (int)
  """
  nPointsSampleNum = ((nPoints * 2) * scale) + scale
  packetSize = packet.size
  
  return nPointsSampleNum, int(packet.size / nPointsSampleNum)