erebusfall-0.0.3
توضیحات
Apply a simple ice-volume correction to marine-isotope proxy records in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | erebusfall-0.0.3 |
| نام | erebusfall |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | S. Brewster Malevich |
| ایمیل نویسنده | malevich@email.arizona.edu |
| آدرس صفحه اصلی | https://github.com/brews/erebusfall |
| آدرس اینترنتی | https://pypi.org/project/erebusfall/ |
| مجوز | GPLv3 |
# erebusfall
[](https://travis-ci.org/brews/erebusfall)
Apply a simple ice-volume correction to marine-isotope
[δ18O](https://en.wikipedia.org/wiki/%CE%9418O) and [δD](https://en.wikipedia.org/wiki/Deuterium)
proxy records, in Python.
The correction uses the [LR04](https://doi.org/10.1594/PANGAEA.701576)
benthic stack from [Lisiecki and Raymo, 2005](https://doi.org/10.1029/2004PA001071). The stack is scaled so that the [LGM](https://en.wikipedia.org/wiki/Last_Glacial_Maximum)-to-present
change is assumed to be 1.0 ‰ in accordance with the pore-water estimate of
[Schrag et al. 1996](https://doi.org/10.1126/science.272.5270.1930). The
package is adapted from the ice-volume correction in [Tierney et al. 2017](https://doi.org/10.1130/G39457.1).
## Example
Start by importing `erebusfall`, `numpy`:
```python
import erebusfall as ef
import numpy as np
```
...and creating a hypothetical proxy time
series...
```python
age_ka = np.arange(0, 20, 1)
proxy = np.random.normal(loc=-2.0, size=len(age_ka))
```
Now we can plug this into `ef.icevol_correction()` with a few key options:
```python
proxy_adjusted = ef.icevol_correction(age_ka, proxy,
proxytype='d18o',
timeunit='ka')
```
We first plug in the proxy age and proxy values. The `proxytype='d18o'`
indicates that we're dealing with δ18O. We can set `proxytype='dd'` for a δD
record. The `timeunit` argument indicates that `age_ka` is in thousands of
years before present. There are also options for for "years BP" and
"million years BP". The output from the function, `proxy_adjusted`, is the
corrected isotope proxy as a numpy array.
See `help(ef.icevol_correction)` for more documentation.
## Installation
You can install the package [from PyPI](https://pypi.python.org/pypi/erebusfall) with
```
pip install erebusfall
```
If you want to use `conda`:
```
conda install erebusfall -c sbmalev
```
## Development and Support
Source code is [hosted online](https://github.com/brews/erebusfall) under an Open
Source license. Please feel free to file any
[bugs and issues](https://github.com/brews/erebusfall/issues) you find.
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | scipy |
نحوه نصب
نصب پکیج whl erebusfall-0.0.3:
pip install erebusfall-0.0.3.whl
نصب پکیج tar.gz erebusfall-0.0.3:
pip install erebusfall-0.0.3.tar.gz