5
static PyMethodDef cseries_methods[] = {
7
{"MA_mov_sum", (PyCFunction)MaskedArray_mov_sum,
8
METH_VARARGS | METH_KEYWORDS, ""},
9
{"MA_mov_median", (PyCFunction)MaskedArray_mov_median,
10
METH_VARARGS | METH_KEYWORDS, ""},
11
{"MA_mov_average", (PyCFunction)MaskedArray_mov_average,
12
METH_VARARGS | METH_KEYWORDS, ""},
13
{"MA_mov_stddev", (PyCFunction)MaskedArray_mov_stddev,
14
METH_VARARGS | METH_KEYWORDS, ""},
16
{"TS_convert", (PyCFunction)TimeSeries_convert,
19
{"DA_asfreq", (PyCFunction)DateArray_asfreq,
21
{"DA_getDateInfo", (PyCFunction)DateArray_getDateInfo,
25
{"thisday", (PyCFunction)c_tdates_thisday,
27
"Returns today's date, at the given frequency\n\n"
29
" - freq : string/int\n"
30
" Frequency to convert the Date to. Accepts any valid frequency\n"
31
" specification (string or integer)\n"},
33
{"check_freq", (PyCFunction)c_tdates_check_freq,
35
"translate user specified frequency into frequency constant"},
37
{"check_freq_str", (PyCFunction)c_tdates_check_freq_str,
39
"translate user specified frequency into standard string representation"},
41
{"get_freq_group", (PyCFunction)c_tdates_get_freq_group,
43
"translate user specified frequency into frequency group constant"},
46
{"set_callback_DateFromString", (PyCFunction)set_callback_DateFromString,
48
{"set_callback_DateTimeFromString", (PyCFunction)set_callback_DateTimeFromString,
59
m = Py_InitModule("cseries", cseries_methods);