Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MagneticFieldViewer #45

Open
tknopp opened this issue Oct 1, 2022 · 0 comments
Open

MagneticFieldViewer #45

tknopp opened this issue Oct 1, 2022 · 0 comments

Comments

@tknopp
Copy link
Member

tknopp commented Oct 1, 2022

I merged functionality into Winston that allows to draw arrows. Here is the code

using Winston
x = repeat(range(1,15,length=15),1,15);
y = repeat(transpose(range(1,15,length=15)),15,1);
pl = Winston.imagesc(rand(15,15))
Winston.add( pl, Winston.Arrows(vec(x),vec(y),2*pi*rand(225,1),4*rand(225,1), 
              linewidth=3.0, color="white") )

This results in:
Bildschirmfoto 2022-10-01 um 09 44 59

We now could think about some nice magnetic field viewer. I imagine a 3D viewer with slices similar to the DataViewer. BasedViewer/SimpleDataViewer are reduced examples that one can use as a starting point.

@mboberg @nHackel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant