OpyNDATA toolbox for import and postprocessing of measurement data
Project description
What is opyndata?
OpyNDATA is a package supporting the open data from measurement projects at the Structural Dynamics group at Department of Structural Engineering, NTNU.
Installation
Either install via PyPI as follows:
pip install opyndata
or install directly from github:
pip install git+https://www.github.com/knutankv/opyndata.git@main
Quick start
Import the relevant package modules, exemplified for the data_import module, as follows:
from opyndata import data_import
This code snippet imports h5 file into data object:
import h5py
file_name = 'data_2Hz.h5'
rec_name = 'NTNU142M-2016-12-26_22-33-33'
hf = h5py.File(fname, 'r')[rec_name]
To establish graphical visualization of data set, the following code can be run:
from opyndata import visualization
data_path = 'C:/Users/knutankv/BergsoysundData/data_10Hz.h5'
app_setup = visualization.AppSetup(data_path=data_path)
app = app_setup.create_app()
server = app.server
if __name__ == '__main__':
app.run_server(debug=False)
The result can be viewed by opening https://127.0.0.1:8050 in a web browser (port 8050 is default, but others can be requested in the call of the run_server method of app).
For full code reference visit knutankv.github.io/opyndata.
Examples
Examples are provided as Jupyter Notebooks in the examples folder.
Open data
For an overview of available open measurement data from us, visit https://www.ntnu.edu/kt/open-data
Citation
Cite as: Knut Andreas Kvåle. (2022). knutankv/opyndata: Initial release, available on Zenodo (v0.0.2). Zenodo. https://doi.org/10.5281/zenodo.5978358
Support
Please open an issue for support.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opyndata-0.0.3.tar.gz.
File metadata
- Download URL: opyndata-0.0.3.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c2f9ee3c6913367aac4e930a55fe03cfede83aa27ec42315330bb68b63c8724
|
|
| MD5 |
ea58140f8cf80053780fb568bfbec4f0
|
|
| BLAKE2b-256 |
47ebfe9761774479a2fa279d480fce2d7b38809a7d5c6a3c2e0700aa2abaec7f
|
File details
Details for the file opyndata-0.0.3-py3-none-any.whl.
File metadata
- Download URL: opyndata-0.0.3-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4c66beb246f987e4bec34417e6e46b9b100dcf4b67060f4d43f3896699c4553
|
|
| MD5 |
06f85b618a0c300c128a416708a826d2
|
|
| BLAKE2b-256 |
7315267a6356ea86b604d5c33117837c11f81d6e0e55b593ff805d31f55998ee
|