hnn_core.law_2021_model#

hnn_core.law_2021_model(params=None, add_drives_from_params=False, legacy_mode=False, mesh_shape=(10, 10))[source]#

Instantiate the network model described in Law et al., 2021.

This creates a network that is the expansion of Jones 2009 model to study beta modulated ERPs as described in Law et al. Cereb. Cortex 2021 [1] .

Parameters:
paramsstr | Path | dict | None, default=None

Custom Network parameters to use, if any. If string or Path, it is assumed to be a path to a legacy “flat” JSON file containing the parameters in the style of hnn_core/param/default.json (NOT a modern “hierarchical” JSON file like hnn_core/param/neymotin2020_base.json). If dict, it is assumed to be a dictionary of parameters in the “flat” JSON style. If None (the default), the default parameters are used from hnn_core/param/default.json. Note that if you have drive parameters included, but you ALSO set the deprecated add_drives_from_params to True, the drives will be added twice if the drive names are the same.

add_drives_from_paramsbool, default=False

If True, add drives as defined in the params-dict. NB this is mainly for backward-compatibility with HNN GUI, and will be deprecated in a future release. Default: False

legacy_modebool, default=False

Set to False by default. Enables matching HNN GUI output when drives are added suitably. Will be deprecated in a future release.

mesh_shapetuple of int (default: (10, 10))

Defines the (n_x, n_y) shape of the grid of pyramidal cells.

Returns:
netInstance of Network object

Network object used to store the model used in Law et al. 2021.

See also

jones_2009_model

Notes

Model reproduces results from Law et al. 2021 This model differs from the default network model in several parameters including 1) Increased GABAb time constants on L2/L5 pyramidal cells 2) Decrease L5_pyramidal -> L5_pyramidal nmda weight 3) Modified L5_basket -> L5_pyramidal inhibition weights 4) Removal of L5 pyramidal somatic and basal dendrite calcium channels 5) Replace L2_basket -> L5_pyramidal GABAa connection with GABAb 6) Addition of L5_basket -> L5_pyramidal distal connection

References

[1]

Law, Robert G., et al. “Thalamocortical Mechanisms Regulating the Relationship between Transient Beta Events and Human Tactile Perception.” Cerebral Cortex, 32, 668–688 (2022).