Skip to main content

load_trace

Function load_trace 

Source
pub(crate) fn load_trace(
    args: &Args,
    motors: &[MotorInfo],
    tr: &Translations,
) -> Result<Imported, Failure>
Expand description

The trace named by --trace: through the mapping file --map (a vendor export; see docs/measurement-procedure.md), or without one in the simulator’s own columns for motors. Where a machine is replayed or fitted, the mapping’s motors have to be the machine’s, in its order. How the export was read other than it says (lines skipped, a time without unit taken as ms) goes to stderr.