Python Multiprocessing of an object method
I have a python code that operates on measurements of devices. In one section, I have to apply a matching network to the measurement. I am handling everything related to rf measurement with Scikit Rf module and I am creating a circuit with the stuff I need, and then extract the network from the circuit with the .network attribute, and substitute it to the network attribute of my object.
This operation is pretty slow and I would like to speed it up by doing multiple matching in parallel. Note that this operation is done element by element and nothing is fed back to a main loop or anything, the only thing that gets updated is the .network attribute of my object (which is an rf.Network).