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.
Metadata
Release files for opyndata 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opyndata-0.0.3.tar.gz | 13.6 kB | Without provenance | Details for opyndata-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opyndata-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for opyndata-0.0.3-py3-none-any.whl |
Total release size: 28.0 kB
Release files / opyndata-0.0.3.tar.gz
| Download URL | opyndata-0.0.3.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c2f9ee3c6913367aac4e930a55fe03cfede83aa27ec42315330bb68b63c8724
|
|
BLAKE2b-256 checksum How to use checksums |
47ebfe9761774479a2fa279d480fce2d7b38809a7d5c6a3c2e0700aa2abaec7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / opyndata-0.0.3-py3-none-any.whl
| Download URL | opyndata-0.0.3-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4c66beb246f987e4bec34417e6e46b9b100dcf4b67060f4d43f3896699c4553
|
|
BLAKE2b-256 checksum How to use checksums |
7315267a6356ea86b604d5c33117837c11f81d6e0e55b593ff805d31f55998ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for opyndata 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.