This repository has been archived by the owner on Dec 22, 2021. It is now read-only.
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.
Implement all field components in fatiando.gravmag.sphere
#16
Milestone
The sphere forward modeling module needs more fields. In 0.1 it only has the total field magnetic anomaly (
sphere.tf
) and the vertical component of gravity (sphere.gz
). This module is used in the equivalent layer module for processing, so it is very important to have as many field components and derivatives here as possible.The implementation is very simple (just copy what was done in the
gz
andtf
functions) and the formula for spheres are simple to derive.Fields needed:
potential
: gravitational potentialgx
,gy
: the x and y components of the gravitational attractiongxx
,gxy
,gxz
,gyy
,gyz
,gzz
: gravity gradient tensortfx
,tfy
,tfz
: x, y, and z derivatives of the total field magnetic anomalyAll features implemented require a cookbook recipe to go along with it that demonstrates the functionality. To do this, simple create files in the
cookbook
directory that calculate the fields. You can just copy or extend this recipe https://github.com/leouieda/fatiando/blob/devel/cookbook/gravmag_grav_sphere.pyThe text was updated successfully, but these errors were encountered: