ALLEN INSTITUTE

# bmtk.tests.simulator.pointnet package

## Submodules

## bmtk.tests.simulator.pointnet.conftest module

class bmtk.tests.simulator.pointnet.conftest.MockEdges(name, source_nodes, target_nodes, delay=2.0)

  Bases: `object`

  class MockEdge(delay)

    Bases: `object`

  get_edges()
  initialize(net)
  set_connection_type(src_pop, trg_pop)

class bmtk.tests.simulator.pointnet.conftest.MockNodePop(name, nnodes=100, batched=True, virtual=False)

  Bases: `object`

  class MockNode(n_nodes=1, node_id=0)

    Bases: `object`

    build()
  filter(filter)
  get_nodes()
  initialize(net)

class bmtk.tests.simulator.pointnet.conftest.MockNodeSet(population_names)

  Bases: `object`

  population_names()

class bmtk.tests.simulator.pointnet.conftest.MockSpikes(spike_times)

  Bases: `object`

  get_times(node_id)

## bmtk.tests.simulator.pointnet.pointnet_virtual_files module

class bmtk.tests.simulator.pointnet.pointnet_virtual_files.EdgeRow

  Bases: `object`

  property with_dynamics_params

class bmtk.tests.simulator.pointnet.pointnet_virtual_files.EdgesFile(target_nodes, source_nodes)

  Bases: `object`

  edges_itr(target_gid)
  load(edges_file, edge_types_file)
  property source_network

    Name of network containing the source gids

  property target_network

    Name of network containing the target gids

class bmtk.tests.simulator.pointnet.pointnet_virtual_files.NodeRow

  Bases: `object`

  property with_dynamics_params

class bmtk.tests.simulator.pointnet.pointnet_virtual_files.NodesFile(N)

  Bases: `object`

  get_node(gid, cache=False)
  property gids
  load(nodes_file, node_types_file)
  property name

    name of network containing these nodes

  next()
  property node_types_table
  property version

## bmtk.tests.simulator.pointnet.test_glif_utils module

bmtk.tests.simulator.pointnet.test_glif_utils.test_converter_psc(model_name, dynamics_params, expected)

## bmtk.tests.simulator.pointnet.test_multimeter_report module

bmtk.tests.simulator.pointnet.test_multimeter_report.test_multimeter_dt(dt)

## bmtk.tests.simulator.pointnet.test_pointgraph module

bmtk.tests.simulator.pointnet.test_pointgraph.test_add_edges()

bmtk.tests.simulator.pointnet.test_pointgraph.test_add_nodes()

## bmtk.tests.simulator.pointnet.test_pointnetwork module

bmtk.tests.simulator.pointnet.test_pointnetwork.test_add_edges()

bmtk.tests.simulator.pointnet.test_pointnetwork.test_add_edges_baddelay()

bmtk.tests.simulator.pointnet.test_pointnetwork.test_add_multi_nodes(batched)

bmtk.tests.simulator.pointnet.test_pointnetwork.test_add_nodes(batched)

bmtk.tests.simulator.pointnet.test_pointnetwork.test_add_spike_trains(spike_times)

bmtk.tests.simulator.pointnet.test_pointnetwork.test_add_spike_trains_badtimes(spike_times)

## Module contents