fitlins.interfaces.abstract module

Abstract interfaces for design matrix creation and estimation

Estimator tools should be subclassed from these interfaces, ensuring trivial swapping of one tool for another at single points. For example, if there is interest in comparing the design matrix construction between tools without changing estimators, a new DesignMatrixInterface subclass can be written and swapped in without demanding that an estimator also be written.

class fitlins.interfaces.abstract.DesignMatrixInputSpec(**kwargs)[source]

Bases: TraitedSpec

class fitlins.interfaces.abstract.DesignMatrixInterface(from_file=None, resource_monitor=None, ignore_exception=False, **inputs)[source]

Bases: BaseInterface

input_spec[source]

alias of DesignMatrixInputSpec

output_spec[source]

alias of DesignMatrixOutputSpec

class fitlins.interfaces.abstract.DesignMatrixOutputSpec(**kwargs)[source]

Bases: TraitedSpec

class fitlins.interfaces.abstract.EstimatorOutputSpec(**kwargs)[source]

Bases: TraitedSpec

class fitlins.interfaces.abstract.FirstLevelEstimatorInputSpec(**kwargs)[source]

Bases: TraitedSpec

class fitlins.interfaces.abstract.FirstLevelEstimatorInterface(from_file=None, resource_monitor=None, ignore_exception=False, **inputs)[source]

Bases: BaseInterface

input_spec[source]

alias of FirstLevelEstimatorInputSpec

output_spec[source]

alias of EstimatorOutputSpec

class fitlins.interfaces.abstract.SecondLevelEstimatorInputSpec(**kwargs)[source]

Bases: TraitedSpec

class fitlins.interfaces.abstract.SecondLevelEstimatorInterface(from_file=None, resource_monitor=None, ignore_exception=False, **inputs)[source]

Bases: BaseInterface

input_spec[source]

alias of SecondLevelEstimatorInputSpec

output_spec[source]

alias of SecondLevelEstimatorOutputSpec

class fitlins.interfaces.abstract.SecondLevelEstimatorOutputSpec(**kwargs)[source]

Bases: EstimatorOutputSpec