brainpy.analysis.PhasePlane2D#

class brainpy.analysis.PhasePlane2D(model, target_vars, fixed_vars=None, target_pars=None, pars_update=None, resolutions=None, **kwargs)[source]#

Phase plane analyzer for 2D dynamical system.

Parameters:
  • model (Any) – A model of the population, the integrator function, or a list/tuple of integrator functions.

  • target_vars (dict) – The target/dynamical variables.

  • fixed_vars (dict) – The fixed variables.

  • target_pars (dict, optional) – The parameters which can be dynamical varied.

  • pars_update (dict, optional) – The parameters to update.

  • resolutions (float, dict) –

__init__(model, target_vars, fixed_vars=None, target_pars=None, pars_update=None, resolutions=None, **kwargs)[source]#

Methods

__init__(model, target_vars[, fixed_vars, ...])

convert_type()

plot_fixed_point([with_plot, with_return, ...])

Plot the fixed point and analyze its stability.

plot_limit_cycle_by_sim(initials, duration)

Plot trajectories according to the settings.

plot_nullcline([with_plot, with_return, ...])

Plot the nullcline.

plot_trajectory(initials, duration[, ...])

Plot trajectories according to the settings.

plot_vector_field([with_plot, with_return, ...])

Plot the vector field.

show_figure()

Attributes

F_dfxdx

`

F_dfxdy

`

F_dfydx

`

F_dfydy

`

F_fixed_point_aux

F_fixed_point_opt

F_fx

Make the standard function call of \(f_x (*\mathrm{vars}, *\mathrm{pars})\).

F_fy

The function to evaluate \(f_y(*\mathrm{vars}, *\mathrm{pars})\).

F_int_x

F_int_y

F_jacobian

The function to evaluate \(J(*\mathrm{vars}, *\mathrm{pars})\).

F_vmap_brentq_fy

F_vmap_fp_aux

F_vmap_fp_opt

F_vmap_fx

F_vmap_fy

F_x_by_y_in_fx

F_x_by_y_in_fy

F_x_convert

F_y_by_x_in_fx

F_y_by_x_in_fy

F_y_convert