pyFAI icon indicating copy to clipboard operation
pyFAI copied to clipboard

IO-less calibration

Open CJ-Wright opened this issue 8 years ago • 3 comments

Currently Calibration requires a valid file path for Calibration.pointfile. Can this be done in memory? It would be nice to separate the actual data processing from the file handling.

CJ-Wright avatar Aug 25 '17 17:08 CJ-Wright

HI. I agree, but i hope pyFAI-calib2 will be soon ready to replace pyFAI-calib soon. Or do you use this class with your own script? Anyway fill free to send a patch if you like.

vallsv avatar Sep 04 '17 16:09 vallsv

We use the class inside a larger library.

CJ-Wright avatar Sep 04 '17 16:09 CJ-Wright

I think this can be done without too much problems ... The peak-picker itself and the control-point underneath work properly without "pointfile" as demonstrated in this tutorial: https://github.com/silx-kit/pyFAI/blob/master/doc/source/usage/tutorial/Goniometer/Rotation-Pilatus100k/Multi120_Pilatus100k.ipynb

Please feel free to submit a patch.

kif avatar Sep 14 '17 08:09 kif