Skip to content

INTO-CPS-Association/example-shm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This project creates a fully-functional demo of CP-SENS project. The demo is to be run inside the DTaaS platform.

Development Setup

This is a poetry-based project. The relevant commands to run the project are:

python -m venv .venv
.\.venv\Scripts\Activate.ps1     # On Windows
source .venv/bin/activate        # On Linux

pip install poetry               #Specifically install poetry to your system
# If you have poetry installed globally
poetry env activate              # shows the command to activate venv
poetry install                   # installs all required python packages
pylint src tests --rcfile=.pylintrc    # runs linting checks

poetry build                     # builds cp-sens package that can be published on pip
poetry run experiment_1          # run one experiment with real data

The poetry build will create a .whl file in the dist/ directory, e.g., dist/cp_sens-0.1.0-py3-none-any.whl.

Testing

Write tests in the tests directory. Be sure to name any new files as test*.py. To run all tests, with coverage:

pytest -m unit         # run unit tests
pytest -m integration  # run integration tests
pytest                 # run all the tests

Please see examples for typical usage of the package.

About

A case study on structural health monitoring of wind turbines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages