Ticket #76 (assigned enhancement)

Opened 2 years ago

Last modified 2 years ago

improve ExperimentalRegressor.astimefn

Reported by: jarrod.millman Assigned to: tim.leslie (accepted)
Priority: normal Milestone: 0.1.4
Component: general Version:
Severity: normal Keywords:
Cc:

Description

In lib/neuroimaging/modalities/fmri/protocol.py:

88 	    def astimefn(self, slice=None):
89 	        """
90 	        Return a TimeFunction object that can be added, subtracted, etc.
91 	        """
92 	        #FIXME: should be a better way to determine this

Change History

01/31/07 20:43:30 changed by tim.leslie

We need a way of determining the nout of a function (in this case self) without actually calling the function. Since there are so many things which might be being called (scipy.sandbox.models.formula.{term, quantative, etc} or a bunch of other possibilities in the various subclasses the only way to remove this small hack would be to add an nout member to all the callable objects which might be used.

02/26/07 18:34:34 changed by tim.leslie

  • status changed from new to assigned.

This is waiting on mailing list feedback before closing it as "wont fix".