parse_dda_output

Function parse_dda_output 

Source
pub fn parse_dda_output(
    content: &str,
    column_stride: Option<usize>,
) -> Result<Vec<Vec<f64>>>
Expand description

Parse DDA binary output and return as 2D matrix [channels × timepoints]

Based on dda-py _process_output: skip first 2 columns, take every Nth column, then transpose

§Arguments

  • content - Raw text output from run_DDA_AsciiEdf binary
  • column_stride - Optional stride for column extraction (default 4 for ST/CT/DE, use 2 for CD, use 1 for SY)

§Returns

Processed matrix in [channels/scales × timepoints] format