darfix.core.mapping.generator_2d#

darfix.core.mapping.generator_2d(data, moments=None)[source]#

Generator that returns the rocking curve for every pixel

Parameters:
  • data (ndarray) – data to analyse

  • moments (Union[None, ndarray]) – array of same shape as data with the moments values per pixel and image, optional