Skip to content
Matthias Leubin edited this page Dec 7, 2016 · 36 revisions

RocketLogger Matlab Code

Data Class (rld)

  • Read RLD file
obj = rld(file_name, decimation_factor)
v_ideal = rl_cal.gen_dual_sweep_values(-5.5,5.5, 0.1);
v_rld = rld('20161108_accuracy24h_v.rld');
v_data = v_rld.get_data({'V1', 'V2', 'V3', 'V4'});
for i=1:4
    v_measured(:,i) = rl_aux_average_points(v_data(:,i), 221, 100e-3, 250);
    v_residual(:,i) = v_ideal'-v_measured(:,i);
end
rl_aux_pareto_error(v_ideal, v_residual');
  • Plot channels
  • Get channel names
  • Get channel data
  • Get time of samples
  • Merge current channels

Calibration Class (rl_cal)

  • Write calibration file
  • Read values from calibration file
  • Fix calibration signs
  • Calibrate
Clone this wiki locally