Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored Spike Contrast method #1

Merged
merged 34 commits into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1405966
faster mean_firing_rate for a typical use case (#331)
dizcza Jun 22, 2020
91c03c4
Timescale function option to return nan if there are few spikes (<=2)…
morales-gregorio Jun 30, 2020
dea2ec4
Build documentation in Travis (#335)
dizcza Jul 27, 2020
e55a6bf
Removed deprecation warnings from 0.7.0 (#306)
dizcza Jul 27, 2020
0779731
don't use nan
dizcza Aug 1, 2020
97482bc
don't pad with zeros
dizcza Aug 1, 2020
4b20fce
bin_shrink_factor parameter
dizcza Aug 1, 2020
89dcdae
precompute edges for _binning_half_overlap
dizcza Aug 1, 2020
352e8fb
deal with spiketrains of length 1
dizcza Aug 4, 2020
7548c0d
return trace optionally
dizcza Aug 4, 2020
9007517
ASSET optimized probability_matrix_analytical and looping in _jsf_uni…
dizcza Aug 5, 2020
9e67193
Naming convention (binsize -> bin_size, etc.) (#316)
dizcza Aug 7, 2020
fe7b86d
Release v0.8.0 (#340)
dizcza Aug 7, 2020
3abf36f
Merge branch 'master' into pr/spike_contrast
dizcza Aug 19, 2020
c41e06b
all quantities
dizcza Aug 19, 2020
277c8de
python2 issues
dizcza Aug 19, 2020
d56246c
python2 issues again
dizcza Aug 19, 2020
63b1f4c
Update acknowledgments.rst
mdenker Aug 28, 2020
4bd2703
added __all__ in elephant modules (#342)
dizcza Aug 31, 2020
82ffa0d
Added a warning in fanofactor function when the input spiketrains var…
dizcza Aug 31, 2020
9529f14
Merge commit 'refs/pull/338/head' of github.com:NeuralEnsemble/elepha…
dizcza Sep 1, 2020
a8aec14
fixed wrong default min_bin units
dizcza Sep 1, 2020
ff1c8a8
naming
dizcza Sep 1, 2020
0dc27b3
download & unzip API
dizcza Sep 1, 2020
af3f7fd
Feature/inhomogeneous gamma (#339)
pbouss Sep 1, 2020
e7448ea
Added information on citing Elephant to documentation, fixed bib entr…
mdenker Sep 7, 2020
9d869b2
Three surrogate methods: Trial-shifting, Bin Shuffling, ISI dithering…
pbouss Sep 7, 2020
6f342aa
SPADE: New way to count patterns for multiple testing (#347)
pbouss Sep 7, 2020
f932dea
spike synchrony doc; take the first 5 networks to run the test
dizcza Sep 7, 2020
ec1919a
renamed test module
dizcza Sep 7, 2020
352f419
group spike train correlation, dissimilarity, and synchrony
dizcza Sep 7, 2020
ed94d54
tutorials: changed wget to curl for platform compatibility (#350)
pbouss Sep 9, 2020
48fc9b0
Time-domain pairwise Granger causality (#332)
rjurkus Sep 10, 2020
f54e254
Merge branch 'master' into pr/spike_contrast
dizcza Sep 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ matrix:
- name: "conda 2.7"
python: 2.7
env: DISTRIB="conda"
before_install: sed -i 's/conda-forge/conda/g' requirements/environment.yml

- name: "pip 2.7"
python: 2.7
Expand Down Expand Up @@ -41,6 +42,18 @@ matrix:
python: 3.8
env: DISTRIB="pip"

- name: "docs"
python: 3.6
env: DISTRIB="conda"
before_install: sudo apt install -y libopenmpi-dev openmpi-bin
before_script:
- conda install -c conda-forge pandoc
- pip install -r requirements/requirements-docs.txt
- pip install -r requirements/requirements-tutorials.txt
- pip install -r requirements/requirements-extras.txt
- sed -i -E "s/nbsphinx_execute *=.*/nbsphinx_execute = 'always'/g" doc/conf.py
script: cd doc && make html

install:
- if [[ "${DISTRIB}" == "conda" ]];
then
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![](https://coveralls.io/repos/NeuralEnsemble/elephant/badge.png "Unit Test Coverage")
![](https://readthedocs.org/projects/elephant/badge/?version=latest "Documentation Status")
![](https://img.shields.io/pypi/v/elephant)
![](https://img.shields.io/pypi/dd/elephant)
![](https://img.shields.io/pypi/dm/elephant)
[![Gitter](https://badges.gitter.im/python-elephant/community.svg)](https://gitter.im/python-elephant/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

*Elephant* package analyses all sorts of neurophysiological data:
Expand Down
28 changes: 28 additions & 0 deletions doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@
Release Notes
*************

Elephant 0.8.0 release notes
============================

New features
------------
* The `parallel` module is a new experimental module (https://github.com/NeuralEnsemble/elephant/pull/307) to run python functions concurrently. Supports native (pythonic) ProcessPollExecutor and MPI. Not limited to Elephant functional.
* Added an optional `refractory_period` argument, set to None by default, to `dither_spikes` function (https://github.com/NeuralEnsemble/elephant/pull/297).
* Added `cdf` and `icdf` functions in Kernel class to correctly estimate the median index, needed for `instantaneous_rate` function in statistics.py (https://github.com/NeuralEnsemble/elephant/pull/313).
* Added an optional `center_kernel` argument, set to True by default (to behave as in Elephant <0.8.0 versions) to `instantaneous_rate` function in statistics.py (https://github.com/NeuralEnsemble/elephant/pull/313).

New tutorials
-------------
* Analysis of Sequences of Synchronous EvenTs (ASSET) tutorial: https://elephant.readthedocs.io/en/latest/tutorials/asset.html
* Parallel module tutorial: https://elephant.readthedocs.io/en/latest/tutorials/parallel.html

Optimization
------------
* Optimized ASSET runtime by a factor of 10 and more (https://github.com/NeuralEnsemble/elephant/pull/259, https://github.com/NeuralEnsemble/elephant/pull/333).

Python 2.7 and 3.5 deprecation
------------------------------
Python 2.7 and 3.5 are deprecated and will not be maintained by the end of 2020. Switch to Python 3.6+.

Breaking changes
----------------
* Naming convention changes (`binsize` -> `bin_size`, etc.) in almost all Elephant functions (https://github.com/NeuralEnsemble/elephant/pull/316).


Elephant 0.7.0 release notes
============================

Expand Down
9 changes: 6 additions & 3 deletions doc/style_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ throughout Elephant.

.. code-block:: python

def pair_of_signals_example(spiketrain_i, spiketrain_j):
# Add '_i' and '_j' suffixes to a pair of signals, spiketrains or any
# other variables that come in pairs.

def perfect_naming_of_parameters(spiketrains, spiketrain, reference_spiketrain,
target_spiketrain, signal, signals, max_iterations,
min_threshold, n_bins, n_surrogates, bin_size, max_size,
Expand Down Expand Up @@ -119,9 +123,8 @@ throughout Elephant.
Therefore, do not use terms as `n` or `n_surr`, that are not
immediately understood.
bin_size : pq.Quantity or int
Separate the words by underscore. Do not use `binsize`. Old functions
which use `binsize` will be gradually refactored to conform to the new
convention.
Separate the words by underscore. Do not use `bin_size`. Old functions
which use `binsize` are deprecated.
max_size : float
Another example showing that words should be separated by underscores.
This intersects with the naming convention for a maximum value.
Expand Down
Loading