Skip to main content

No project description provided

Project description

probconcept

Readme in progress.

This python package was originally published in my Surface Velocity Tools (SurfVelTools) application:

Engel, F. L., 2023, Surface Velocity Tools (SurfVelTools), U.S. Geological Survey software release, https://doi.org/10.5066/P9I5JABK.

I am working to publish the internal probconcept module separately so that it can be installed for various other uses.

Documentation

Usage

The basic curve fitting is handled by the ProbConcept class. All methods for creating the fit and producing results that can be plotted are contained within the class. See the documentation in the class for more information.

At a minimum, to fit a curve to your velocity data and derive an output, you will need to import the class with something like:

from probconcept import ProbConcept as pc

From here, supply numpy arrays (1D vectors) for depth-velocity pairs of measurements made of the velocity profile in the y-axis (see more info about what the y-axis is below). An optional numpy array of the same shape as the input depth-velocity pairs containing the uncertainty of the velocity can be supplied and modeled in the fit.

pc_fit = pc.ProbConceptFit()
pc_fit.populate_velocity_profile_data(meas_depths, meas_velocities, meas_uncertainty)

If known, you can also supply a measured total depth, and/or measured max velocity and distance from the surface of the max velocity (h). These are optional arguments. The ProbConcept class will attempt to solve for these unknowns without user input if not supplied.

pc_fit = pc.ProbConceptFit()
pc_fit.populate_velocity_profile_data(meas_depths, meas_velocities, meas_uncertainty,
                                      meas_total_depth, meas_max_velocity, h)

Theory and Explanation

Work in progress...

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

probconcept-0.1.0.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

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

probconcept-0.1.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file probconcept-0.1.0.tar.gz.

File metadata

  • Download URL: probconcept-0.1.0.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for probconcept-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e945605410540e2676e2debe79cbfb2a7b1f3fc3086e2a24d41a22ec9df8506d
MD5 fe1941902d6a1a64dd78717201e7169c
BLAKE2b-256 5872c02f060f7288f8226e5856e9b682d9dbf5296d1816885e82284bbd03ef42

See more details on using hashes here.

File details

Details for the file probconcept-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: probconcept-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for probconcept-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1304cef9ed799c0d6e29b9a8c8af6393dc6773ffff238b23f004e38343e2292
MD5 81bd4da44ad87ecfbb6763f2379ebba3
BLAKE2b-256 6c5d75deffa46b39bae4f39b0ed23eaa67e2b607680cfc3457f38d7193f79aa0

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