As described in #165, this offers something like a 40% speedup if you're repeatedly assembling a train of images from the same detector with the same geometry. I've tested it with a train of 176 AGIPD images, and I think I'm seeing that kind of improvement, although the actual timings are rather variable.
@ebadkamil @zhujun98 - I think this is something karaboFAI could make use of. Whether or not you intend to, it would be good if you could review this code, as you're familiar with using it for this kind of scenario.
As described in #165, this offers something like a 40% speedup if you're repeatedly assembling a train of images from the same detector with the same geometry. I've tested it with a train of 176 AGIPD images, and I think I'm seeing that kind of improvement, although the actual timings are rather variable.
@ebadkamil @zhujun98 - I think this is something karaboFAI could make use of. Whether or not you intend to, it would be good if you could review this code, as you're familiar with using it for this kind of scenario.