MTpy: A Python Toolbox for Magnetotelluric (MT) Data Processing, Analysis, Modelling and Visualization
A Python Toolbox for Magnetotelluric (MT) Data Processing, Analysis, Modelling and Visualization
- Documentation: http://mtpy2.readthedocs.io/en/develop/
- Home Page: https://github.com/MTgeophysics/mtpy
- Issue tracking: https://github.com/MTgeophysics/mtpy/issues
- Wiki Pages: https://github.com/MTgeophysics/mtpy/wiki
Note that this repository has superseded the geophysics/mtpy and GeoscienceAustralia/mtpy2
Alison Kirkby
Fei Zhang
Jared Peacock
Rakib Hassan
Yingzhi Gou
Jinming Duan
- Python 2.7.*
- Python 3 (Todo)
- Install Python environment and dependency packages. See Wiki Pages: https://github.com/MTgeophysics/mtpy/wiki
- Obtain the source code from https://github.com/MTgeophysics/mtpy:
git clone https://github.com/MTgeophysics/mtpy.git
cd mtpy
pip install -v --user -e .
(into user's own home ~/.local/lib/python2.7/site-packages/mtpy.egg-link)
OR
python setup.py develop --user
OR
pip install -v -e .
(into python lib's dir site-packages, write-permission required)
OR
- `` export PYTHONPATH=/Path2/mtpy:$PYTHONPATH `` (Only valid for each session)
To verify the install:
pip list | grep mtpy
To uninstall the mtpy package:
pip uninstall -v mtpy
MTpy is licensed under the GPL version 3
The license agreement is contained in the repository and should be kept together with the code.
- MTpy uses E- and B-fields (although the sensors may be confusingly named as H-sensors in EDI files)
- [E] = microvolts/meter (muV/m)
- [B] = nanotesla (nT)
- [Z] = [E]/[B] = km/s
- Apparent resistivty rho = 0.2 * T * |Z|^2 (in Ohm m)
- Angles are given in degrees (mod 360)
- EDI files can contain data in Z- or rho/phi-form
- EDI files contain data from one station only
- Coordinates are handled in decimal degrees (converted when reading)
- Time stamps refer to UTC
- Internal coordinates: X = North-South, Y = East-West
- Rotations are interpreted clockwise (mathematically negative)
- 0 degrees azimuth = North