darfix.core.mapping.generator#

darfix.core.mapping.generator(data, moments=None, indices=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