start_time
Builtin index · Signal processing
start_time(s)
Input: s · Output: no output
What it is
Added in v0.2.4. The time of sample 0, in seconds (0 unless set_start_time was called, so nothing about an un-dated signal changes).
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
start_time(s) | s —not documented yet | not documented yet | Added in v0.2.4. The time of sample 0, in seconds (0 unless set_start_time was called, so nothing about an un-dated signal changes). |
Examples
No documentation example calls this form yet. The Signal processing chapter is where one belongs.
How it works
start_time(s) / end_time(s) / set_start_time(s, t) / timestamps(s) -- §10's timestamps. end_time is start_time + duration, i.e. the end of the RECORD, one sample period after the last sample's own timestamp. That keeps end_time - start_time == duration exactly; the last entry of timestamps(s) is deliberately not the same number, and is one dt earlier.
From the note above this builtin in the interpreter, where the reasoning was written down as it was built.