Skip to content

Commit

Permalink
Merge pull request #7 from BlueBrain/som-val
Browse files Browse the repository at this point in the history
Add somatic validation's feature extraction notebook
  • Loading branch information
anilbey authored Nov 8, 2022
2 parents 63c07d0 + 4d5cd88 commit 15ceda6
Show file tree
Hide file tree
Showing 155 changed files with 5,838 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,23 @@ jobs:
nrnivmodl mechanisms
pytest -sx tests
somatic-validation:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"

- name: Test somatic validation
run: |
pip install -r test-requirements.txt
cd somatic_validation
pip install -r requirements.txt
pytest -sx tests
code-style:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ model_management/mm_run_minimal/output_select
model_management/mm_run_minimal/tests/tmp
model_management/mm_run_minimal/tests/output
model_management/mm_run_minimal/tests/output_select
somatic_validation/L5PC
somatic_validation/test_L5PC
*.DS_Store
7 changes: 3 additions & 4 deletions feature_extraction/feature-extraction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"import bluepyefe as bpefe\n",
"import matplotlib.pyplot as plt\n",
"from matplotlib.ticker import FormatStrFormatter\n",
"import numpy as np\n",
"import pandas as pd\n",
"import seaborn as sns\n",
"\n",
Expand Down Expand Up @@ -1300,7 +1299,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.9.12 ('sscx-paper')",
"display_name": "Python 3.9.7 ('py39-somatic-val')",
"language": "python",
"name": "python3"
},
Expand All @@ -1314,12 +1313,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.9.7"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "6b7b36ee16605864c8799b6b622a0b2f53fcdf7a7a694fd87b195fb2c2f0d792"
"hash": "01b95f356d58c0c62b01251923e22f925a6781b57cb9d5803cbdeff6a4cbb07f"
}
}
},
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file added somatic_validation/__init__.py
Empty file.
121 changes: 121 additions & 0 deletions somatic_validation/experiments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
"IDRest": {
"location": "soma.v",
"tolerances": [
20.0
],
"targets": [
120
],
"efeatures": [
"Spikecount",
"AP_amplitude",
"ISI_values"
]
},
"IDthresh": {
"location": "soma.v",
"tolerances": [
20.0
],
"targets": [
120
],
"efeatures": [
"Spikecount",
"AP_amplitude",
"ISI_values"
]
},
"IDhyperpol": {
"location": "soma.v",
"tolerances": [
20.0
],
"targets": [
150,
170,
200,
220,
250,
270,
300,
350
],
"efeatures": [
"Spikecount",
"AP_amplitude",
"ISI_values",
"AP_height",
"ISI_log_slope",
"sag_amplitude",
"sag_ratio1",
"minimum_voltage",
"steady_state_voltage_stimend"
]
},
"sAHP": {
"location": "soma.v",
"tolerances": [
20.0
],
"targets": [
150,
170,
200,
220,
250,
270,
300,
350
],
"efeatures": [
"Spikecount",
"AP_amplitude",
"inv_first_ISI",
"AP_height",
"inv_time_to_first_spike",
"decay_time_constant_after_stim",
"AHP_depth_abs",
"sag_amplitude",
"sag_ratio1",
"steady_state_voltage",
"minimum_voltage",
"steady_state_voltage_stimend"
]
},
"APThreshold": {
"location": "soma.v",
"tolerances": [
20.0
],
"targets": [
100,
130,
150,
170,
200,
220,
250,
270,
300,
330,
360,
390,
400,
430,
460,
500,
530
],
"efeatures": [
"Spikecount",
"AP_amplitude",
"inv_time_to_first_spike",
"ISI_log_slope",
"ISI_CV",
"AP1_amp",
"APlast_amp"
]
}
}
Loading

0 comments on commit 15ceda6

Please sign in to comment.