# PmagPy: tools for paleomagnetic data analysis
<table>
<tr>
<td>Latest Release</td>
<td><img src="https://img.shields.io/pypi/v/pmagpy.svg" alt="latest release" /></td>
</tr>
<tr>
<td>License</td>
<td><img src="https://img.shields.io/pypi/l/pmagpy.svg" alt="license" /></td>
</tr>
</table>
## What is it
**PmagPy** is a comprehensive set of tools for analyzing paleomagnetic data. It facilitates interpretation of demagnetization data, Thellier-type experimental data and data from other types of rock magnetic experiments. PmagPy can be used to create a wide variety of useful plots and conduct statistical tests. It is designed to work with the MagIC database (https://earthref.org/MagIC), allowing manipulation of downloaded data sets as well as preparation of new contributions for uploading to the MagIC database. Functions within PmagPy can be imported and used in Jupyter notebooks enabling fully documented and nicely illustrated data analysis.
## Main features
PmagPy is comprised of:
- GUI programs for getting data into MagIC database format (pmag_gui), analyzing demagnetization data (demag_gui) and analyzing paleointensity data (thellier_gui). These GUIs are also availible for download as executable programs outside of this repository:
- [Mac PmagPy Executable Application](https://github.com/PmagPy/PmagPy-Standalone-OSX/releases/latest)
- [Windows PmagPy Executable Application](https://github.com/PmagPy/PmagPy-Standalone-Windows/releases/latest)
- [Linux PmagPy Executable Application](https://github.com/PmagPy/PmagPy-Standalone-Linux/releases)
- Command line programs for all sorts of paleomagnetic data analysis and wrangling (contained within the programs folder of the repository and pip installed as pmagpy-cli).
- The pmagpy function module for paleomagnetic data analysis (pmagpy.pmag) and plotting (pmagpy.pmagplotlib) as well as a function module that further enables paleomagnetic data analysis within interactive computing environments such as the Jupyter notebook (pmagpy.ipmag). The functions within these modules are at the heart of the GUI and command line programs. With pmagpy in the python path (which is accomplished using pip, see below), these modules are can be imported (e.g. ```import pmagpy.ipmag as ipmag```).
- Example data files that are used in the examples provided in the PmagPy cookbook http://earthref.org/PmagPy/cookbook
Use of all these features is described in the cookbook and the underlying science behind the data and code can be explored in the book Essentials of Paleomagnetism: Third Web Edition (http://earthref.org/MagIC/books/Tauxe/Essentials/). Example Jupyter notebooks using PmagPy can be found in this repository: https://github.com/PmagPy/2016_Tauxe-et-al_PmagPy_Notebooks.
## How to get it
Much more complete documentation for PmagPy installation and use is available in the PmagPy cookbook: http://earthref.org/PmagPy/cookbook
### Stand alone applications
If you do not need the full PmagPy functionality, and you only want to use Pmag GUI, MagIC GUI, Thellier GUI, and Demag GUI, there a standalone download for which Python does not need to be installed.
#### OSX Standalone download
To get started, download the zip file and put the resulting folder on your desktop. Inside the PmagPy-Standalone folder you will have one folder each for Pmag GUI and MagIC GUI. Open the appropriate folder and double click the icon (depending on your security settings, you may have to right click the icon and then select “ok” the first time you open it).
You’ll find the latest stable release at:
https://github.com/PmagPy/PmagPy-Standalone-OSX/releases/latest
#### Windows Standalone download
Get started by downloading the zip file (see links below) and putting the resulting folder wherever you wish. You’ll need to “extract all” files. Inside the PmagPy-Standalone folder you will find icons for Pmag GUI and MagIC GUI.
You’ll find the latest stable release at:
https://github.com/PmagPy/PmagPy-Standalone-Windows/releases/latest
#### Linux Standalone download
This binary has only been tested on a Ubuntu 14.04 (Trusty) distribution and might experience problems on other distributions. You can simply clone the standalone repository or download and unzip. The GUIs should run when you double click the executable, but will take time to start up (anywhere from 5 to 30 seconds) please be patient.
You’ll find the latest stable release at:
https://github.com/PmagPy/PmagPy-Standalone-Linux/releases
### Full PmagPy install
To get the full use of PmagPy functionality, you will first have to have a Python installation with some standard scientific modules. You can follow instructions to do so [here](https://earthref.org/PmagPy/cookbook/#x1-60001.2). Once you have Python installed:
- Find and open your command line (for help finding your command prompt, see the [documentation](http://earthref.org/PmagPy/#command_line))
- Update pip: type on the command line: ```pip install --upgrade pip```
- Install or update pmagpy: use the command: ```pip install --upgrade pmagpy```
- Install or update pmagpy-cli, use the command: ```pip install --upgrade pmagpy-cli```
- To uninstall, use the commands: ```pip uninstall pmagpy``` and ```pip uninstall pmagpy-cli```
- If you run into trouble, use pip to uninstall both pmagpy and pmagpy-cli, then try again to install first pmagpy and then pmagpy-cli
If you want access to the master branch rather than the latest release, see the [developer install instructions](https://earthref.org/PmagPy/cookbook/#developer_install).
- Alternatively if you want simply to install the latest under development version without messing with environment variables you can download or clone the repository and run `python setup.py install` and it will use setup tools to install PmagPy somewhere where it is accessible to python and in your path. This, however, does not update your in path version of the library when you update using `git pull origin master` but rather you must update using setup tools manually.
## Background and support
The code base for the PmagPy project has been built up over many years by Lisa Tauxe (Distinguished Professor of Geophysics at the Scripps Institution of Oceanography) supported by grants from the National Science Foundation. Substantial contributions to the project have been made by Nick Swanson-Hysell (Assistant Professor at UC Berkeley), Ron Shaar (Senior Lecturer at the Hebrew University of Jerusalem), Lori Jonestrask and Kevin Gaastra as well as others.
## Contributing
If you want to get involved with the project - whether that means reporting a bug, requesting a feature, or adding significant code - please check out the project's [Contribution guidelines](https://github.com/PmagPy/PmagPy/blob/master/CONTRIBUTING.md).
## More information
This code and the PmagPy cookbook (http://earthref.org/PmagPy/cookbook) are companions to the the book Essentials of Paleomagnetism: Third Web Edition (http://earthref.org/MagIC/books/Tauxe/Essentials/) written by Lisa Tauxe with contributions from Subir K. Banerjee, Robert F. Butler and Rob van der Voo. The printed version of the book came out in January, 2010 from University of California Press (http://www.ucpress.edu/book.php?isbn=9780520260313).
## Licensing
This code can be freely used, modified, and shared. It is licensed under a 3-clause BSD license. See [license.txt](https://github.com/ltauxe/PmagPy/blob/master/license.txt) for details.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共313个文件
py:273个
txt:11个
html:9个
资源分类:Python库 所属语言:Python 资源全名:pmagpy-cli-3.14.1.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | pmagpy-cli-3.14.1.tar.gz (313个子文件)
ani_depthplot_anaconda 324B
setup.cfg 38B
core_depthplot_anaconda 325B
demag_gui_anaconda 320B
ErMagicBuilderHelp.html 7KB
magic_gui.html 6KB
ErMagicSiteHelp.html 3KB
ErMagicSampleHelp.html 3KB
ErMagicAgeHelp.html 2KB
ErMagicHeadersHelp.html 1KB
ErMagicLocationHelp.html 1KB
ErMagicSpecimenHelp.html 994B
ErMagicSampleHelp1.html 925B
PmagPy.ico 198KB
PmagPy_32x32.ico 4KB
PmagPy_16x16.ico 1KB
MANIFEST.in 167B
data_model.json 325KB
controlled_vocabularies2.json 297KB
controlled_vocabularies_February_6_2017.json 123KB
suggested_vocabularies_February_6_2017.json 110KB
method_codes.json 81KB
magic_gui2_anaconda 321B
magic_gui_anaconda 320B
README.md 7KB
PKG-INFO 9KB
PKG-INFO 9KB
pmag_gui_anaconda 319B
thellier_gui.py 381KB
demag_gui.py 352KB
pmag_basic_dialogs_native3.py 140KB
pmag_basic_dialogs.py 133KB
new_lj_thellier_gui_spd.py 102KB
pmag_menu_dialogs.py 81KB
thellier_gui_dialogs.py 78KB
test_builder.py 74KB
thellier_interpreter.py 69KB
demag_dialogs.py 67KB
livdb_magic.py 61KB
grid_frame3.py 52KB
tdt_magic.py 52KB
tdt_magic2.py 51KB
pmag_er_magic_dialogs.py 51KB
grid_frame2.py 47KB
demag_interpretation_editor.py 47KB
pmag_widgets.py 44KB
zeq_magic2.py 42KB
generic_magic2.py 42KB
spd.py 37KB
test_demag_gui.py 37KB
generic_magic.py 37KB
sio_magic.py 34KB
pmag_gui.py 32KB
sio_magic2.py 32KB
thellier_magic2.py 31KB
test_ipmag.py 30KB
zeq_magic.py 30KB
huji_magic.py 30KB
test_new_builder.py 28KB
huji_magic_new2.py 28KB
test_imports3.py 27KB
huji_magic2.py 27KB
remanence_anisotropy_magic.py 27KB
thellier_consistency_test.py 27KB
microwave_magic.py 25KB
cit_magic.py 24KB
aniso_magic.py 24KB
test_pmag_gui.py 23KB
magic_gui.py 23KB
aniso_magic2.py 23KB
magic_grid3.py 22KB
magic_grid2.py 22KB
map_magic.py 22KB
aarm_magic.py 21KB
magic_gui2.py 21KB
iodp_srm_magic.py 20KB
drop_down_menus3.py 20KB
k15_magic.py 20KB
test_imports2.py 19KB
cit_magic2.py 19KB
_2g_bin_magic2.py 19KB
thellier_magic_redo.py 19KB
ErMagicBuilder.py 18KB
eqarea_magic.py 18KB
test_magic_gui2.py 18KB
test_arai_plot_statistics.py 18KB
_2g_bin_magic.py 18KB
atrm_magic.py 17KB
thellier_magic.py 17KB
eqarea_magic2.py 17KB
utrecht_magic2.py 16KB
drop_down_menus2.py 16KB
ldeo_magic.py 16KB
ldeo_magic2.py 16KB
iodp_srm_magic2.py 15KB
iodp_dscr_magic.py 15KB
utrecht_magic.py 15KB
thellier_gui_lib.py 15KB
agm_magic.py 14KB
zeq_magic_redo.py 13KB
共 313 条
- 1
- 2
- 3
- 4
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功