Contribute to YASA
There are many ways to contribute to YASA: reporting bugs, adding new functions, improving the documentation, etc…
If you like YASA, you can also consider buying the developers a coffee!
Before starting new code, we highly recommend opening an issue on GitHub to discuss potential changes.
Use NumPy style for docstrings. Follow existing examples for simplest guidance.
When adding new functions, make sure that they are generalizable to various situations.
Changes must be accompanied by updated documentation and examples.
After making changes, ensure all tests pass. This can be done by running:
Checking and building documentation
All changes to the codebase must be properly documented. To ensure that documentation is rendered correctly, the best bet is to follow the existing examples for function docstrings. If you want to test the documentation locally, you will need to install the following packages:
$ pip install --upgrade sphinx sphinx_bootstrap_theme numpydoc
and then within the
yasa/docs directory do:
$ make html