NeuralEnsemble / elephant

Elephant is the Electrophysiology Analysis Toolkit
http://www.python-elephant.org
BSD 3-Clause "New" or "Revised" License
202 stars 92 forks source link

[ENH] Integrate trials object with Fano factor #645

Open Moritz-Alexander-Kern opened 1 month ago

Moritz-Alexander-Kern commented 1 month ago

This pull request introduces an enhancement to Fano factor using the the elephant.trials module to represent trials. This change is part of a greater effort to provide a more structured and unified approach for handling trial data in Elephant.

Trial representations

This pull request adds two new parameters, pool_trials and pool_spike_trains, to the function. These parameters allow to control how spike trains are aggregated across trials and within individual trials.

Changes

coveralls commented 2 weeks ago

Coverage Status

coverage: 88.268% (-0.1%) from 88.401% when pulling 6bb2fc3b42ffa842aff191ae0f311fedafcb9c4f on INM-6:enh/trials_fano_factor into 123ca040b11a5961643c4de080df89af9b1fcd24 on NeuralEnsemble:master.