Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def nwb2widget(node, neurodata_vis_spec=default_neurodata_vis_spec):
return base.nwb2widget(node, neurodata_vis_spec)
def show_lfp(node: LFP, neurodata_vis_spec: dict):
lfp = list(node.electrical_series.values())[0]
return nwb2widget(lfp, neurodata_vis_spec)