module Data: sig
.. end
Must have length >= 1 (at least T
or E
)
type
snapshot = {
}
type
din_data = {
|
din_name : string ; |
|
din_kind : Primitives.din_kind ; |
|
din_start : float ; |
|
din_hits : int array ; |
|
din_fluxs : float array array ; |
}
type
din = {
|
din_rules : string array ; |
|
din_data : din_data ; |
|
din_end : float ; |
}
type
file_line = {
|
file_line_name : string option ; |
|
file_line_text : string ; |
}
type
t =
val print_snapshot : ?uuid:int -> Format.formatter -> snapshot -> unit
val print_dot_snapshot : ?uuid:int -> Format.formatter -> snapshot -> unit
val write_snapshot : Bi_outbuf.t -> snapshot -> unit
val string_of_snapshot : ?len:int -> snapshot -> string
len
: specifies the initial length
of the buffer used internally.
Default: 1024.
val read_snapshot : Yojson.Safe.lexer_state -> Lexing.lexbuf -> snapshot
val snapshot_of_string : string -> snapshot
val print_dot_din : ?uuid:int -> Format.formatter -> din -> unit
val print_html_din : Format.formatter -> din -> unit
val write_din : Bi_outbuf.t -> din -> unit
val string_of_din : ?len:int -> din -> string
Serialize a value of type
Data.din
into a JSON string.
len
: specifies the initial length
of the buffer used internally.
Default: 1024.
val read_din : Yojson.Safe.lexer_state -> Lexing.lexbuf -> din
val din_of_string : string -> din
type
plot = {
|
plot_legend : string array ; |
|
plot_series : float option array list ; |
}
val add_plot_line : Nbr.t array -> plot -> plot
val init_plot : Model.t -> plot
val write_plot : Bi_outbuf.t -> plot -> unit
val string_of_plot : ?len:int -> plot -> string
Serialize a value of type
Data.plot
into a JSON string.
len
: specifies the initial length
of the buffer used internally.
Default: 1024.
val read_plot : Yojson.Safe.lexer_state -> Lexing.lexbuf -> plot
val plot_of_string : string -> plot
val print_plot_legend : is_tsv:bool -> Format.formatter -> string array -> unit
val print_plot_line : is_tsv:bool ->
(Format.formatter -> 'a -> unit) -> Format.formatter -> 'a array -> unit
val export_plot : is_tsv:bool -> plot -> string