-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Milestone
Description
Is your feature request related to a problem? Please describe.
At present, the different classes rely on different parameters names declaring extracellular recording sites:
PointSourcePotentialand similar uses ndarraysx,y,zin Cartesian coordinates,OneSphereVolumeConductor usesndarrayrin spherical coordinates,FourSphereVolumeConductorusesr_electrodesin Cartesian,InfiniteHomogeneousVolCondMEGusessensor_locationsetc.- For class
InfiniteVolumeConductorthe user must specify relative measurement locationras input to theget_transformation_matrix, NYheadmodelsomething else altogether
These internal inconsistencies needs to be resolved and conform to the same structure, e.g.,
class Whatever(LinearModel):
'''Some description
Parameters
------------
cell: CellGeometry object
r_probe: ndarray
shape (n_contacts, 3) array of extracellular measurement locations in absolute Cartesian coordinates (µm)
'''
def __init__(self, cell, r_probe, **kwargs):
super.__init__(cell=cell)
self.r_probe = r_probe
....
In a similar vein the source locations in case of dipoles should be declared with the same parameter, e.g., r_source.
A good timeline to incorporate would be for future LFPy-2.3 (https://github.com/LFPy/LFPy/projects/2) which may break backwards compatibility anyway.
Reactions are currently unavailable