AnyWave Package
This is the anywave package to use with Python plugins.
Add this package to your python environment to be able to develop Python plugins for AnyWave.
Functions
| function | what it does |
|---|---|
init(argv) |
connects to AnyWave and returns the settings of the plugin (call it first) |
debug_connect(port) |
connects to an AnyWave started with --plugin_debug --server_port <port> |
get_data(args) |
requests data: channels, time selections, filters... |
get_markers(args) / send_markers(markers) |
reads / adds markers |
send_message(text) |
writes a text in the AnyWave log |
get_props() |
reads the settings of the plugin again |
change_sig_prop(cfg) |
changes the color and/or the filters (hp, lp, notch) of channels |
ica_command(cfg) |
rejects ('reject', default) or restores ('undo') independent components |
run(args) |
runs another plugin |
import sys
import anywave
anywave.init(sys.argv)
# green trace and a 1-80 Hz filter for channels A1 and A4
anywave.change_sig_prop({'labels': ['A1', 'A4'], 'color': '#008800', 'hp': 1, 'lp': 80})
# reject two components of the ICA loaded in AnyWave, then restore one of them
anywave.ica_command({'labels': ['M_IC10', 'M_IC15'], 'command': 'reject'})
anywave.ica_command({'labels': ['M_IC15'], 'command': 'undo'})
An error of AnyWave (missing labels, unknown command...) is raised as an exception with the message of AnyWave.
Metadata
Release files for anywave-plugin-api 1.2.0
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 | |
|---|---|---|---|---|
| anywave_plugin_api-1.2.0.tar.gz | 22.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anywave_plugin_api-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.8 kB
Release files / anywave_plugin_api-1.2.0.tar.gz
| Download URL | anywave_plugin_api-1.2.0.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7a9d949d92e9ce815f487815853a3e9df9bc0003dac7fb21694ed2e9a7fb717
|
|
BLAKE2b-256 checksum How to use checksums |
76cc3a9117571221d90f2a72cbde5cf15fcf8655faf0434b7d4d5f0b67b78ecd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / anywave_plugin_api-1.2.0-py3-none-any.whl
| Download URL | anywave_plugin_api-1.2.0-py3-none-any.whl |
|---|---|
| Size | 25.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e32a938305d1906b54f926005cd0c9cb0411b52fa4bf782b3942975a9b27bdaf
|
|
BLAKE2b-256 checksum How to use checksums |
f5997ddcb461cc1ca81ae7cc1c0a2ffe68112999d10a0f3e82d6fe749517b719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for anywave-plugin-api 1.2.0
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.