Frame counts when aggregating RIXS data
It seems that the aggregate() function of the hRIXS class does not keep track of how many images are in each bin, which can be useful for information / normalization / calculation of errors.
The aggregate() function could add a counts variable for this.
It could be used for instance to tailor the normalize() function that would allow to select either hRIXS_norm or counts as the normalizing signal, if it makes any sense for RIXS analysis.
Edited by Laurent Mercadier