git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
4b57696
Branches
Tags
master
SVMCrossVal.git
private
timePointToImageNumber.m
moved helpercode to private
Christoph Budziszewski
commited
4b57696
at 2009-01-07 09:24:55
timePointToImageNumber.m
Blame
History
Raw
%timePointToImageNumber type is optional function imgNumber = timePointToImageNumber(timepoint, type)% timepoint in ms switch type case 's' imgNumber = timePointToImageNumber(timepoint*1000,'ms'); return; case 'ms' imageTimeResolution = 2000; %ms imgNumber = round(timepoint/imageTimeResolution); return; case 'image' imgNumber = timepoint; return; otherwise imgNumber = timePointToImageNumber(timepoint,'ms'); return; end end