‘Current Source Density analysis (CSD) is a class of methods of analysis of extracellular electric potentials recorded at multiple sites leading to estimates of current sources generating the measured potentials. It is usually applied to low-frequency part of the potential (called the Local Field Potential, LFP) and to simultaneous recordings or to recordings taken with fixed time reference to the onset of specific stimulus (Evoked Potentials)’ (Definition by Prof.Daniel K. Wójcik for Encyclopedia of Computational Neuroscience)
CSD is also called as Source Localization or Source Imaging in the EEG circles. Here are CSD methods for different types of electrode configurations.
1D - laminar probe like electrodes. 2D - Microelectrode Array like 3D - UtahArray or multiple laminar probes.
The following methods have been implemented so far
1D - StandardCSD, DeltaiCSD, SplineiCSD, StepiCSD, KCSD1D 2D - KCSD2D, MoIKCSD (Saline layer on top of slice) 3D - KCSD3D
Each of these methods listed have some advantages. The KCSD methods for instance can handle broken or irregular electrode configurations electrode
Keywords: LFP; CSD; Multielectrode; Laminar electrode; Barrel cortex
Citation Policy: See ./current_source_density_src/README.md
Contributors to this current source density estimation module are: Chaitanya Chintaluri(CC), Espen Hagen(EH) and Michał Czerwinski(MC). EH implemented the iCSD methods and StandardCSD CC implemented the kCSD methods, kCSD1D(MC and CC) CC and EH developed the interface to elephant.
elephant.current_source_density.
estimate_csd
(lfp, coords=None, method=None, process_estimate=True, **kwargs)[source]¶Fuction call to compute the current source density (CSD) from extracellular potential recordings(local-field potentials - LFP) using laminar electrodes or multi-contact electrodes with 2D or 3D geometries.
Parameters: | lfp : neo.AnalogSignal
coords : [Optional] corresponding spatial coordinates of the electrodes
method : string
process_estimate : bool
kwargs : parameters to each method
|
---|---|
Returns: | Estimated CSD
|
Raises: | AttributeError
ValueError
TypeError
|
elephant.current_source_density.
generate_lfp
(csd_profile, ele_xx, ele_yy=None, ele_zz=None, xlims=[0.0, 1.0], ylims=[0.0, 1.0], zlims=[0.0, 1.0], res=50)[source]¶Forward modelling for the getting the potentials for testing CSD
Parameters: | csd_profile : fuction that computes True CSD profile
ele_xx : np.array
ele_yy : np.array
ele_zz : np.array
x_lims : [start, end]
y_lims : [start, end]
z_lims : [start, end]
res : int
|
---|---|
Returns: | LFP : neo.AnalogSignal object
|