Back to the main page.

Bug 2199 - remove cfg.transform from ft_sourcedescriptives

Status ASSIGNED
Reported 2013-06-13 12:57:00 +0200
Modified 2013-06-14 13:17:42 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2013-06-13 12:57:46 +0200

Lilla mentioned that ft_sourcedescriptives has cfg.transform, whereas at the moment the more general purpose ft_math is meant for this. cfg.transform should be deprecated in favor of ft_math. TODO: - update the code - write a test script, checking that the old and new implementation are the same @Lilla, could you upload one data example to /home/common/...


Robert Oostenveld - 2013-06-13 12:59:12 +0200

I have added the following to the code, and removed the documentation. % DEPRECATED by roboos on 13 June 2013 % see http://bugzilla.fcdonders.nl/show_bug.cgi?id=2199 for more details % support for this functionality can be removed at the end of 2013 cfg = ft_checkconfig(cfg, 'deprecated', {'transform'}); % please use ft_math instead the actual code remains functional for now.


Robert Oostenveld - 2013-06-13 12:59:49 +0200

mac001> svn commit ft_sourcedescriptives.m Sending ft_sourcedescriptives.m Transmitting file data . Committed revision 8257.


Lilla Magyari - 2013-06-13 15:19:32 +0200

hi Robert, I wanted to copy a source data-structure to home/common/matlab/fieldtrip/data/test but I do not have the permission to do that. So I put it in home/common/temprorary/4Robert under the name: bug2199.mat Lilla


Robert Oostenveld - 2013-06-13 16:04:35 +0200

(In reply to comment #3) I have copied it to the right location at /home/common/matlab/fieldtrip/data/test, thanks. Will you make the test script or shall I do that?


Robert Oostenveld - 2013-06-14 13:17:42 +0200

I have documented it at http://fieldtrip.fcdonders.nl/development/deprecated?&#overview_of_deprecated_cfg_options