Back to the main page.
Bug 2723 - ft_math should support cell input for cfg.parameter
| Status | CLOSED FIXED |
| Reported | 2014-10-03 10:03:00 +0200 |
| Modified | 2019-08-10 12:30:48 +0200 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Windows |
| Importance: | P5 normal |
| Assigned to: | Eelke Spaak |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Eelke Spaak - 2014-10-03 10:03:11 +0200
...allowing one to conveniently perform an operation on multiple structure fields.
Jan-Mathijs Schoffelen - 2014-10-03 10:06:50 +0200
like taking the square of a T-value to get an F-statistic, and square the p-values simultaneously! :-)
Johanna - 2015-01-23 12:32:25 +0100
Created attachment 694 ft_math.m with cell input cfg.parameter allowed
Eelke Spaak - 2015-01-23 12:33:30 +0100
(In reply to Johanna from comment #2) Thanks, Johanna! You don't want to commit it yourself?
Johanna - 2015-01-23 12:33:44 +0100
I was very happy to see this bug just now, as I'd just made these changes for my needs a couple days ago. Perhaps could someone please test it (against all the test_* functions at Donders) and I'm happy to commit it (or someone else can).
Eelke Spaak - 2015-01-27 15:21:10 +0100
(In reply to Johanna from comment #4) I just committed your change, with a minor modification. The test script runs fine. I have not run *all* the scripts, but I guess it should be fine. If not, the dashboard will tell us. Thank you! bash-4.1$ svn commit ft_math.m Sending ft_math.m Transmitting file data . Committed revision 10128. bash-4.1$ svn commit test/test_ft_math.m Sending test/test_ft_math.m Transmitting file data . Committed revision 10129.