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

Merge magnetic forward functions for prisms #448

Merged
merged 10 commits into from
Jan 10, 2024
Merged

Commits on Jan 5, 2024

  1. Merge prisms magnetic forward functions

    Merge the two forward functions for magnetic fields of rectangular
    prisms into a single one named `prism_magnetic` that includes a new
    `field` argument, mimicking the interface of the gravity forward
    functions. Update tests accordingly.
    santisoler committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    c4c5c9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b8d218 View commit details
    Browse the repository at this point in the history
  3. Start changing expected shape of magnetization

    Make the `prism_magnetic` function to ask magnetization vectors as
    a tuple of three arrays, where each one of these arrays.
    santisoler committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    7be5775 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    1bd9505 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    43e873b View commit details
    Browse the repository at this point in the history
  2. Update user guide to the new API

    Ditch the usage of `prism_magnetic_component` in the forward modelling
    pages, and change how the magnetization of the prisms is defined.
    santisoler committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    a62ed02 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4c631d View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Replace cast for shape and extend docstrings

    Replace the `cast` argument in the private functions for the `shape` of
    the expected output arrays. Extend the docstrings of those private
    functions.
    santisoler committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    8ab3042 View commit details
    Browse the repository at this point in the history
  2. Run make format

    santisoler committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    c73dacf View commit details
    Browse the repository at this point in the history
  3. Fix grammar

    Co-authored-by: India Uppal <[email protected]>
    santisoler and indiauppal authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    13684d7 View commit details
    Browse the repository at this point in the history