started the creation of a model interface and a dataparser for models
This commit is contained in:
9
models/AbstractModel.py
Normal file
9
models/AbstractModel.py
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
class AbstractModel:
|
||||
|
||||
# TODO what information about the model does the ModelParser need to be able to simulate the right kind of data
|
||||
# for further analysis in cell_data/fi_curve etc.
|
||||
|
||||
def min_stimulus_strength_to_spike(self):
|
||||
raise NotImplementedError("NOT IMPLEMENTED")
|
||||
@@ -1,9 +1,10 @@
|
||||
|
||||
from stimuli.AbstractStimulus import AbstractStimulus
|
||||
from models.AbstractModel import AbstractModel
|
||||
import numpy as np
|
||||
|
||||
|
||||
class LIFACModel:
|
||||
class LIFACModel(AbstractModel):
|
||||
# all times in milliseconds
|
||||
KEYS = ["mem_res", "mem_tau", "v_base", "v_zero", "threshold", "step_size", "delta_a", "tau_a"]
|
||||
VALUES = [100 * 1000000, 0.1 * 200, 0, 0, 10, 0.01, 1, 200]
|
||||
|
||||
Reference in New Issue
Block a user