Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions load_cd_events.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
% Loads data from files generated by the StreamLogger consumer for any type
% of event. This function only read (t,x,y,p) and discard other fields (if
% any) of events.
% timestamps are in uS
% timestamps are in us
% cd_data is a structure containing the fields ts, x, y and p
%
% flipX, flipY allow to flip the image around the X and Y axes. If these values
Expand Down Expand Up @@ -50,9 +50,9 @@
evSize = 8;
if (numCommentLine>0) % Ensure compatibility with previous files.
% Read event type
evType = fread(f,1,'char');
evType = fread(f,1,'uint8=>char');
% Read event size
evSize = fread(f,1,'char');
evSize = fread(f,1,'uint8=>char');
end


Expand Down
6 changes: 3 additions & 3 deletions load_ext_trigger_data.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%
% Loads data from files generated by the StreamLogger consumer for EventExtTrigger
% events [ts,x,y,p,id].
% timestamps are in uS
% timestamps are in us
% ext_trigger is a structure containing the fields ts, x, y, p and id

f=fopen(filename);
Expand Down Expand Up @@ -37,9 +37,9 @@
evSize = 8;
if (numCommentLine>0) % Ensure compatibility with previous files.
% Read event type
evType = fread(f,1,'char');
evType = fread(f,1,'uint8=>char');
% Read event size
evSize = fread(f,1,'char');
evSize = fread(f,1,'uint8=>char');
end


Expand Down