예제 #1
0
 def build_hoc(self, hocfile_obj):
     name_hoc = hocfile_obj[MHocFileData.CurrentClamps][self.cclamp]['stimname']
     HocModUtils.create_record_from_object(
                     hocfile_obj=hocfile_obj,
                     vecname='RecVec%s' % self.name, 
                     objname=name_hoc,
                     objvar='i',
                     recordobj=self)
예제 #2
0
 def build_hoc(self, hocfile_obj):
     obj_name_hoc = hocfile_obj[MHocFileData.Synapses][
         self.neuron_syn_post.synapse]["POST"]["synnamepost"]
     HocModUtils.create_record_from_object(hocfile_obj=hocfile_obj,
                                           vecname="RecVec%s" % self.name,
                                           objname=obj_name_hoc,
                                           objvar="g",
                                           recordobj=self)
예제 #3
0
 def build_hoc(self, hocfile_obj):
     HocModUtils.create_record_from_modfile(
         hocfile_obj,
         vecname='RecVec%s' % self.name,
         cell_location=self.cell_location,
         modvariable=self.modvar,
         mod_neuronsuffix=self.nrnsuffix,
         recordobj=self,
        )
예제 #4
0
 def build_hoc(self, hocfile_obj):
     HocModUtils.create_record_from_modfile(
         hocfile_obj,
         vecname='RecVec%s' % self.name,
         cell_location=self.cell_location,
         modvariable=self.modvar,
         mod_neuronsuffix=self.nrnsuffix,
         recordobj=self,
     )
예제 #5
0
 def build_hoc(self, hocfile_obj):
     assert len(self.neuron_syn_post.synapses) == 1
     obj_name_hoc = hocfile_obj[MHocFileData.Synapses][self.neuron_syn_post]["synnamepost"]
     HocModUtils.create_record_from_object(
         hocfile_obj=hocfile_obj,
         vecname="RecVec%s" % self.name,
         objname=obj_name_hoc,
         objvar="voltage_dependancy",
         recordobj=self,
     )
 def build_hoc(self, hocfile_obj):
     obj_name_hoc = hocfile_obj[MHocFileData.Synapses][self.neuron_syn_post.synapse]["POST"]["synnamepost"]
     HocModUtils.create_record_from_object(hocfile_obj=hocfile_obj, vecname="RecVec%s" % self.name, objname=obj_name_hoc, objvar="g", recordobj=self)
예제 #7
0
 def build_hoc(self, hocfile_obj):
     objNameHoc = hocfile_obj[MHocFileData.CurrentClamps][self.cclamp]["stimname"]
     HocModUtils.create_record_from_object(hocfile_obj=hocfile_obj, vecname="RecVec%s" % self.name, objname=objNameHoc, objvar="i", recordobj=self)
예제 #8
0
    def build_hoc(self, hocfile_obj):
        assert len(self.neuron_syn_post.synapses) == 1, ' Trying to record from a super imposed synapse'

        obj_name_hoc = hocfile_obj[MHocFileData.Synapses][self.neuron_syn_post]["synnamepost"]
        HocModUtils.create_record_from_object(hocfile_obj=hocfile_obj, vecname="RecVec%s" % self.name, objname=obj_name_hoc, objvar="g", recordobj=self)
예제 #9
0
 def build_hoc(self, hocfile_obj):
     obj_name_hoc = hocfile_obj[MHocFileData.VoltageClamps][self.vclamp]['stimname']
     HocModUtils.create_record_from_object(hocfile_obj=hocfile_obj,
             vecname='RecVec%s' % self.name, objname=obj_name_hoc,
             objvar='i', recordobj=self)