Closed MichaelCurrie closed 10 years ago
@JimHokanson, in getPostureBends.m you have
SI = seg_worm.skeleton_indices; ALL_INDICES = SI.ALL_NORMAL_INDICES;
But in skeleton_indices.m you have already defined
ALL_INDICES = 1:49 %Same as 1:end,
Which is confusing. So in getPostureBends.m you should probably say ALL_NORMAL_INDICES = SI.ALL_NORMAL_INDICES, to avoid having that ALL_INDICES != SI.ALL_INDICES.
ALL_NORMAL_INDICES = SI.ALL_NORMAL_INDICES
Good point. I'll make the change for now. ALL_NORMAL_INDICES is really a poor name though. Alternative suggestions welcome.
Changed the code ...
@JimHokanson, in getPostureBends.m you have
But in skeleton_indices.m you have already defined
ALL_INDICES = 1:49 %Same as 1:end,
Which is confusing. So in getPostureBends.m you should probably say
ALL_NORMAL_INDICES = SI.ALL_NORMAL_INDICES
, to avoid having that ALL_INDICES != SI.ALL_INDICES.