-
Notifications
You must be signed in to change notification settings - Fork 4
matlab
Matthias Leubin edited this page Dec 7, 2016
·
36 revisions
- Read RLD file:
obj = rld(file_name, decimation_factor)
- Plot channels:
plot(obj, channel, absolute_time, pretty_plot)
- Get channel names:
names = get_channels(obj)
- Get channel data:
values = get_data(obj, channel)
- Get time of samples:
timestamps = get_time(obj, absolute_time)
- Merge current channels:
merged_obj = merge_channels(obj)
- Write calibration file:
write_file(obj, filename)
- Read values from calibration file:
[ obj ] = from_file( filename )
- Fix calibration signs:
fix_signs(obj)
- Calibrate:
[obj] = calibrate( v_rld, i1l_rld, i1h_rld, i2l_rld, i2h_rld, plotPareto )
% read in RLD-file
data = rld('data.rld');
% plot all channels
data.plot('all');
% merge and plot current channels
merged_data = data.merge_channels();
merged_data.plot('currents');
% extract channel data for further processing
values = data.get_data({'V1', 'V2'});