Skip to main content

Python tools for plotting scanned core data from the USGS Pacific Coastal and Marine Science Center

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

corescan_plotting-0.9.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

corescan_plotting-0.9-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file corescan_plotting-0.9.tar.gz.

File metadata

  • Download URL: corescan_plotting-0.9.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for corescan_plotting-0.9.tar.gz
Algorithm Hash digest
SHA256 de514c5ff7e3d6977c305387b03dbfd610d833531edc0e3e88fc82377a701f1d
MD5 db534d20454ea60471ba88e2632d8843
BLAKE2b-256 d21c056ccf38b289382e7503a8aa739b3ee16af071e6791e10eae2310cf8fe3f

See more details on using hashes here.

File details

Details for the file corescan_plotting-0.9-py3-none-any.whl.

File metadata

  • Download URL: corescan_plotting-0.9-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for corescan_plotting-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 10df67cbc5345a14638eca1c21799ef418746ffc8f59311295904cfe03008ac5
MD5 a24adb32b74f002d663f56e90d2d132b
BLAKE2b-256 c8c34bb13d6c8e94617c3b8282a071c8fed54c1383ba0da9e347186623185ba1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page