Skip to main content

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

Project description

<img src=”https://github.com/fatiando/harmonica/raw/main/doc/_static/readme-banner.png” alt=”Harmonica”>

<h1 align=”center”>Harmonica</h1>

<h2 align=”center”>Processing and modelling gravity and magnetic data</h2>

<p align=”center”> <a href=”https://www.fatiando.org/harmonica”><strong>Documentation</strong> (latest)</a> • <a href=”https://www.fatiando.org/harmonica/dev”><strong>Documentation</strong> (main branch)</a> • <a href=”https://github.com/fatiando/harmonica/blob/main/CONTRIBUTING.md”><strong>Contributing</strong></a> • <a href=”https://www.fatiando.org/contact/”><strong>Contact</strong></a> </p>

<p align=”center”> Part of the <a href=”https://www.fatiando.org”><strong>Fatiando a Terra</strong></a> project </p>

<p align=”center”> <a href=”https://pypi.python.org/pypi/harmonica”> <img src=”http://img.shields.io/pypi/v/harmonica.svg?style=flat-square” alt=”Latest version on PyPI” /> </a> <a href=”https://github.com/fatiando/harmonica/actions”> <img src=”https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Ffatiando%2Fharmonica%2Fbadge%3Fref%3Dmain&amp;style=flat-square&amp;logo=none” alt=”GitHub Actions status” /> </a> <a href=”https://codecov.io/gh/fatiando/harmonica”> <img src=”https://img.shields.io/codecov/c/github/fatiando/harmonica/main.svg?style=flat-square” alt=”Test coverage status” /> </a> <a href=”https://pypi.python.org/pypi/harmonica”> <img src=”https://img.shields.io/pypi/pyversions/harmonica.svg?style=flat-square” alt=”Compatible Python versions.” /> </a> <a href=”https://doi.org/10.5281/zenodo.3628741”> <img src=”https://img.shields.io/badge/doi-10.5281%2Fzenodo.3628741-blue.svg?style=flat-square” alt=”Digital Object Identifier for the Zenodo archive” /> </a> </p>

# Disclaimer

🚨 This package is in early stages of design and implementation. 🚨

We welcome any feedback and ideas! Let us know by submitting [issues on Github](https://github.com/fatiando/harmonica/issues) or send us a message on our [Slack chatroom](http://contact.fatiando.org).

# 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](https://www.fatiando.org/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](https://github.com/fatiando/harmonica/milestones) for short-term goals.

Things that will not be covered in Harmonica:

# Contacting Us

# Contributing

## Code of conduct

Please note that this project is released with a [Contributor Code of Conduct](https://github.com/fatiando/harmonica/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.

## Contributing Guidelines

Please read our [Contributing Guide](https://github.com/fatiando/harmonica/blob/main/CONTRIBUTING.md) to see how you can help and give feedback.

## 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 to be an open source contributor; that your skills aren’t nearly good enough to contribute. What could you possibly offer?

We assure you that the little voice in your head is wrong.

Being a contributor doesn’t just mean writing code. Equally important contributions include: writing or proof-reading documentation, suggesting or implementing tests, or even giving feedback about the project (including giving feedback about the contribution process). If you’re coming to the project with fresh eyes, you might see the errors and assumptions that seasoned contributors have glossed over. If you can write any code at all, you can contribute code to open source. We are constantly trying out new skills, making mistakes, and learning from those mistakes. That’s how we all improve and we are happy to help others learn.

This disclaimer was adapted from the [MetPy project](https://github.com/Unidata/MetPy).

# 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](https://github.com/fatiando/harmonica/blob/main/LICENSE.txt).

# Documentation for other versions

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.5.0.tar.gz (110.4 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.5.0-py3-none-any.whl (125.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: harmonica-0.5.0.tar.gz
  • Upload date:
  • Size: 110.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for harmonica-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d0e508675996cec171c704ae30199a2bc0f1c0b81b2f50a56558442440c92888
MD5 6c84ddad713adb20156ff2e9599a6bb5
BLAKE2b-256 ba6a097c3d9bf182a7efddf76bb2cac21a2f7650174865c972348aff64f429bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: harmonica-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 125.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for harmonica-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b9b2317494bef83aedf09d0463394c45290b69f9b92934552c164a59158a4f6
MD5 c8e1f6e4ba8cdf765427150116380e8e
BLAKE2b-256 97c5bd442fd3843c992a703f53e0857432227fb83f7cc140fe2e4fab7c94fd02

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