1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
let () = Wrap_utils.init ();;
let __wrap_namespace = Py.import "scipy.misc"
let get_py name = Py.Module.get __wrap_namespace name
module Doccer = struct
let () = Wrap_utils.init ();;
let __wrap_namespace = Py.import "scipy.misc.doccer"
let get_py name = Py.Module.get __wrap_namespace name
let docformat ?kwds args =
Py.Module.get_function_with_keywords __wrap_namespace "docformat"
(Array.of_list @@ List.concat [(List.map Wrap_utils.id args)])
(match kwds with None -> [] | Some x -> x)
let extend_notes_in_docstring ?kwds args =
Py.Module.get_function_with_keywords __wrap_namespace "extend_notes_in_docstring"
(Array.of_list @@ List.concat [(List.map Wrap_utils.id args)])
(match kwds with None -> [] | Some x -> x)
let filldoc ?kwds args =
Py.Module.get_function_with_keywords __wrap_namespace "filldoc"
(Array.of_list @@ List.concat [(List.map Wrap_utils.id args)])
(match kwds with None -> [] | Some x -> x)
let indentcount_lines ?kwds args =
Py.Module.get_function_with_keywords __wrap_namespace "indentcount_lines"
(Array.of_list @@ List.concat [(List.map Wrap_utils.id args)])
(match kwds with None -> [] | Some x -> x)
let inherit_docstring_from ?kwds args =
Py.Module.get_function_with_keywords __wrap_namespace "inherit_docstring_from"
(Array.of_list @@ List.concat [(List.map Wrap_utils.id args)])
(match kwds with None -> [] | Some x -> x)
let replace_notes_in_docstring ?kwds args =
Py.Module.get_function_with_keywords __wrap_namespace "replace_notes_in_docstring"
(Array.of_list @@ List.concat [(List.map Wrap_utils.id args)])
(match kwds with None -> [] | Some x -> x)
let unindent_dict ?kwds args =
Py.Module.get_function_with_keywords __wrap_namespace "unindent_dict"
(Array.of_list @@ List.concat [(List.map Wrap_utils.id args)])
(match kwds with None -> [] | Some x -> x)
let unindent_string ?kwds args =
Py.Module.get_function_with_keywords __wrap_namespace "unindent_string"
(Array.of_list @@ List.concat [(List.map Wrap_utils.id args)])
(match kwds with None -> [] | Some x -> x)
end
let ascent () =
Py.Module.get_function_with_keywords __wrap_namespace "ascent"
[||]
[]
|> (fun py -> (Np.Obj.of_pyobject py : [`ArrayLike|`Ndarray|`Object] Np.Obj.t))
let central_diff_weights ?ndiv ~np () =
Py.Module.get_function_with_keywords __wrap_namespace "central_diff_weights"
[||]
(Wrap_utils.keyword_args [("ndiv", Wrap_utils.Option.map ndiv Py.Int.of_int); ("Np", Some(np |> Py.Int.of_int))])
|> (fun py -> (Np.Obj.of_pyobject py : [`ArrayLike|`Ndarray|`Object] Np.Obj.t))
let derivative ?dx ?n ?args ?order ~func ~x0 () =
Py.Module.get_function_with_keywords __wrap_namespace "derivative"
[||]
(Wrap_utils.keyword_args [("dx", Wrap_utils.Option.map dx Py.Float.of_float); ("n", Wrap_utils.Option.map n Py.Int.of_int); ("args", args); ("order", Wrap_utils.Option.map order Py.Int.of_int); ("func", Some(func )); ("x0", Some(x0 |> Py.Float.of_float))])
let electrocardiogram () =
Py.Module.get_function_with_keywords __wrap_namespace "electrocardiogram"
[||]
[]
|> (fun py -> (Np.Obj.of_pyobject py : [`ArrayLike|`Ndarray|`Object] Np.Obj.t))
let face ?gray () =
Py.Module.get_function_with_keywords __wrap_namespace "face"
[||]
(Wrap_utils.keyword_args [("gray", Wrap_utils.Option.map gray Py.Bool.of_bool)])
|> (fun py -> (Np.Obj.of_pyobject py : [`ArrayLike|`Ndarray|`Object] Np.Obj.t))