Skip to content

A Python library for calculating & exporting Vibration Criteria (VC) Curve data from enDAQ sensor data

Notifications You must be signed in to change notification settings

MideTechnology/endaq-vc-curves

Repository files navigation

Installation

From the command line with your preferred Python install in the system path (virtualenv, system install, colab notebook, etc.), run

python -m pip install git+https://github.com/MideTechnology/endaq-vc-curves.git

If you want to utilize the HTML plotting functions of the library, you should also similarly install Plotly via

python -m pip install plotly

Usage

The basic usage of this library should look something like this:

import bsvp

# Get filenames
filenames = [...]  # gather filenames via built-in `glob.glob`, colab's `google.colab.files.upload()`, or some other method

# Calculate data
calc_output = (
    bsvp.GetDataBuilder(accel_highpass_cutoff=1)
    .add_vc_curves(init_freq=1, bins_per_octave=3)
    .aggregate(filenames)
)

# Output calculations
calc_output.to_csv_folder(folder_path="path/to/csvfiles")
calc_output.to_html_plots(folder_path="path/to/plots")

For more information on what this library can do and how to use it, see the example jupyter notebook in this repo, and use the Python function help() to inspect the class/function documentation in this codebase.

About

A Python library for calculating & exporting Vibration Criteria (VC) Curve data from enDAQ sensor data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published