Check out the Hyperspy Workshop May 13-17, 2024 Online

get_g2_2d_kresolved#

InSituDiffraction2D.get_g2_2d_kresolved(time_axis=2, normalization='split', k1bin=1, k2bin=1, tbin=1, resample_time=None)[source]#

Calculate k resolved g2 from in situ diffraction signal

Parameters:
  • time_axis (int) – Index of time axis. Default is 2

  • normalization (string, Default is ‘split’) – Normalization format for time autocorrelation, ‘split’ or ‘self’

  • k1bin (int) – Binning factor for k1 axis

  • k2bin (int) – Binning factor for k2 axis

  • tbin (int) – Binning factor for t axis

  • resample_time (int or np.array, Default is None) – If int, time is resample into log linear with resample_time as number of sampling. If array, it is used as resampled time axis instead. No resampling is performed if None

Returns:

g2kt – k resolved time correlation signal

Return type:

Signal2D or Correlation2D