{
  "manifest": {
    "$BASE_DIR": ".",
    "$OUTPUT_DIR": "$BASE_DIR/output_iclamp",
    "$INPUT_DIR": "$BASE_DIR/inputs",
    "$NETWORK_DIR": "$BASE_DIR/network",
    "$COMPONENT_DIR": "$BASE_DIR/../bio_components"
  },

  "run": {
    "tstop": 4000.0,
    "dt": 0.1,
    "dL": 20.0,
    "spike_threshold": -15,
    "nsteps_block": 10000
  },

  "target_simulator":"NEURON",

  "conditions": {
    "celsius": 34.0,
    "v_init": -80
  },

  "node_sets": {
    "biophys_cells": {
      "model_type": "biophysical"
    }
  },

  "inputs": {
 	"current_clamp_1": {
      "input_type": "current_clamp",
      "module": "IClamp",
      "node_set": "biophys_cells",
      "amp": 0.1500,
      "delay": 500.0,
      "duration": 500.0
    },
    "current_clamp_2": {
      "input_type": "current_clamp",
      "module": "IClamp",
      "node_set": "biophys_cells",
      "amp": 0.1750,
      "delay": 1500.0,
      "duration": 500.0
    },
    "current_clamp_3": {
      "input_type": "current_clamp",
      "module": "IClamp",
      "node_set": "biophys_cells",
      "amp": 0.2000,
      "delay": 2500.0,
      "duration": 500.0
    }
  },

  "output":{
    "log_file": "log.txt",
    "output_dir": "$OUTPUT_DIR",
    "spikes_file": "spikes.h5",
    "spikes_file_csv": "spikes.csv",
    "spikes_sort_order": "time"
  },


  "reports": {
    "calcium_concentration": {
      "cells": "biophys_cells",
      "variable_name": "cai",
      "module": "membrane_report",
      "file_name": "cai_report.h5",
      "sections": "soma"
    },

    "membrane_potential": {
      "cells": "biophys_cells",
      "variable_name": "v",
      "module": "membrane_report",
      "file_name": "v_report.h5",
      "sections": "soma"
    }
  },

  "components": {
    "morphologies_dir": "$COMPONENT_DIR/morphologies",
    "synaptic_models_dir": "$COMPONENT_DIR/synaptic_models",
    "mechanisms_dir":"$COMPONENT_DIR/mechanisms",
    "biophysical_neuron_models_dir": "$COMPONENT_DIR/biophysical_neuron_templates/ctdb"
  },

  "networks": {
    "nodes": [
      {
        "nodes_file": "$NETWORK_DIR/bio_nodes.h5",
        "node_types_file": "$NETWORK_DIR/bio_node_types.csv"
      }
    ]
  }
}
