Skip to content

Tabula rasa for erfcx integral? #81

@arashgmn

Description

@arashgmn

Numerical integration of the erfcx is hard. But since all mean-field needs is a definite integral, isn't it better to numerically solve this integral once, with very high precision, from $-\infty$ to $x$ and then evaluate the finite integral using interpolation (for the limits) and the fundamental theorem of calculus? To me it seems to speed up the code and also lower the numerical difficulty of this line in the delta synapse

def _firing_rates_for_given_input(mu, sigma, V_0_rel, V_th_rel, tau_m, tau_r):

and its equivalent line in the exponential synapse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions