tested with SPE data format (ESRF)