Go to the source code of this file.
◆ nrnmodule
| struct PyModuleDef nrnmodule |
|
static |
Initial value:= {PyModuleDef_HEAD_INIT,
"nrn",
"NEURON interaction with Python",
-1,
static PyMethodDef nrnpy_methods[]
Definition at line 144 of file nrnpy_nrn.h.
◆ nrnpy_AllSegOfSecIterType_slots
| PyType_Slot nrnpy_AllSegOfSecIterType_slots[] |
|
static |
Initial value:= {
{Py_tp_doc, (void*) "Iterate over all Segments of a Section, including x=0 and 1"},
{0, 0},
}
static int NPyAllSegOfSecIter_init(NPyAllSegOfSecIter *self, PyObject *args, PyObject *kwds)
PyObject * NPyAllSegOfSecIter_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
static void NPyAllSegOfSecIter_dealloc(NPyAllSegOfSecIter *self)
static PyObject * allseg_of_sec_iter(NPyAllSegOfSecIter *self)
static PyObject * allseg_of_sec_next(NPyAllSegOfSecIter *self)
Definition at line 26 of file nrnpy_nrn.h.
◆ nrnpy_AllSegOfSecIterType_spec
| PyType_Spec nrnpy_AllSegOfSecIterType_spec |
|
static |
Initial value:= {
"nrn.AllsegIter",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_AllSegOfSecIterType_slots[]
Definition at line 35 of file nrnpy_nrn.h.
◆ nrnpy_MechanismType_slots
| PyType_Slot nrnpy_MechanismType_slots[] |
|
static |
Initial value:= {
{Py_tp_doc, (void*) "Mechanism objects"},
{0, 0},
}
static int NPyMechObj_init(NPyMechObj *self, PyObject *args, PyObject *kwds)
static PyMemberDef NPyMechObj_members[]
static PyMethodDef NPyMechObj_methods[]
static PyObject * pymech_repr(PyObject *p)
static int mech_setattro(NPyMechObj *self, PyObject *pyname, PyObject *value)
static void NPyMechObj_dealloc(NPyMechObj *self)
static PyObject * mech_getattro(NPyMechObj *self, PyObject *pyname)
static PyObject * var_of_mech_iter(NPyMechObj *self)
static PyObject * NPyMechObj_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
Definition at line 97 of file nrnpy_nrn.h.
◆ nrnpy_MechanismType_spec
| PyType_Spec nrnpy_MechanismType_spec |
|
static |
Initial value:= {
"nrn.Mechanism",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_MechanismType_slots[]
Definition at line 110 of file nrnpy_nrn.h.
◆ nrnpy_MechOfSegIterType_slots
| PyType_Slot nrnpy_MechOfSegIterType_slots[] |
|
static |
Initial value:= {
{Py_tp_iter, (void*) PyObject_SelfIter},
{Py_tp_doc, (void*) "Iterate over Mechanisms in a Segment of a Section"},
{0, 0},
}
static void NPyMechOfSegIter_dealloc(NPyMechOfSegIter *self)
static PyObject * mech_of_seg_next(NPyMechOfSegIter *self)
Definition at line 82 of file nrnpy_nrn.h.
◆ nrnpy_MechOfSegIterType_spec
| PyType_Spec nrnpy_MechOfSegIterType_spec |
|
static |
Initial value:= {
"nrn.MechOfSegIter",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_MechOfSegIterType_slots[]
Definition at line 89 of file nrnpy_nrn.h.
◆ nrnpy_RangeType_slots
| PyType_Slot nrnpy_RangeType_slots[] |
|
static |
Initial value:= {
{Py_tp_doc, (void*) "Range Variable Array objects"},
{Py_sq_length, (
void*)
rv_len},
{0, 0},
}
static Py_ssize_t rv_len(PyObject *self)
static PyObject * rv_getitem(PyObject *self, Py_ssize_t ix)
static void NPyRangeVar_dealloc(NPyRangeVar *self)
static int NPyRangeVar_init(NPyRangeVar *self, PyObject *args, PyObject *kwds)
static int rv_setitem(PyObject *self, Py_ssize_t ix, PyObject *value)
static PyMethodDef NPyRangeVar_methods[]
static PyObject * NPyRangeVar_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
Definition at line 133 of file nrnpy_nrn.h.
◆ nrnpy_RangeType_spec
| PyType_Spec nrnpy_RangeType_spec |
|
static |
Initial value:= {
"nrn.RangeVar",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_RangeType_slots[]
Definition at line 144 of file nrnpy_nrn.h.
◆ nrnpy_SectionType_slots
| PyType_Slot nrnpy_SectionType_slots[] |
|
static |
Initial value:= {
{Py_tp_doc, (void*) "Section objects"},
{0, 0},
}
static PyObject * pysec_richcmp(NPySecObj *self, PyObject *other, int op)
static PyObject * seg_of_section_iter(NPySecObj *self)
static void NPySecObj_dealloc(NPySecObj *self)
static PyObject * section_getattro(NPySecObj *self, PyObject *pyname)
static int section_setattro(NPySecObj *self, PyObject *pyname, PyObject *value)
static PyObject * pysec_repr(PyObject *p)
static PyObject * NPySecObj_call(NPySecObj *self, PyObject *args)
static PyMethodDef NPySecObj_methods[]
static long pysec_hash(PyObject *self)
static int NPySecObj_init(NPySecObj *self, PyObject *args, PyObject *kwds)
static int NPySecObj_contains(PyObject *sec, PyObject *obj)
PyObject * NPySecObj_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
Definition at line 1 of file nrnpy_nrn.h.
◆ nrnpy_SectionType_spec
| PyType_Spec nrnpy_SectionType_spec |
|
static |
Initial value:= {
"nrn.Section",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_SectionType_slots[]
Definition at line 17 of file nrnpy_nrn.h.
◆ nrnpy_SegmentType_slots
| PyType_Slot nrnpy_SegmentType_slots[] |
|
static |
Initial value:= {
{Py_tp_doc, (void*) "Segment objects"},
{0, 0},
}
static PyMethodDef NPySegObj_methods[]
static PyObject * mech_of_segment_iter(NPySegObj *self)
static PyObject * pyseg_repr(PyObject *p)
static int NPySegObj_init(NPySegObj *self, PyObject *args, PyObject *kwds)
static int segment_setattro(NPySegObj *self, PyObject *pyname, PyObject *value)
static void NPySegObj_dealloc(NPySegObj *self)
static PyObject * pyseg_richcmp(NPySegObj *self, PyObject *other, int op)
static PyObject * segment_getattro(NPySegObj *self, PyObject *pyname)
static PyMemberDef NPySegObj_members[]
static PyObject * NPySegObj_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
static long pyseg_hash(PyObject *self)
Definition at line 59 of file nrnpy_nrn.h.
◆ nrnpy_SegmentType_spec
| PyType_Spec nrnpy_SegmentType_spec |
|
static |
Initial value:= {
"nrn.Segment",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_SegmentType_slots[]
Definition at line 74 of file nrnpy_nrn.h.
◆ nrnpy_SegOfSecIterType_slots
| PyType_Slot nrnpy_SegOfSecIterType_slots[] |
|
static |
Initial value:= {
{Py_tp_iter, (void*) PyObject_SelfIter},
{Py_tp_doc,
(void*) "Iterate over nonzero area Segments of a Section (does not include x=0 and 1)"},
{0, 0},
}
static void NPySegOfSecIter_dealloc(NPySegOfSecIter *self)
static PyObject * seg_of_sec_next(NPySegOfSecIter *self)
Definition at line 43 of file nrnpy_nrn.h.
◆ nrnpy_SegOfSecIterType_spec
| PyType_Spec nrnpy_SegOfSecIterType_spec |
|
static |
Initial value:= {
"nrn.SegOfSecIter",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_SegOfSecIterType_slots[]
Definition at line 51 of file nrnpy_nrn.h.
◆ nrnpy_VarOfMechIterType_slots
| PyType_Slot nrnpy_VarOfMechIterType_slots[] |
|
static |
Initial value:= {
{Py_tp_iter, (void*) PyObject_SelfIter},
{Py_tp_doc, (void*) "Iterate over variables in a Mechanism"},
{0, 0},
}
static PyObject * var_of_mech_next(NPyVarOfMechIter *self)
static void NPyVarOfMechIter_dealloc(NPyVarOfMechIter *self)
Definition at line 118 of file nrnpy_nrn.h.
◆ nrnpy_VarOfMechIterType_spec
| PyType_Spec nrnpy_VarOfMechIterType_spec |
|
static |
Initial value:= {
"nrn.VarOfMechIter",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_VarOfMechIterType_slots[]
Definition at line 125 of file nrnpy_nrn.h.
◆ nrnsectionmodule
| struct PyModuleDef nrnsectionmodule |
|
static |
Initial value:= {PyModuleDef_HEAD_INIT,
"_neuron_section",
"NEURON interaction with Python",
-1,
Definition at line 144 of file nrnpy_nrn.h.