Skip to content

Commit

Permalink
update notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkilic committed Aug 27, 2024
1 parent 9f89290 commit 4273abd
Show file tree
Hide file tree
Showing 4 changed files with 260 additions and 140 deletions.
10 changes: 5 additions & 5 deletions examples/simplecell/config/extract_config/simplecell_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
{
"efeature": "Spikecount",
"protocol": "IDrest",
"amplitude": 0.256,
"amplitude": 0.2,
"tolerance": 0.1,
"efeature_name": null,
"weight": 1.0,
Expand All @@ -378,7 +378,7 @@
{
"efeature": "mean_frequency",
"protocol": "IDrest",
"amplitude": 0.256,
"amplitude": 0.2,
"tolerance": 0.1,
"efeature_name": null,
"weight": 1.0,
Expand All @@ -389,7 +389,7 @@
{
"efeature": "voltage_base",
"protocol": "IDrest",
"amplitude": 0.256,
"amplitude": 0.2,
"tolerance": 0.1,
"efeature_name": null,
"weight": 1.0,
Expand Down Expand Up @@ -433,7 +433,7 @@
{
"efeature": "voltage_base",
"protocol": "IV",
"amplitude": -0.147,
"amplitude": -0.1,
"tolerance": 0.1,
"efeature_name": null,
"weight": 1.0,
Expand All @@ -444,7 +444,7 @@
{
"efeature": "ohmic_input_resistance_vb_ssse",
"protocol": "IV",
"amplitude": -0.147,
"amplitude": -0.1,
"tolerance": 0.1,
"efeature_name": null,
"weight": 1.0,
Expand Down
66 changes: 33 additions & 33 deletions examples/simplecell/config/features/simplecell.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,53 @@
"efeatures": [
{
"efel_feature_name": "Spikecount",
"protocol_name": "IDrest_0.256",
"protocol_name": "IDrest_0.2",
"recording_name": "soma.v",
"threshold_efeature_std": null,
"default_std_value": 0.001,
"mean": 6.6,
"original_std": 4.5431266766402185,
"sample_size": 5,
"mean": 5.0,
"original_std": 3.605551275463989,
"sample_size": 4,
"efeature_name": "Spikecount",
"weight": 1.0,
"efel_settings": {
"interp_step": 0.025,
"strict_stiminterval": true,
"Threshold": -50.11250305175781
"Threshold": -48.99374771118164
}
},
{
"efel_feature_name": "mean_frequency",
"protocol_name": "IDrest_0.256",
"protocol_name": "IDrest_0.2",
"recording_name": "soma.v",
"threshold_efeature_std": null,
"default_std_value": 0.001,
"mean": 4.6549665308108965,
"original_std": 1.7066939148229534,
"sample_size": 4,
"mean": 3.9105121810617045,
"original_std": 1.2910808300604681,
"sample_size": 3,
"efeature_name": "mean_frequency",
"weight": 1.0,
"efel_settings": {
"interp_step": 0.025,
"strict_stiminterval": true,
"Threshold": -50.11250305175781
"Threshold": -48.99374771118164
}
},
{
"efel_feature_name": "voltage_base",
"protocol_name": "IDrest_0.256",
"protocol_name": "IDrest_0.2",
"recording_name": "soma.v",
"threshold_efeature_std": null,
"default_std_value": 0.001,
"mean": -84.9396882128033,
"original_std": 0.3331013733422112,
"sample_size": 5,
"mean": -84.83373198951986,
"original_std": 0.28733612701960526,
"sample_size": 4,
"efeature_name": "voltage_base",
"weight": 1.0,
"efel_settings": {
"interp_step": 0.025,
"strict_stiminterval": true,
"Threshold": -50.11250305175781
"Threshold": -48.99374771118164
}
},
{
Expand Down Expand Up @@ -104,56 +104,56 @@
},
{
"efel_feature_name": "voltage_base",
"protocol_name": "IV_-0.147",
"protocol_name": "IV_-0.1",
"recording_name": "soma.v",
"threshold_efeature_std": null,
"default_std_value": 0.001,
"mean": -84.5937809414334,
"original_std": 0.25958992541480197,
"sample_size": 5,
"mean": -84.4690685507692,
"original_std": 0.08042238367019017,
"sample_size": 4,
"efeature_name": "voltage_base",
"weight": 1.0,
"efel_settings": {
"interp_step": 0.025,
"strict_stiminterval": true,
"Threshold": -64.5374984741211
"Threshold": -64.51874923706055
}
},
{
"efel_feature_name": "ohmic_input_resistance_vb_ssse",
"protocol_name": "IV_-0.147",
"protocol_name": "IV_-0.1",
"recording_name": "soma.v",
"threshold_efeature_std": null,
"default_std_value": 0.001,
"mean": 47.95114886552402,
"original_std": 1.5928203273461563,
"sample_size": 5,
"mean": 48.64694052877976,
"original_std": 0.8664384286999164,
"sample_size": 4,
"efeature_name": "ohmic_input_resistance_vb_ssse",
"weight": 1.0,
"efel_settings": {
"interp_step": 0.025,
"strict_stiminterval": true,
"Threshold": -64.5374984741211
"Threshold": -64.51874923706055
}
}
],
"protocols": [
{
"name": "IDrest_0.256",
"name": "IDrest_0.2",
"stimuli": [
{
"delay": 700.0000000000001,
"amp": 0.2579375009983778,
"amp": 0.23945312993600965,
"thresh_perc": null,
"duration": 2000.0,
"totduration": 3000.0,
"holding_current": -0.0266875009983778
"holding_current": -0.026718751061707735
}
],
"recordings_from_config": [
{
"type": "CompRecording",
"name": "IDrest_0.256.soma.v",
"name": "IDrest_0.2.soma.v",
"location": "soma",
"variable": "v"
}
Expand Down Expand Up @@ -187,21 +187,21 @@
"stochasticity": false
},
{
"name": "IV_-0.147",
"name": "IV_-0.1",
"stimuli": [
{
"delay": 20.0,
"amp": -0.1440624985843897,
"amp": -0.1265624992083758,
"thresh_perc": null,
"duration": 1000.0,
"totduration": 1320.0,
"holding_current": -0.02878124974668026
"holding_current": -0.02816406195051968
}
],
"recordings_from_config": [
{
"type": "CompRecording",
"name": "IV_-0.147.soma.v",
"name": "IV_-0.1.soma.v",
"location": "soma",
"variable": "v"
}
Expand Down
48 changes: 28 additions & 20 deletions examples/simplecell/final.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,42 @@
"iteration": null,
"synapse_class": null,
"allen_notation": null,
"score": 1257.8671455915864,
"score": 510.2861723258447,
"parameters": {
"gnabar_hh.somatic": 0.10623315844384061,
"gkbar_hh.somatic": 0.026127548830000066
"gnabar_hh.somatic": 0.05000000003749999,
"gkbar_hh.somatic": 0.07499999996750001
},
"fitness": {
"IDrest_0.256.soma.v.Spikecount": 0.1320676359488435,
"IDrest_0.256.soma.v.mean_frequency": 250.0,
"IDrest_0.256.soma.v.voltage_base": 6.755673681284991,
"IV_-0.147.soma.v.voltage_base": 0.979404274352486,
"IV_-0.147.soma.v.ohmic_input_resistance_vb_ssse": 250.0,
"IDrest_0.2.soma.v.Spikecount": 1.1094003924504583,
"IDrest_0.2.soma.v.mean_frequency": 250.0,
"IDrest_0.2.soma.v.voltage_base": 6.86265875272435,
"IV_-0.1.soma.v.voltage_base": 2.3141131806698945,
"IV_-0.1.soma.v.ohmic_input_resistance_vb_ssse": 250.0
},
"features": {
"IDrest_0.2.soma.v.Spikecount": 1.0,
"IDrest_0.2.soma.v.mean_frequency": 1739.1304358817733,
"IDrest_0.2.soma.v.voltage_base": -82.86184220245485,
"IDrest_0.4.soma.v.Spikecount": 1.0,
"IDrest_0.4.soma.v.mean_frequency": 2105.263159505021,
"IDrest_0.4.soma.v.voltage_base": -82.71053576131624,
"IV_-0.1.soma.v.voltage_base": -84.28296205269712,
"IV_-0.1.soma.v.ohmic_input_resistance_vb_ssse": 1060.243113329033
},
"validation_fitness": {
"IDrest_0.4.soma.v.Spikecount": 250.0,
"IDrest_0.4.soma.v.mean_frequency": 250.0,
"IDrest_0.4.soma.v.voltage_base": 250.0
},
"features": {
"IDrest_0.256.soma.v.Spikecount": 6.0,
"IDrest_0.256.soma.v.mean_frequency": 1105.990783485126,
"IDrest_0.256.soma.v.voltage_base": -82.68936403171544,
"IDrest_0.4.soma.v.Spikecount": 4.0,
"IDrest_0.4.soma.v.mean_frequency": 1333.3333334958297,
"IDrest_0.4.soma.v.voltage_base": -82.5609583626679,
"IV_-0.147.soma.v.voltage_base": -84.8480244239635,
"IV_-0.147.soma.v.ohmic_input_resistance_vb_ssse": 1060.9623644880035
},
"validation_fitness": {},
"validated": false,
"seed": 1,
"pdfs": []
"pdfs": [
"/gpfs/bbp.cscs.ch/home/ikilic/workspace/BluePyEModel/examples/simplecell/figures/simplecell/optimisation/emodel=simplecell__etype=cADpyr__species=rat__brain_region=SSCX__seed=1__optimisation.pdf",
"/gpfs/bbp.cscs.ch/home/ikilic/workspace/BluePyEModel/examples/simplecell/figures/simplecell/traces/all/emodel=simplecell__etype=cADpyr__species=rat__brain_region=SSCX__seed=1__traces.pdf",
"/gpfs/bbp.cscs.ch/home/ikilic/workspace/BluePyEModel/examples/simplecell/figures/simplecell/scores/all/emodel=simplecell__etype=cADpyr__species=rat__brain_region=SSCX__seed=1__scores.pdf",
"/gpfs/bbp.cscs.ch/home/ikilic/workspace/BluePyEModel/examples/simplecell/figures/simplecell/thumbnail/all/emodel=simplecell__etype=cADpyr__species=rat__brain_region=SSCX__seed=1__thumbnail.png",
"/gpfs/bbp.cscs.ch/home/ikilic/workspace/BluePyEModel/examples/simplecell/figures/simplecell/distributions/all/emodel=simplecell__etype=cADpyr__species=rat__brain_region=SSCX__parameters_distribution.pdf",
"/gpfs/bbp.cscs.ch/home/ikilic/workspace/BluePyEModel/examples/simplecell/figures/simplecell/parameter_evolution/emodel=simplecell__etype=cADpyr__species=rat__brain_region=SSCX__seed=1__evo_parameter_density.pdf"
]
}
}
Loading

0 comments on commit 4273abd

Please sign in to comment.