Version: dev

indexed_time

Stable type · Streaming writer

Tier: stable · Kind: type · Topic: Streaming writer

PythonJuliaRust
not exportedIndexedTimeTimeMode

Python

Python does not export this type.

Julia

struct IndexedTime
IndexedTime(times::Vector{Float64})
IndexedTime(times)
IndexedTime(times::AbstractVector)
IndexedTime(times)

The indexed time mode (spec/writer.md §6.2): the time axis has a fixed length n_records = length(times) from [write_open!], the owner writes times as the time coordinate at open, and records are written by index with [write_record_at!], in any order. The default time mode is :append.

Source

Rust

pub enum TimeMode {
    Append,
    Indexed { n_records: usize, times: Vec<f64> },
}

How the record axis is addressed (spec/writer.md §6).

Source · Rust docs