Stiction analysis of time series data in Seeq
Project description
seeq-stictiondetection is a Python module to detect oscillations and stiction patterns in control valves. The oscillation detection is able to detect and isolated the periods of time where the oscillation occurs. The stiction detector identifies if stiction is present within the further detected oscillating time periods. Both signals can be pushed back into the Seeq Workbench and further analysis (e.g. with the "Value Search" function). The module includes a user interface (UI) designed to interact with the Seeq server.
User Guide
seeq-stictiondetection User Guide provides a more in-depth explanation of the algorithm behind the stiction analysis and how seeq-stictiondetection works. Examples of typical types of analyses using seeq-stictiondetection can be found in the section Use Cases.
Documentation
Documentation for seeq-stictiondetection.
Installation
The backend of seeq-stictiondetection requires Python 3.7 or later.
Dependencies
See DocumentationStictionDetection.md
file for a list of
dependencies and versions. Additionally, you will need to install the seeq
module with the appropriate version that
matches your Seeq server. For more information on the seeq
module see seeq at pypi
User Installation Requirements (Seeq Data Lab)
If you want to install seeq-stictiondetection as a Seeq Add-on Tool, you will need:
- Seeq Data Lab (>= R50.5.0, >=R51.1.0, or >=R52.1.0)
seeq
module whose version matches the Seeq server version- Seeq administrator access
- Enable Add-on Tools in the Seeq server
User Installation (Seeq Data Lab)
The latest build of the project can be found here as a wheel file. The file is published as a courtesy to the user, and it does not imply any obligation for support from the publisher. Contact Seeq if you required credentials to access the site.
- Create a new Seeq Data Lab project and open the Terminal window
- Run
pip install seeq-stictiondetection --extra-index-url https://pypi.seeq.com --trusted-host pypi.seeq.com
- Run
python -m seeq.addons.stictiondetection [--users <users_list> --groups <groups_list>]
Development
We welcome new contributors of all experience levels. The Development Guide has detailed information about contributing code, documentation, tests, etc.
Important links
- Official source code repo: https://github.com/seeq12/seeq-stictiondetection
- Issue tracker: https://github.com/seeq12/seeq-stictiondetection/issues
Source code
You can get started by cloning the repository with the command:
git clone git@github.com:seeq12/seeq-stictiondetection.git
Installation from source
For development work, it is highly recommended creating a python virtual environment and install the package in that working environment. If you are not familiar with python virtual environments, you can take a look here
Once your virtual environment is activated, you can install seeq-stictiondetection from source with:
python setup.py install
Testing
There are several types of testing available for seeq-stictiondetection
Automatic Testing
After installation, you can launch the test suite from the root directory of the project (i.e. seeq-stictiondetection
directory). You will need to have pytest >= 5.0.1 installed
To run all tests:
pytest
There are several pytest markers set up in the project. You can find the description of the marks in the pytest.ini
file. You can use the -m
flag to run only a subset of tests. For example, to run only the backend
tests, you can
use:
pytest -m backend
The integration tests requires a connection to a Seeq server. The tests are configured to try to access a local Seeq
server with the data directory set up in ProgramData/Seeq/data
of the local drive. However, you can set the
seeq_url
, credentials_file
configuration options in the test_config.ini
file to run the integration tests on a
remote Seeq server, or change the local seeq data directory with data_dir
.
Note: Remember that the seeq
module version in your local environment should match the Seeq server version
User Interface Testing
To test the UI, use the developer_notebook.ipynb
in the development
folder of the project. This notebook can also be
used while debugging from your IDE. You can also create a whl first, install it on your virtual environment, and then
run developer_notebook.ipynb
notebook there.
Changelog
The change log can be found here
Support
Code related issues (e.g. bugs, feature requests) can be created in the issue tracker Any other general comments or questions (non-code related) can be emailed to Seeq
Maintainer: Timothy Essinger
Citation
Please cite this work as:
seeq-stictiondetection v0.0.1
Seeq Corporation, 2021
https://github.com/seeq12/seeq-stictiondetection
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 Distributions
Built Distribution
File details
Details for the file stictionanalyser-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: stictionanalyser-0.0.3-py3-none-any.whl
- Upload date:
- Size: 66.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92f8fd9489321968accf7be09460544f0b7f0121f0a2424a2ef8989bdc030a87 |
|
MD5 | 32d0ca79934780dc0d5b143fed86baa5 |
|
BLAKE2b-256 | 16ba40879d20dfb235d7971da2a8eba4e882ec0b2cc32748d78f8000442c3e3b |