get_strain_maps#

DiffractionVectors.get_strain_maps(unstrained_vectors, distance=0.5, columns=None, return_residuals=False)[source]#

Calculate the strain map from the diffraction vectors.

Parameters:
  • unstrained_vectors (DiffractionVectors) – The unstrained vector to be used to calculate the strain map. If None, the unstrained vector will be calculated from the diffraction vectors.

  • columns (list) – The columns of the diffraction vectors to be used to calculate the strain map. If None, the first two columns will be used.

Returns:

strain_map – The strain map.

Return type:

Signal2D