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

emg3d.TxMagneticDipole shows wrong coordinates. #311

Closed
prisae opened this issue Mar 30, 2023 · 0 comments · Fixed by #325
Closed

emg3d.TxMagneticDipole shows wrong coordinates. #311

prisae opened this issue Mar 30, 2023 · 0 comments · Fixed by #325
Labels
bug Something isn't working

Comments

@prisae
Copy link
Member

prisae commented Mar 30, 2023

> src = emg3d.TxMagneticDipole(coordinates=[0.0, 0.0, 0.0, 0.0, -0.5, 0.5])
> src
TxMagneticDipole: 1.0 A;
    e1={0.0; 0.7; 0.0} m; e2={-0.7; 0.0; 0.0} m

which are just the first two points of it,

> src.points
array([[ 0.        ,  0.70710678,  0.        ],
       [-0.70710678,  0.        ,  0.        ],
       [ 0.        , -0.70710678,  0.        ],
       [ 0.70710678,  0.        ,  0.        ],
       [ 0.        ,  0.70710678,  0.        ]])
prisae added a commit that referenced this issue Mar 5, 2024
@prisae prisae linked a pull request Mar 5, 2024 that will close this issue
prisae added a commit that referenced this issue Mar 5, 2024
@prisae prisae added the bug Something isn't working label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant