<commit_before>"""
Calculate the potential fields of the 3D right rectangular prism.

**Gravity**

The gravitational fields are calculated using the forumla of Nagy et al. (2000)

* :func:`~fatiando.gravmag._prism.potential`
* :func:`~fatiando.gravmag._prism.gx`
* :func:`~fatiando.gravmag._prism.gy`
* :func:`~fatiando.gravmag._prism.gz`
* :func:`~fatiando.gravmag._prism.gxx`
* :func:`~fatiando.gravmag._prism.gxy`
* :func:`~fatiando.gravmag._prism.gxz`
* :func:`~fatiando.gravmag._prism.gyy`
* :func:`~fatiando.gravmag._prism.gyz`
* :func:`~fatiando.gravmag._prism.gzz`

**Magnetic**

The Total Field anomaly is calculated using the formula of Bhattacharyya (1964).

* :func:`~fatiando.gravmag._prism.tf`

**References**

<NAME>. (1964), Magnetic anomalies due to prism-shaped bodies with
arbitrary polarization, Geophysics, 29(4), 517, doi: 10.1190/1.1439386.

<NAME>., <NAME>, and <NAME> (2000), The gravitational potential and its
derivatives for the prism: Journal of Geodesy, 74, 552--560,
doi: 10.1007/s001900000116.

----

"""
from fatiando.gravmag._prism import *
try:
    from fatiando.gravmag_cprism import *
except ImportError:
    pass<commit_msg>Bug fix in gravmag.prism: wasnt importing cython modules because of typo<commit_after>"""
Calculate the potential fields of the 3D right rectangular prism.

**Gravity**

The gravitational fields are calculated using the forumla of Nagy et al. (2000)

* :func:`~fatiando.gravmag._prism.potential`
* :func:`~fatiando.gravmag._prism.gx`
* :func:`~fatiando.gravmag._prism.gy`
* :func:`~fatiando.gravmag._prism.gz`
* :func:`~fatiando.gravmag._prism.gxx`
* :func:`~fatiando.gravmag._prism.gxy`
* :func:`~fatiando.gravmag._prism.gxz`
* :func:`~fatiando.gravmag._prism.gyy`
* :func:`~fatiando.gravmag._prism.gyz`
* :func:`~fatiando.gravmag._prism.gzz`

**Magnetic**

The Total Field anomaly is calculated using the formula of Bhattacharyya (1964).

* :func:`~fatiando.gravmag._prism.tf`

**References**

<NAME>. (1964), Magnetic anomalies due to prism-shaped bodies with
arbitrary polarization, Geophysics, 29(4), 517, doi: 10.1190/1.1439386.

<NAME>., <NAME>, and <NAME> (2000), The gravitational potential and its
derivatives for the prism: Journal of Geodesy, 74, 552--560,
doi: 10.1007/s001900000116.

----

"""
from fatiando.gravmag._prism import *
try:
    from fatiando.gravmag._cprism import *
except ImportError:
    pass
{'fraction_non_alphanumeric': 0.15058724832214765, 'fraction_numerical': 0.05285234899328859, 'mean_word_length': 5.227154046997389, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6115424', 'n_tokens_mistral': 1009, 'n_tokens_neox': 876, 'n_words': 203}