Is it possible to plot the drift lines offline?

I have noticed that it takes a lot of time for the drift lines of electrons and ions to be plotted. So, is there any way to save the drift data for later processing?

that’s actually what’s done in the ViewDrift class. After calling EnablePlotting it will store every drift line that you simulate. There is no function at the moment to retrieve the stored drift lines from ViewDrift but it’s easy to implement. Would that be useful for you?

That would be useful for my case. I don’t want to plot the drift lines every time but would like to store that information for later.

sorry for the delay. I’ve added two small functions to ViewDrift to retrieve the number of stored drift lines and the drift line coordinates:

Let me know if there is a problem…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.