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

Magnetic field of dipoles in Cartesian coordinates #414

Merged
merged 15 commits into from
Jun 1, 2023
Merged

Magnetic field of dipoles in Cartesian coordinates #414

merged 15 commits into from
Jun 1, 2023

Commits on May 19, 2023

  1. Add magnetic forward functions for dipoles

    Add forward modelling functions for dipoles: `dipole_magnetic` and
    `dipole_magnetic_component`. The first one computes the three components
    of the magnetic field, while the latter computes only one of them.
    The forward modelling is done using the Choclo functions for dipoles.
    santisoler committed May 19, 2023
    Configuration menu
    Copy the full SHA
    19fcec1 View commit details
    Browse the repository at this point in the history
  2. Add important note on dipole_magnetic_component

    Inform users that they should use `dipole_magnetic` if they want to
    compute the three components of the magnetic vector.
    santisoler committed May 19, 2023
    Configuration menu
    Copy the full SHA
    aecf217 View commit details
    Browse the repository at this point in the history
  3. Run format

    santisoler committed May 19, 2023
    Configuration menu
    Copy the full SHA
    3dd3bb5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e984d5c View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Configuration menu
    Copy the full SHA
    f07f15a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2371ec View commit details
    Browse the repository at this point in the history
  3. Fix minor typo

    santisoler authored May 26, 2023
    Configuration menu
    Copy the full SHA
    1b14a12 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b285a9c View commit details
    Browse the repository at this point in the history
  5. Write private function to avoid repeating code

    Add a private function to check the shape and size of dipoles and
    magnetic moment vectors that is reused by the two magnetic forward
    modelling functions.
    santisoler committed May 26, 2023
    Configuration menu
    Copy the full SHA
    53543d8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dc29439 View commit details
    Browse the repository at this point in the history
  7. Add user guide page with examples for magnetic dipoles

    Add a new user guide page with examples on how to compute the magnetic
    fields generated by dipoles.
    santisoler committed May 26, 2023
    Configuration menu
    Copy the full SHA
    de91573 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e8461d3 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Fix typos in docstrings

    Co-authored-by: Lu Li <[email protected]>
    santisoler and LL-Geo authored Jun 1, 2023
    Configuration menu
    Copy the full SHA
    488bf02 View commit details
    Browse the repository at this point in the history
  2. Replace gravitational for magnetic in docstrings

    Co-authored-by: Lu Li <[email protected]>
    santisoler and LL-Geo authored Jun 1, 2023
    Configuration menu
    Copy the full SHA
    65e88ff View commit details
    Browse the repository at this point in the history
  3. Fix direction of arrows in dipole figure

    Also, fix color of arrow head in Chrome-based browsers.
    santisoler committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    de08fb1 View commit details
    Browse the repository at this point in the history