code: def sample_indexes(segyfile, t0=0.0, dt_override=None):
      
      if dt_override is None:
          dt_override = dt(segyfile)
  
      return [t0 + t * dt_override for t in range(len(segyfile.samples))]
docs: Creates a list of values representing the samples in a trace at depth or time.
      The list starts at *t0* and is incremented with am*dt* for the number of samples.
      If a *dt_override* is not provided it will try to find a *dt* in the file.
  
  
      Parameters
      ----------
      segyfile :  segyio.SegyFile
      t0 : float
          initial sample, or delay-recording-time
      dt_override : float or None
  
      Returns
      -------
      samples : array_like of float
  
      Notes
      -----
  
      .. versionadded:: 1.1