Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit dae2571

Browse files
author
Carlos Carreiras
committed
Prepare release of v0.2.0
1 parent d14f624 commit dae2571

File tree

4 files changed

+66
-35
lines changed

4 files changed

+66
-35
lines changed

CHANGES

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,22 @@
33

44
Here you can see the full list of changes between each BioSPPy release.
55

6+
Version 0.2.0
7+
-------------
8+
9+
Released on October 1st 2015
10+
11+
- Added the biometrics module, including k-NN and SVM classifiers
12+
- Added outlier detection methods to the clustering module
13+
- Added text-based data storage methods to the storage module
14+
- Changed docstring style to napoleon-numpy
15+
- Complete code style formatting
16+
- Initial draft of the tutorial
17+
- Bug fixes
18+
619
Version 0.1.2
720
-------------
821

922
Released on August 29th 2015
1023

11-
- Alpha release
24+
- Alpha release

biosppy/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
:license: BSD 3-clause, see LICENSE for more details.
1010
"""
1111

12-
version = '0.1.2'
12+
version = '0.2.0'

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ def __getattr__(cls, name):
8585
# built documents.
8686
#
8787
# The short X.Y version.
88-
version = '0.1.2'
88+
version = '0.2.0'
8989
# The full version, including alpha/beta/rc tags.
90-
release = '0.1.2'
90+
release = '0.2.0'
9191

9292
# The language for content autogenerated by Sphinx. Refer to documentation
9393
# for a list of supported languages.

docs/tutorial.rst

Lines changed: 49 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -23,39 +23,59 @@ instance). Finally, for complex biological systems like the human being,
2323
biosignals also include blood and urine test measurements, core body
2424
temperature, motion tracking signals, and imaging techniques such as CAT and MRI
2525
scans. However, the term biosignal is most often applied to bioelectrical,
26-
time-varying signals. The following sub-sections briefly describe the biosignals
26+
time-varying signals, such as the electrocardiogram.
27+
28+
The task of obtaining biosignals of good quality is time-consuming,
29+
and typically requires the use of costly hardware. Access to these instruments
30+
is, therefore, usually restricted to research institutes, medical centers,
31+
and hospitals. However, recent projects like `BITalino <http://bitalino.com/>`__
32+
or `OpenBCI <http://openbci.com/>`__ have lowered the entry barriers of biosignal
33+
acquisition, fostering the Do-It-Yourself and Maker communities to develop
34+
physiological computing applications. You can find a list of biosignal
35+
platform `here <https://opensource.com/life/15/4/five-diy-hardware-physiological-computing>`__.
36+
37+
38+
39+
40+
41+
The following sub-sections briefly describe the biosignals
2742
covered by `biosppy`.
2843

44+
Blood Volume Pulse
45+
------------------
46+
47+
Blood Volume Pulse (BVP) signals are...
48+
49+
Electrocardiogram
50+
-----------------
2951

52+
Electrocardiogrm (ECG) signals are...
3053

31-
The following biosignals form the focus of `biosppy`:
54+
Electrodermal Activity
55+
----------------------
3256

33-
* Blood Volume Pulse (BVP);
34-
* Electrocardiogram (ECG);
35-
* Electrodermal Activity (EDA);
36-
* Electroencephalogram (EEG);
37-
* Electromyogram (EMG);
38-
* Respiration (Resp).
57+
Electrodermal Activity (EDA) signals are...
3958

40-
Bla.
59+
Electroencephalogram
60+
--------------------
4161

42-
ECG
43-
---
62+
Electroencephalogram (EEG) signals are...
4463

45-
Bla.
64+
Electromyogram
65+
--------------
4666

47-
EMG
48-
---
67+
Electromyogram (EMG) signals are...
4968

50-
Bla.
69+
Respiration
70+
-----------
71+
72+
Respiration (Resp) signals are...
5173

52-
A very cool thing [ABCD88a]_.
53-
Another cool thing [ABCD88b]_.
5474

5575
What is Pattern Recognition?
5676
============================
5777

58-
Bla.
78+
To do.
5979

6080
A Note on Return Objects
6181
========================
@@ -122,9 +142,9 @@ extract. In this case, the user typically already knows what a function does,
122142
but it is cumbersome to remember by heart the order of the outputs, without
123143
having to constantly check out the documentation.
124144

125-
For instance, the `numpy.histogram
126-
<http://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html>`_
127-
function returns first the edges or the values of the histogram? Maybe it's the
145+
For instance, does the `numpy.histogram
146+
<http://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html>`__
147+
function first return the edges or the values of the histogram? Maybe it's the
128148
edges first, which correspond to the x axis. Oops, it's actually the other way
129149
around...
130150

@@ -200,7 +220,7 @@ And to list all the available keys:
200220
['sum', 'sub', 'mult', 'div']
201221
202222
It is also possible to convert the object to a more traditional dictionary,
203-
specifically an `OrderedDict <https://docs.python.org/2/library/collections.html#collections.OrderedDict>`_:
223+
specifically an `OrderedDict <https://docs.python.org/2/library/collections.html#collections.OrderedDict>`__:
204224

205225
.. code:: python
206226
@@ -214,7 +234,7 @@ Dictionary-like unpacking is supported:
214234
215235
>>> some_function(**out)
216236
217-
`ReturnTuple` is heavily inspired by `namedtuple <https://docs.python.org/2/library/collections.html#collections.namedtuple>`_,
237+
`ReturnTuple` is heavily inspired by `namedtuple <https://docs.python.org/2/library/collections.html#collections.namedtuple>`__,
218238
but without the dynamic class generation at object creation. It is a subclass
219239
of `tuple`, therefore it maintains compatibility with the native return pattern.
220240
It is still possible to unpack the variables in the usual way:
@@ -255,7 +275,7 @@ typical methods to filter, transform, and extract signal features. Let's see
255275
how this works for the example of the ECG signal.
256276

257277
The GitHub repository includes a few example signals (see
258-
`here <https://github.com/PIA-Group/BioSPPy/tree/master/examples>`_). To load
278+
`here <https://github.com/PIA-Group/BioSPPy/tree/master/examples>`__). To load
259279
and plot the raw ECG signal follow:
260280

261281
.. code:: python
@@ -306,26 +326,24 @@ It should produce a plot like the one below.
306326
Signal Processing
307327
=================
308328

309-
Bla.
329+
To do..
310330

311331
Clustering
312332
==========
313333

314-
Bla.
334+
To do..
315335

316336
Biometrics
317337
==========
318338

319-
Bla.
339+
To do..
320340

321341
What's Next?
322342
============
323343

324-
Bla.
344+
To do..
325345

326346
References
327347
==========
328348

329-
.. [ABCD88a] Reference
330-
331-
.. [ABCD88b] Haha
349+
To do.

0 commit comments

Comments
 (0)