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 173 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 PyObject * allseg_of_sec_next_safe(NPyAllSegOfSecIter *self)
static void NPyAllSegOfSecIter_dealloc_safe(NPyAllSegOfSecIter *self)
PyObject * NPyAllSegOfSecIter_new_safe(PyTypeObject *type, PyObject *args, PyObject *kwds)
static PyObject * allseg_of_sec_iter_safe(NPyAllSegOfSecIter *self)
static int NPyAllSegOfSecIter_init_safe(NPyAllSegOfSecIter *self, PyObject *args, PyObject *kwds)
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_safe(NPyMechObj *self, PyObject *args, PyObject *kwds)
static int mech_setattro_safe(NPyMechObj *self, PyObject *pyname, PyObject *value)
static PyObject * NPyMechObj_new_safe(PyTypeObject *type, PyObject *args, PyObject *kwds)
static PyMemberDef NPyMechObj_members[]
static PyMethodDef NPyMechObj_methods[]
static PyObject * pymech_repr_safe(PyObject *p)
static PyObject * mech_getattro_safe(NPyMechObj *self, PyObject *pyname)
static PyObject * var_of_mech_iter_safe(NPyMechObj *self)
static void NPyMechObj_dealloc_safe(NPyMechObj *self)
Definition at line 98 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 111 of file nrnpy_nrn.h.
◆ nrnpy_MechFuncType_slots
PyType_Slot nrnpy_MechFuncType_slots[] |
|
static |
Initial value:= {
{Py_tp_doc, (void*) "Mechanism Function"},
{0, 0},
}
static PyMethodDef NPyMechFunc_methods[]
static PyObject * NPyMechFunc_call_safe(NPyMechFunc *self, PyObject *args)
static void NPyMechFunc_dealloc_safe(NPyMechFunc *self)
static PyObject * pymechfunc_repr_safe(PyObject *p)
Definition at line 119 of file nrnpy_nrn.h.
◆ nrnpy_MechFuncType_spec
PyType_Spec nrnpy_MechFuncType_spec |
|
static |
Initial value:= {
"nrn.MechFunc",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_MechFuncType_slots[]
Definition at line 127 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_safe(NPyMechOfSegIter *self)
static PyObject * mech_of_seg_next_safe(NPyMechOfSegIter *self)
Definition at line 83 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 90 of file nrnpy_nrn.h.
◆ nrnpy_OpaquePointerType_slots
PyType_Slot nrnpy_OpaquePointerType_slots[] |
|
static |
Initial value:= {
{Py_tp_doc, (void*) "Opaque pointer."},
{0, 0},
}
Definition at line 169 of file nrnpy_nrn.h.
◆ nrnpy_OpaquePointerType_spec
PyType_Spec nrnpy_OpaquePointerType_spec |
|
static |
Initial value:= {
"nrn.OpaquePointer",
0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyType_Slot nrnpy_OpaquePointerType_slots[]
Definition at line 173 of file nrnpy_nrn.h.
◆ nrnpy_RangeType_slots
PyType_Slot nrnpy_RangeType_slots[] |
|
static |
Initial value:= {
{Py_tp_doc, (void*) "Range Variable Array objects"},
{0, 0},
}
static PyObject * NPyRangeVar_new_safe(PyTypeObject *type, PyObject *args, PyObject *kwds)
static int rv_setitem_safe(PyObject *self, Py_ssize_t ix, PyObject *value)
static PyObject * rv_getitem_safe(PyObject *self, Py_ssize_t ix)
static Py_ssize_t rv_len_safe(PyObject *self)
static int NPyRangeVar_init_safe(NPyRangeVar *self, PyObject *args, PyObject *kwds)
static PyMethodDef NPyRangeVar_methods[]
static void NPyRangeVar_dealloc_safe(NPyRangeVar *self)
Definition at line 150 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 161 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 void NPySecObj_dealloc(NPySecObj *self)
PyObject * NPySecObj_new_safe(PyTypeObject *type, PyObject *args, PyObject *kwds)
static int NPySecObj_contains_safe(PyObject *sec, PyObject *obj)
static PyObject * pysec_richcmp_safe(NPySecObj *self, PyObject *other, int op)
static PyMethodDef NPySecObj_methods[]
static PyObject * pysec_repr_safe(PyObject *p)
static PyObject * NPySecObj_call_safe(NPySecObj *self, PyObject *args)
static long pysec_hash_safe(PyObject *self)
static PyObject * section_getattro_safe(NPySecObj *self, PyObject *pyname)
static int NPySecObj_init_safe(NPySecObj *self, PyObject *args, PyObject *kwds)
static PyObject * seg_of_section_iter_safe(NPySecObj *self)
static int section_setattro_safe(NPySecObj *self, PyObject *pyname, PyObject *value)
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 PyObject * NPySegObj_new_safe(PyTypeObject *type, PyObject *args, PyObject *kwds)
static PyMethodDef NPySegObj_methods[]
static int NPySegObj_contains_safe(PyObject *segment, PyObject *obj)
static PyObject * segment_getattro_safe(NPySegObj *self, PyObject *pyname)
static PyObject * mech_of_segment_iter_safe(NPySegObj *self)
static PyObject * pyseg_richcmp_safe(NPySegObj *self, PyObject *other, int op)
static void NPySegObj_dealloc_safe(NPySegObj *self)
static int NPySegObj_init(NPySegObj *self, PyObject *, PyObject *)
static PyMemberDef NPySegObj_members[]
static long pyseg_hash_safe(PyObject *self)
static PyObject * pyseg_repr_safe(PyObject *p)
static int segment_setattro_safe(NPySegObj *self, PyObject *pyname, PyObject *value)
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 75 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_safe(NPySegOfSecIter *self)
static PyObject * seg_of_sec_next_safe(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_safe(NPyVarOfMechIter *self)
static void NPyVarOfMechIter_dealloc_safe(NPyVarOfMechIter *self)
Definition at line 135 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 142 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 173 of file nrnpy_nrn.h.