Skip to content
Snippets Groups Projects
Commit a29098fb authored by Marco Biasini's avatar Marco Biasini
Browse files

implement __getitem__/__setitem__ for image handle

im.SetReal(p, im.GetReal(p)+1) can now be written as im[p]+=1. If
the image is of complex type, im[p]+=1 expands to
im.SetComplex(p, im.GetComplex(p)+1)
parent b79cf5e0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment