bmtool 0.6.9.26__tar.gz → 0.6.9.27__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/PKG-INFO +1 -1
  2. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/analysis/netcon_reports.py +4 -4
  3. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool.egg-info/PKG-INFO +1 -1
  4. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/setup.py +1 -1
  5. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/LICENSE +0 -0
  6. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/README.md +0 -0
  7. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/SLURM.py +0 -0
  8. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/__init__.py +0 -0
  9. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/__main__.py +0 -0
  10. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/analysis/__init__.py +0 -0
  11. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/analysis/entrainment.py +0 -0
  12. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/analysis/lfp.py +0 -0
  13. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/analysis/spikes.py +0 -0
  14. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/bmplot.py +0 -0
  15. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/connectors.py +0 -0
  16. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/debug/__init__.py +0 -0
  17. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/debug/commands.py +0 -0
  18. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/debug/debug.py +0 -0
  19. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/graphs.py +0 -0
  20. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/manage.py +0 -0
  21. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/plot_commands.py +0 -0
  22. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/singlecell.py +0 -0
  23. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/synapses.py +0 -0
  24. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/util/__init__.py +0 -0
  25. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/util/commands.py +0 -0
  26. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/util/neuron/__init__.py +0 -0
  27. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/util/neuron/celltuner.py +0 -0
  28. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool/util/util.py +0 -0
  29. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool.egg-info/SOURCES.txt +0 -0
  30. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool.egg-info/dependency_links.txt +0 -0
  31. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool.egg-info/entry_points.txt +0 -0
  32. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool.egg-info/requires.txt +0 -0
  33. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/bmtool.egg-info/top_level.txt +0 -0
  34. {bmtool-0.6.9.26 → bmtool-0.6.9.27}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bmtool
3
- Version: 0.6.9.26
3
+ Version: 0.6.9.27
4
4
  Summary: BMTool
5
5
  Home-page: https://github.com/cyneuro/bmtool
6
6
  Download-URL:
@@ -4,7 +4,7 @@ import xarray as xr
4
4
  import pandas as pd
5
5
  from ..util.util import load_nodes_from_config
6
6
 
7
- def load_synapse_report(h5_file_path, config_path):
7
+ def load_synapse_report(h5_file_path, config_path, network):
8
8
  """
9
9
  Load and process a synapse report from a bmtk simulation into an xarray.
10
10
 
@@ -23,7 +23,7 @@ def load_synapse_report(h5_file_path, config_path):
23
23
  # Load the h5 file
24
24
  with h5py.File(h5_file_path, 'r') as file:
25
25
  # Get the report data
26
- report = file['report']['cortex']
26
+ report = file['report'][network]
27
27
  mapping = report['mapping']
28
28
 
29
29
  # Get the data - shape is (n_timesteps, n_synapses)
@@ -47,10 +47,10 @@ def load_synapse_report(h5_file_path, config_path):
47
47
 
48
48
  # Load node information
49
49
  nodes = load_nodes_from_config(config_path)
50
- cortex_nodes = nodes['cortex']
50
+ nodes = nodes[network]
51
51
 
52
52
  # Create a mapping from node IDs to population names
53
- node_to_pop = dict(zip(cortex_nodes.index, cortex_nodes['pop_name']))
53
+ node_to_pop = dict(zip(nodes.index, nodes['pop_name']))
54
54
 
55
55
  # Get the number of synapses
56
56
  n_synapses = data.shape[1]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bmtool
3
- Version: 0.6.9.26
3
+ Version: 0.6.9.27
4
4
  Summary: BMTool
5
5
  Home-page: https://github.com/cyneuro/bmtool
6
6
  Download-URL:
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
6
6
 
7
7
  setup(
8
8
  name="bmtool",
9
- version='0.6.9.26',
9
+ version='0.6.9.27',
10
10
  author="Neural Engineering Laboratory at the University of Missouri",
11
11
  author_email="gregglickert@mail.missouri.edu",
12
12
  description="BMTool",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes