3D Magnetic Field Plot
Plots the data of a data set given the magnetic field. The components of the plot are the original magnetic field represented with a black cage, the distorted magnetic plot as an orange cage, and the samples of the magnetic field as blue dots.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
soft_iron |
ndarray
|
Soft-iron matrix as a (3, 3) numpy array. |
required |
hard_iron |
ndarray
|
Hard-iron matrix as a (3, 1) numpy array. |
required |
magnetic_field |
ndarray
|
Magnetic field in G as a (n, 3) numpy array. |
required |
local_magnetic_field |
ndarray
|
Local magnetic field in G as a (3, ) numpy array. |
required |
save |
str
|
Directory to save the plots as a string. |
''
|
Source code in magyc/plots/plots.py
473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 |
|