bluecellulab 2.6.64__py3-none-any.whl → 2.6.65__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.
- bluecellulab/tools.py +1 -1
- bluecellulab/validation/validation.py +6 -5
- {bluecellulab-2.6.64.dist-info → bluecellulab-2.6.65.dist-info}/METADATA +1 -1
- {bluecellulab-2.6.64.dist-info → bluecellulab-2.6.65.dist-info}/RECORD +8 -8
- {bluecellulab-2.6.64.dist-info → bluecellulab-2.6.65.dist-info}/WHEEL +0 -0
- {bluecellulab-2.6.64.dist-info → bluecellulab-2.6.65.dist-info}/licenses/AUTHORS.txt +0 -0
- {bluecellulab-2.6.64.dist-info → bluecellulab-2.6.65.dist-info}/licenses/LICENSE +0 -0
- {bluecellulab-2.6.64.dist-info → bluecellulab-2.6.65.dist-info}/top_level.txt +0 -0
bluecellulab/tools.py
CHANGED
|
@@ -40,7 +40,7 @@ def calculate_input_resistance(
|
|
|
40
40
|
morphology_path: str | Path,
|
|
41
41
|
template_format: str,
|
|
42
42
|
emodel_properties: EmodelProperties | None,
|
|
43
|
-
current_delta: float = 0.
|
|
43
|
+
current_delta: float = -0.02,
|
|
44
44
|
section: str = "soma[0]",
|
|
45
45
|
segx: float = 0.5
|
|
46
46
|
) -> float:
|
|
@@ -83,7 +83,7 @@ def plot_traces(recordings, out_dir, fname, title, labels=None, xlim=None):
|
|
|
83
83
|
return outpath
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
def spiking_test(template_params, rheobase, out_dir, spike_threshold_voltage=-
|
|
86
|
+
def spiking_test(template_params, rheobase, out_dir, spike_threshold_voltage=-20.):
|
|
87
87
|
"""Spiking test: cell should spike."""
|
|
88
88
|
stim_factory = StimulusFactory(dt=1.0)
|
|
89
89
|
step_stimulus = stim_factory.idrest(threshold_current=rheobase, threshold_percentage=200)
|
|
@@ -194,7 +194,7 @@ def bpap_test(template_params, rheobase, out_dir="./"):
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
|
|
197
|
-
def ais_spiking_test(template_params, rheobase, out_dir, spike_threshold_voltage=-
|
|
197
|
+
def ais_spiking_test(template_params, rheobase, out_dir, spike_threshold_voltage=-20.):
|
|
198
198
|
"""AIS spiking test: axon should spike before soma."""
|
|
199
199
|
name = "Simulatable Neuron AIS Spiking Validation"
|
|
200
200
|
# Check that the cell has an axon
|
|
@@ -337,7 +337,7 @@ def rin_test(rin):
|
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
|
|
340
|
-
def iv_test(template_params, rheobase, out_dir, spike_threshold_voltage=-
|
|
340
|
+
def iv_test(template_params, rheobase, out_dir, spike_threshold_voltage=-20., n_processes=None):
|
|
341
341
|
"""IV curve should have a positive slope."""
|
|
342
342
|
name = "Simulatable Neuron IV Curve Validation"
|
|
343
343
|
amps, steady_states = compute_plot_iv_curve(
|
|
@@ -377,7 +377,7 @@ def iv_test(template_params, rheobase, out_dir, spike_threshold_voltage=-30., n_
|
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
|
|
380
|
-
def fi_test(template_params, rheobase, out_dir, spike_threshold_voltage=-
|
|
380
|
+
def fi_test(template_params, rheobase, out_dir, spike_threshold_voltage=-20., n_processes=None):
|
|
381
381
|
"""FI curve should have a positive slope."""
|
|
382
382
|
name = "Simulatable Neuron FI Curve Validation"
|
|
383
383
|
amps, spike_counts = compute_plot_fi_curve(
|
|
@@ -449,7 +449,7 @@ def thumbnail_test(template_params, rheobase, out_dir):
|
|
|
449
449
|
def run_validations(
|
|
450
450
|
cell,
|
|
451
451
|
cell_name,
|
|
452
|
-
spike_threshold_voltage=-
|
|
452
|
+
spike_threshold_voltage=-20,
|
|
453
453
|
v_init=-80.0,
|
|
454
454
|
celsius=34.0,
|
|
455
455
|
output_dir="./memodel_validation_figures",
|
|
@@ -489,6 +489,7 @@ def run_validations(
|
|
|
489
489
|
morphology_path=cell.template_params.morph_filepath,
|
|
490
490
|
template_format=cell.template_params.template_format,
|
|
491
491
|
emodel_properties=cell.template_params.emodel_properties,
|
|
492
|
+
current_delta=-0.2 * rheobase,
|
|
492
493
|
)
|
|
493
494
|
|
|
494
495
|
logger.debug("Running validations...")
|
|
@@ -10,7 +10,7 @@ bluecellulab/plotwindow.py,sha256=ePU-EegZ1Sqk0SoYYiQ6k24ZO4s3Hgfpx10uePiJ5xM,27
|
|
|
10
10
|
bluecellulab/psection.py,sha256=FSOwRNuOTyB469BM-jPEf9l1J59FamXmzrQgBI6cnP4,6174
|
|
11
11
|
bluecellulab/psegment.py,sha256=PTgoGLqM4oFIdF_8QHFQCU59j-8TQmtq6PakiGUQhIo,3138
|
|
12
12
|
bluecellulab/rngsettings.py,sha256=2Ykb4Ylk3XTs58x1UIxjg8XJqjSpnCgKRZ8avXCDpxk,4237
|
|
13
|
-
bluecellulab/tools.py,sha256=
|
|
13
|
+
bluecellulab/tools.py,sha256=EGrX1RQyaEIFEN9pvcw1oxBP_vONgcx7U7a2N_11Z_g,21768
|
|
14
14
|
bluecellulab/type_aliases.py,sha256=DvgjERv2Ztdw_sW63JrZTQGpJ0x5uMTFB5hcBHDb0WA,441
|
|
15
15
|
bluecellulab/utils.py,sha256=0NhwlzyLnSi8kziSfDsQf7pokO4qDkMJVAO33kSX4O0,2227
|
|
16
16
|
bluecellulab/verbosity.py,sha256=T0IgX7DrRo19faxrT4Xzb27gqxzoILQ8FzYKxvUeaPM,1342
|
|
@@ -74,10 +74,10 @@ bluecellulab/stimulus/stimulus.py,sha256=a_hKJUtZmIgjiFjbJf6RzUPokELqn0IHCgIWGw5
|
|
|
74
74
|
bluecellulab/synapse/__init__.py,sha256=RW8XoAMXOvK7OG1nHl_q8jSEKLj9ZN4oWf2nY9HAwuk,192
|
|
75
75
|
bluecellulab/synapse/synapse_factory.py,sha256=NHwRMYMrnRVm_sHmyKTJ1bdoNmWZNU4UPOGu7FCi-PE,6987
|
|
76
76
|
bluecellulab/synapse/synapse_types.py,sha256=zs_yBvGTH4QrbQF3nEViidyq1WM_ZcTSFdjUxB3khW0,16871
|
|
77
|
-
bluecellulab/validation/validation.py,sha256=
|
|
78
|
-
bluecellulab-2.6.
|
|
79
|
-
bluecellulab-2.6.
|
|
80
|
-
bluecellulab-2.6.
|
|
81
|
-
bluecellulab-2.6.
|
|
82
|
-
bluecellulab-2.6.
|
|
83
|
-
bluecellulab-2.6.
|
|
77
|
+
bluecellulab/validation/validation.py,sha256=n1KgQo41vFM7DZcVY3Yx8WOIfVE0ke0s7S-EeDDM6mQ,20080
|
|
78
|
+
bluecellulab-2.6.65.dist-info/licenses/AUTHORS.txt,sha256=EDs3H-2HXBojbma10psixk3C2rFiOCTIREi2ZAbXYNQ,179
|
|
79
|
+
bluecellulab-2.6.65.dist-info/licenses/LICENSE,sha256=dAMAR2Sud4Nead1wGFleKiwTZfkTNZbzmuGfcTKb3kg,11335
|
|
80
|
+
bluecellulab-2.6.65.dist-info/METADATA,sha256=7j3p6Wktfp4qD8zwGsVHN6YzOk_AL-uJ4so5Fmfgh0g,8259
|
|
81
|
+
bluecellulab-2.6.65.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
82
|
+
bluecellulab-2.6.65.dist-info/top_level.txt,sha256=VSyEP8w9l3pXdRkyP_goeMwiNA8KWwitfAqUkveJkdQ,13
|
|
83
|
+
bluecellulab-2.6.65.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|