NSLS-II / pyCHX

chx_analysis_codes
BSD 3-Clause "New" or "Revised" License
5 stars 6 forks source link

ENH: make `get_eigerImage_per_file` configurable #75

Open mrakitin opened 2 years ago

mrakitin commented 2 years ago

This PR enables configuring get_eigerImage_per_file in compress_eigerdata(...) via passing a callable (a new kwarg func_images_per_file, that defaults to get_eigerImage_per_file) when using the function in notebooks. This is specifically useful when the dataset is from other sources than Eiger (e.g., from SRW).