Package PyDSTool :: Package Toolbox :: Module neuro_data :: Class get_spike_data
[hide private]
[frames] | no frames]

Class get_spike_data

source code

       object --+            
                |            
 MProject.feature --+        
                    |        
MProject.feature_leaf --+    
                        |    
 MProject.ql_feature_leaf --+
                            |
                           get_spike_data

Qualitative test for presence of spike in noisy data. Also records salient spike information
 for quantitative comparisons later.

Criteria: ensure a maximum occurs, and that this is away from endpoints of traj
 "Uniqueness" of this maximum can only be determined for noisy data using a height
 tolerance.

Assumes spikes will never bunch up too much so that more than spike occurs in the
 spacing_tol window.

Finds maximum position using a quadratic fit.

Instance Methods [hide private]
 
_local_init(self) source code
 
evaluate(self, traj) source code
 
finish(self, traj)
Operations to complete only if evaluate was True (optional).
source code

Inherited from MProject.feature_leaf: __repr__, __str__, set_ref_traj

Inherited from MProject.feature_leaf (private): _residual_info

Inherited from MProject.feature: __call__, __eq__, __hash__, __init__, __ne__, info, postprocess_ref_traj, prepare, reset_metric, validate

Inherited from MProject.feature (private): _find_idx

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

evaluate(self, traj)

source code 
Overrides: MProject.feature.evaluate

finish(self, traj)

source code 

Operations to complete only if evaluate was True (optional). Override in concrete sub-class if desired

Overrides: MProject.feature.finish
(inherited documentation)