Covmatest

Latest version: v0.4.1

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.1

What's Changed
* Add returns_A and returns_B parameters by gcattan in https://github.com/gcattan/covmatest/pull/50
* Bump peter-evans/create-pull-request from 5 to 6 by dependabot in https://github.com/gcattan/covmatest/pull/56
* Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 by dependabot in https://github.com/gcattan/covmatest/pull/57


**Full Changelog**: https://github.com/gcattan/covmatest/compare/v0.4...v0.4.1

0.4

What's Changed
* Bump peter-evans/create-pull-request from 4 to 5 by dependabot in https://github.com/gcattan/covmatest/pull/40
* Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 by dependabot in https://github.com/gcattan/covmatest/pull/41
* Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7 by dependabot in https://github.com/gcattan/covmatest/pull/42
* Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8 by dependabot in https://github.com/gcattan/covmatest/pull/43
* Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10 by dependabot in https://github.com/gcattan/covmatest/pull/44
* Bump actions/checkout from 3 to 4 by dependabot in https://github.com/gcattan/covmatest/pull/45
* Bump gcattan/git-quality-check from 0.1.2 to 0.1.3 by dependabot in https://github.com/gcattan/covmatest/pull/46
* Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 by dependabot in https://github.com/gcattan/covmatest/pull/47
* Bump actions/setup-python from 4 to 5 by dependabot in https://github.com/gcattan/covmatest/pull/48
* Bump github/codeql-action from 2 to 3 by dependabot in https://github.com/gcattan/covmatest/pull/49


**Full Changelog**: https://github.com/gcattan/covmatest/compare/v0.3...v0.4

0.3

What's Changed
* Bump pypa/gh-action-pypi-publish from 1.8.1 to 1.8.3 by dependabot in https://github.com/gcattan/covmatest/pull/34
* Bump pypa/gh-action-pypi-publish from 1.8.3 to 1.8.4 by dependabot in https://github.com/gcattan/covmatest/pull/35
* Bump pypa/gh-action-pypi-publish from 1.8.4 to 1.8.5 by dependabot in https://github.com/gcattan/covmatest/pull/36
* Update get_covmat.py by gcattan in https://github.com/gcattan/covmatest/pull/26
* Update version number by gcattan in https://github.com/gcattan/covmatest/pull/39


**Full Changelog**: https://github.com/gcattan/covmatest/compare/v0.2.1...v0.3

0.2.1

What's Changed
* Bump actions/setup-python from 3 to 4 by dependabot in https://github.com/gcattan/covmatest/pull/21
* Bump pypa/gh-action-pypi-publish from 1.4.2 to 1.5.1 by dependabot in https://github.com/gcattan/covmatest/pull/20
* Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.5.2 by dependabot in https://github.com/gcattan/covmatest/pull/22
* Update git-quality-check.yml by gcattan in https://github.com/gcattan/covmatest/pull/25
* Bump pypa/gh-action-pypi-publish from 1.5.2 to 1.6.4 by dependabot in https://github.com/gcattan/covmatest/pull/24
* Update alphawaves dependency by gcattan in https://github.com/gcattan/covmatest/pull/29
* Bump gcattan/git-quality-check from 0.1.1 to 0.1.2 by dependabot in https://github.com/gcattan/covmatest/pull/28
* Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1 by dependabot in https://github.com/gcattan/covmatest/pull/30
* Bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.0 by dependabot in https://github.com/gcattan/covmatest/pull/31
* Bump pypa/gh-action-pypi-publish from 1.8.0 to 1.8.1 by dependabot in https://github.com/gcattan/covmatest/pull/32
* update version number by gcattan in https://github.com/gcattan/covmatest/pull/33


**Full Changelog**: https://github.com/gcattan/covmatest/compare/v0.2...v0.2.1

0.2

What's Changed
* Create formatter.yml by gcattan in https://github.com/gcattan/covmatest/pull/4
* Create dependabot.yml by gcattan in https://github.com/gcattan/covmatest/pull/8
* Bump actions/setup-python from 2 to 4 by dependabot in https://github.com/gcattan/covmatest/pull/10
* Bump actions/checkout from 2 to 3 by dependabot in https://github.com/gcattan/covmatest/pull/9
* Bump peter-evans/create-pull-request from 3 to 4 by dependabot in https://github.com/gcattan/covmatest/pull/11
* Update testing.yml by gcattan in https://github.com/gcattan/covmatest/pull/12
* Create git-quality-check by gcattan in https://github.com/gcattan/covmatest/pull/13
* Create codeql-analysis.yml by gcattan in https://github.com/gcattan/covmatest/pull/18
* Create python-publish.yml by gcattan in https://github.com/gcattan/covmatest/pull/19

New Contributors
* gcattan made their first contribution in https://github.com/gcattan/covmatest/pull/4
* dependabot made their first contribution in https://github.com/gcattan/covmatest/pull/10

**Full Changelog**: https://github.com/gcattan/covmatest/compare/v0.1...v0.2

0.1

Release notes

This software implements a simple method to get semi-definite positive (SPD) covariance matrices for testing. A possible use case is the use of such software for testing electroencephalography (EEG) or magnetoencephalography (MEG) classification pipeline based on covariance matrices and Riemannian geometry.  

Samples are real EEG recordings of participants during an opened/closed eye experiment [1]. The implementation takes as parameters the expected number of matrices and channels and returns a random set of samples from the experiment. The number of channels has to be between 1 and 16. Covariance matrices are estimated using pyRiemann [2].

Usage

The software can be installed using pip:

`pip install covmattest`

And the following code generates 3 matrices of size 2x2:

`covmat = get_covmat(3, 2)`

By default, matrices are issued from the same subject, picked randomly at the initialization of the script. To enforce the choice of a new random subject, you can use the following code:


from covmatest import CovmatGen
gen = CovmatGen()
covmat = gen.get_covmat(3, 2)


Note that each instance of CovmatGen picks a subject randomly and then keeps it during the whole time of its lifecycle.

References

[1]  G. Cattan, P. L. Coelho Rodrigues, and M. Congedo, ‘EEG Alpha Waves Dataset’, GIPSA-LAB, Research Report, décembre 2018. [Online]. Available: https://hal.archives-ouvertes.fr/hal-02086581

[2] A. Barachant, pyRiemann. pyRiemann, 2015. [Online]. Available: https://github.com/pyRiemann/pyRiemann

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.