Skip to main content

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.

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 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) 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 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()

Release files for corescan-plotting 0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for corescan-plotting 0.9
File Size Uploaded
corescan_plotting-0.9.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for corescan-plotting 0.9
File Interpreter ABI Platform
corescan_plotting-0.9-py3-none-any.whl Python 3 none any Details

Total release size: 38.4 kB

Release files / corescan_plotting-0.9.tar.gz

Download URL corescan_plotting-0.9.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
de514c5ff7e3d6977c305387b03dbfd610d833531edc0e3e88fc82377a701f1d
BLAKE2b-256 checksum
How to use checksums
d21c056ccf38b289382e7503a8aa739b3ee16af071e6791e10eae2310cf8fe3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.7.13

Release files / corescan_plotting-0.9-py3-none-any.whl

Download URL corescan_plotting-0.9-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10df67cbc5345a14638eca1c21799ef418746ffc8f59311295904cfe03008ac5
BLAKE2b-256 checksum
How to use checksums
c8c34bb13d6c8e94617c3b8282a071c8fed54c1383ba0da9e347186623185ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.7.13

Release history Release notifications | RSS feed

This release

0.9 This release

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page