docs: def intensities(self):
          """
          :returns: peak intensities
          :rtype: list of floats
          """
          buf = ffi.new("double[]", self.size)
          ims.spectrum_intensities(self.ptr, buf)
          return list(buf)