bluecellulab 2.6.48__py3-none-any.whl → 2.6.49__py3-none-any.whl

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.

Potentially problematic release.


This version of bluecellulab might be problematic. Click here for more details.

@@ -324,15 +324,18 @@ def fi_test(cell, rheobase, out_dir, spike_threshold_voltage=-30.):
324
324
  }
325
325
 
326
326
 
327
- def run_validations(cell, cell_name, spike_threshold_voltage=-30):
327
+ def run_validations(
328
+ cell, cell_name, spike_threshold_voltage=-30, output_dir="./memodel_validation_figures"
329
+ ):
328
330
  """Run all the validations on the cell.
329
331
 
330
332
  Args:
331
333
  cell (Cell): The cell to validate.
332
334
  cell_name (str): The name of the cell, used in the output directory.
333
335
  spike_threshold_voltage (float): The voltage threshold for spike detection.
336
+ output_dir (str): The directory to save the validation figures.
334
337
  """
335
- out_dir = pathlib.Path("memodel_validation_figures") / cell_name
338
+ out_dir = pathlib.Path(output_dir) / cell_name
336
339
  out_dir.mkdir(parents=True, exist_ok=True)
337
340
 
338
341
  # cell = Cell.from_template_parameters(template_params)
@@ -387,9 +390,9 @@ def run_validations(cell, cell_name, spike_threshold_voltage=-30):
387
390
 
388
391
  return {
389
392
  "memodel_properties": {
390
- "holding_current": holding_current,
391
- "rheobase": rheobase,
392
- "rin": rin,
393
+ "holding_current": float(holding_current),
394
+ "rheobase": float(rheobase),
395
+ "rin": float(rin),
393
396
  },
394
397
  "spiking_test": spiking_test_result,
395
398
  "depolarization_block_test": depolarization_block_result,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluecellulab
3
- Version: 2.6.48
3
+ Version: 2.6.49
4
4
  Summary: Biologically detailed neural network simulations and analysis.
5
5
  Author: Blue Brain Project, EPFL
6
6
  License: Apache2.0
@@ -65,10 +65,10 @@ bluecellulab/stimulus/stimulus.py,sha256=a_hKJUtZmIgjiFjbJf6RzUPokELqn0IHCgIWGw5
65
65
  bluecellulab/synapse/__init__.py,sha256=RW8XoAMXOvK7OG1nHl_q8jSEKLj9ZN4oWf2nY9HAwuk,192
66
66
  bluecellulab/synapse/synapse_factory.py,sha256=NHwRMYMrnRVm_sHmyKTJ1bdoNmWZNU4UPOGu7FCi-PE,6987
67
67
  bluecellulab/synapse/synapse_types.py,sha256=zs_yBvGTH4QrbQF3nEViidyq1WM_ZcTSFdjUxB3khW0,16871
68
- bluecellulab/validation/validation.py,sha256=iGOgtgpZ3Yid1VlxsCycS14a0qRkP42zhj4WFPCBX4Q,13017
69
- bluecellulab-2.6.48.dist-info/licenses/AUTHORS.txt,sha256=EDs3H-2HXBojbma10psixk3C2rFiOCTIREi2ZAbXYNQ,179
70
- bluecellulab-2.6.48.dist-info/licenses/LICENSE,sha256=dAMAR2Sud4Nead1wGFleKiwTZfkTNZbzmuGfcTKb3kg,11335
71
- bluecellulab-2.6.48.dist-info/METADATA,sha256=a7gi6zv56VtPk9dN6g2qWN926WnR3VdX-_7T1SvT2h4,8236
72
- bluecellulab-2.6.48.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
73
- bluecellulab-2.6.48.dist-info/top_level.txt,sha256=VSyEP8w9l3pXdRkyP_goeMwiNA8KWwitfAqUkveJkdQ,13
74
- bluecellulab-2.6.48.dist-info/RECORD,,
68
+ bluecellulab/validation/validation.py,sha256=irP617pC2fdT_wJafaedkSTDHJ-5I2Badml5jj_b-OI,13141
69
+ bluecellulab-2.6.49.dist-info/licenses/AUTHORS.txt,sha256=EDs3H-2HXBojbma10psixk3C2rFiOCTIREi2ZAbXYNQ,179
70
+ bluecellulab-2.6.49.dist-info/licenses/LICENSE,sha256=dAMAR2Sud4Nead1wGFleKiwTZfkTNZbzmuGfcTKb3kg,11335
71
+ bluecellulab-2.6.49.dist-info/METADATA,sha256=btGOUwph6uJAQSrUhhatlF7JHau3kt4UnyMSjyTyuCk,8236
72
+ bluecellulab-2.6.49.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
73
+ bluecellulab-2.6.49.dist-info/top_level.txt,sha256=VSyEP8w9l3pXdRkyP_goeMwiNA8KWwitfAqUkveJkdQ,13
74
+ bluecellulab-2.6.49.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.7.1)
2
+ Generator: setuptools (80.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5