FABLE-3DXRD / fabian

GNU General Public License v3.0
1 stars 6 forks source link

Avoid patching img.data #14

Closed vallsv closed 5 years ago

vallsv commented 5 years ago

Hi again,

Here is, i think, a cleaner way to patch fabian.

It should work from fabio 0.7 up to 0.9.

It only avoid to patch img.data and using numpy instead.

Feel free to close it if you don't like it. That is why i created 2 patches.

Regards,

jonwright commented 5 years ago

This highlights some other bugs - the image flip, dark and flat are not applied for a rocking curve....

vallsv commented 5 years ago

And data.min is a function data.min(). Better to close it :-)

BTW, the last fabio dev branch should work.now, with the original code of fabian.