eddymotion.model.base module¶
Base infrastructure for eddymotion’s models.
- class eddymotion.model.base.AverageModel(self, **kwargs)[source]¶
Bases:
BaseModelA trivial model that returns an average map.
Initialize a new model.
- property is_fitted¶
- class eddymotion.model.base.BaseModel(self, mask=None, **kwargs)[source]¶
Bases:
objectDefines the interface and default methods.
Implements the interface of
dipy.reconst.base.ReconstModel. Instead of inheriting from the abstract base, this implementation follows type adaptation principles, as it is easier to maintain and to read (see https://www.youtube.com/watch?v=3MNVP9-hglc).Base initialization.
- property is_fitted¶