Skip to content

Add frame python binding

Samuel Debionne requested to merge add-frame-python-binding into develop

Add a python binding for the frame class.

Usage is as follow:

import lima, numpy

frm = lima.Frame(10, 10, lima.Pixel.BBP64F)

# metadata are readonly and are usually set by the acquisition
print(frm.metadata)

# append a key value to the attribute dict
f.attributes.update({"test": "hello, world!"})

# manipulate the data with numpy
data = numpy.array(f, copy=False)
print(data)
Edited by Samuel Debionne

Merge request reports