Closed cwahn closed 2 weeks ago
I am sorry. The problem was related with the indexing of the grid, not Magpylib. Closing the issue.
hey @cwahn
sorry for this slow reaction on our side
Very nice plots you are making :)
one comment: when you have a problem its best to publish only a minimal example that reproduces the error. You posted more than 200 lines of code - its quite readable but still :).
glad you figured it out right away by yourself
br michael
What is your question?
Hello guys, I'm quite new to the magpylib.
I am simulating the magnetic field of a radially magnetized ring-shaped magnet. I followed the example and I managed to find the magnetic field plot as I expected.
The design problem has strict conditions regarding the minimum and maximum magnetic field intensity. So I tried to visualize and also analyze the characteristics of magnetic fields on a certain path.
However, the problem is when I plot the magnetic field, it's spiking and rather not a random pattern when it seems smooth on visualization. Doesn't seem like a quantization error or an actual issue of the library, but I cannot find a reason.
What could be possibly wrong?