Skip to main content

"Forward modeling, inversion, and processing gravity and magnetic data"

Project description

Harmonica

Processing and modelling gravity and magnetic data

Documentation (latest)Documentation (main branch)ContributingContact

Part of the Fatiando a Terra project

Latest version on PyPI Latest version on conda-forge Test coverage status Compatible Python versions. Digital Object Identifier for the Zenodo archive

About

Harmonica is a Python library for processing and modeling gravity and magnetic data. It includes common processing steps, like calculation of Bouguer and terrain corrections, reduction to the pole, upward continuation, equivalent sources, and more. There are forward modeling functions for basic geometric shapes, like point sources, prisms and tesseroids. The inversion methods are implemented as classes with an interface inspired by scikit-learn (like Verde).

Project goals

These are the long-term goals for Harmonica:

  • Efficient, well designed, and fully tested code for gravity and magnetic data.
  • Cover the entire data life-cycle: from raw data to 3D Earth model.
  • Focus on best-practices to discourage misuse of methods, particularly inversion.
  • Easily extended code to enable research on the development of new methods.

See the GitHub milestones for short-term goals.

Things that will not be covered in Harmonica:

  • Multi-physics partial differential equation solvers. Use SimPEG or PyGIMLi instead.
  • Generic grid processing methods (like horizontal derivatives and FFT). We'll rely on Verde, xrft and xarray for those.
  • Data visualization.
  • GUI applications.

Project status

🚨 Harmonica is in early stages of design and implementation. 🚨

We welcome any feedback and ideas! Let us know by submitting issues on GitHub or joining our community.

Getting involved

🗨️ Contact us: Find out more about how to reach us at fatiando.org/contact.

👩🏾‍💻 Contributing to project development: Please read our Contributing Guide to see how you can help and give feedback.

🧑🏾‍🤝‍🧑🏼 Code of conduct: This project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.

Imposter syndrome disclaimer: We want your help. No, really. There may be a little voice inside your head that is telling you that you're not ready, that you aren't skilled enough to contribute. We assure you that the little voice in your head is wrong. Most importantly, there are many valuable ways to contribute besides writing code.

This disclaimer was adapted from the MetPy project.

License

This is free software: you can redistribute it and/or modify it under the terms of the BSD 3-clause License. A copy of this license is provided in LICENSE.txt.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harmonica-0.6.0.tar.gz (339.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harmonica-0.6.0-py3-none-any.whl (360.8 kB view details)

Uploaded Python 3

File details

Details for the file harmonica-0.6.0.tar.gz.

File metadata

  • Download URL: harmonica-0.6.0.tar.gz
  • Upload date:
  • Size: 339.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for harmonica-0.6.0.tar.gz
Algorithm Hash digest
SHA256 5a57bc0d76accaf187c0c5f3eed81274cc354e3bf01aa38bf7f4a5f15bf4dda7
MD5 10c2f14bb19ad0e4a3165e51abef6383
BLAKE2b-256 05bf0208c8c8e3daa04f1ed80223671f1dfcc4f3c41ab28273cbcc6649678e88

See more details on using hashes here.

File details

Details for the file harmonica-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: harmonica-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 360.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for harmonica-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 281958ea40fc6aac2aa04c861da22a94edb38d8c5cfe2817b4ff078eea96bc1e
MD5 c820710daca78a4b551397f64f3fda86
BLAKE2b-256 3764c4bebdd4cd473d00622a0f7e5ad3b88e94910056139479e3a6019fb6227b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page