corescan-plotting-0.9
توضیحات
Python tools for plotting scanned core data from the USGS Pacific Coastal and Marine Science Center
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | corescan-plotting-0.9 |
| نام | corescan-plotting |
| نسخه کتابخانه | 0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | SeanPaul La Selle |
| ایمیل نویسنده | <slaselle@usgs.gov> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/corescan-plotting/ |
| مجوز | - |
corescan_plotting
=======
`corescan_plotting` contains tools for analyzing and plotting outputs from various core scanning instruments located at the USGS Pacific Coastal and Marine Science Center.
Setup
-----
For USGS python users, I recommend using [Miniconda](https://docs.conda.io/en/latest/miniconda.html).
Install the appropriate Python 3.x Miniconda installer. If on Windows, choose *Just Me* and for location, something like `C:\Users\USERNAME\Miniconda3`, but this is up to you. If this is your first tie working with conda environments, IOOS has a [useful guide](https://ioos.github.io/ioos_code_lab/content/ioos_installation_conda.html) on setting up conda on both macos and windows and is perhaps a good place to start before creating a new conda environment for the corescan_plotting package.
Create a conda environment (see: [conda.io](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands)) with python=3.7
Once created, activate the environment and install corescan_plotting with:
`conda install -c spmls corescan_plotting`
This installs the latest stable version.
opencv is a tricky dependency to install, you may have to reinstall it with: `pip install opencv-python==4.2.0.32` if
corescan_plotting fails to import in python.
Usage
-----
See [examples.ipynb](https://code.usgs.gov/slaselle/corescan_plotting/-/blob/master/examples.ipynb) for more detailed examples.
```
from corescan_plotting import ct
import matplotlib.pyplot as plt
im, xml = ct.ct_in() # this will open up a window to load in a Geotek orthogonal view image and associated xml file
ct.ct_plot(im, xml) # this will plot the loaded ct file
plt.show()
```
نحوه نصب
نصب پکیج whl corescan-plotting-0.9:
pip install corescan-plotting-0.9.whl
نصب پکیج tar.gz corescan-plotting-0.9:
pip install corescan-plotting-0.9.tar.gz