-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: render autodoc & typehints in the API documentation (#359)
* remove uninformative comment block * update setDependencyFileLocation * update getDependencyFileLocation * update setThreshold * update setDerivativeThreshold * add type hints to get_cpp_feature, numpy as np to shorten fn sign * update getFeatureNames, FeatureNameExists, _get_feature * update getDistance * update setInt/Double/Strsettings * update getFeatureValues * update getMeanFeatureValues * update _get_feature_values_serial * readthedocs.yaml py3.9->py3.10 * use the same requirements_docs.txt in readthedocs,tox,Makefile * Fix docstring error in extract_stim_times_from_neo_data * fix docstring error in load_neo_file * enable autodoc + typehints * make CHANGELOG rst * add changelog to docs * update docs' description text * update epubcopyright date * update CHANGELOG * update PR template * fix trailing whitespace * apply Aurelien's review * handle None values in phaseslope_max
- Loading branch information
Showing
13 changed files
with
377 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,46 @@ | ||
|
||
# Changelog | ||
Changelog | ||
========= | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_, | ||
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_. | ||
|
||
## [5.5.4] - 2024-01 | ||
5.5.5 - 2024-01 | ||
---------------- | ||
- Type annotate api.py's functions. | ||
- Deprecate camel case function names in api.py. | ||
- Start using same requirements_docs.txt in readthedocs and tox. | ||
- Enable autodoc and typehints in the API documentation. | ||
- Fix docstring errors in the io module. | ||
- Add changelog to the documentation. | ||
|
||
[5.5.4] - 2024-01 | ||
----------------- | ||
- New feature: phaseslope_max | ||
|
||
## [5.5.3] - 2024-01 | ||
|
||
5.5.3 - 2024-01 | ||
---------------- | ||
- Add type stub for cppcore module to make Python recognise the C++ functions' arguments and return values. | ||
|
||
## [5.5.0] - 2024-01 | ||
|
||
### C++ changes | ||
- AP_end_indices, AP_rise_time, AP_fall_time, AP_rise_rate, AP_fall_rate do not take into account peaks before stim_start anymore | ||
- New test and test data for spontaneous firing case. | ||
The data is provided by github user SzaBoglarka using cell https://modeldb.science/114047 | ||
|
||
|
||
## [5.4.0] - 2024-01 | ||
|
||
### C++ changes | ||
5.5.0 - 2024-01 | ||
---------------- | ||
C++ changes | ||
^^^^^^^^^^^ | ||
- AP_end_indices, AP_rise_time, AP_fall_time, AP_rise_rate, AP_fall_rate do not take into account peaks before stim_start anymore. | ||
- New test and test data for spontaneous firing case. The data is provided by github user SzaBoglarka using cell `https://modeldb.science/114047 <https://modeldb.science/114047>`_. | ||
|
||
5.4.0 - 2024-01 | ||
---------------- | ||
C++ changes | ||
^^^^^^^^^^^ | ||
- New C++ function `getFeatures` replaced `getVec`. | ||
- `getFeatures` automatically handles failures & distinguishes empty results from failures. | ||
- Centralized error handling in `getFeatures` shortens the code by removing repetitions. | ||
- C++ features' access is restricted. Read-only references are marked `const`. | ||
- Removed wildcard features from C++ API. Use of Python is encouraged for that purpose. | ||
|
||
### Python changes | ||
Python changes | ||
^^^^^^^^^^^^^^ | ||
- `bpap_attenuation` feature is added to the Python API. | ||
- `Spikecount`, `Spikecount_stimint`, `burst_number`, `strict_burst_number` and `trace_check` features migrated to Python from C++. | ||
- `check_ais_initiation` is added to the Python API. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.. include:: ../../CHANGELOG.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.