jiamu_20

Code for the paper "Electro-physiology models of cells with spherical geometry with non-conducting centre".

Filtering and charging

sphere_equation_pulsefilter: the membrane voltage in response to a current pulse
charge_compare: charging in the sphere compare with a single compartment and an infinite cable.
voltage_rise_time: half-charged time with different sphere radius and pipette angle.

Voltage-clamp

sphere_equation_vclamp: voltage clamp in the sphere geometry.
cable_equation_vclamp: voltage clamp in cable equation.