Skip to content

MagneticFieldViewer #45

@tknopp

Description

@tknopp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions