Code for the paper "Stochastic analysis of the electromagnetic induction effect on a neuron's action potential dynamics"