Back to the main page.

Bug 2973 - implement getdatfield as replacement for parameterselection

Reported 2015-09-29 12:16:00 +0200
Modified 2015-09-29 12:20:27 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
Depends on:
See also:

Robert Oostenveld - 2015-09-29 12:16:24 +0200

this should be along the lines of getdimord and getdimsiz

Robert Oostenveld - 2015-09-29 12:20:20 +0200

there are multiple places in the code where it is needed to determine the data fields that are present in a structure. This is most pronounced for source structures, which have historically had multiple data fields (such as pow, mom, noise, coh). But newer data structures can in general always have multiple data fields. This is a first implementation, based on some code from ft_selectdata mac011> svn commit private/getdatfield.m fileio/private/getdatfield.m test/private/getdatfield.m utilities/private/getdatfield.m Adding fileio/private/getdatfield.m Adding private/getdatfield.m Adding test/private/getdatfield.m Adding utilities/private/getdatfield.m Transmitting file data .... Committed revision 10703.