本文整理汇总了Python中core.toad.generictask.GenericTask.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python GenericTask.__init__方法的具体用法?Python GenericTask.__init__怎么用?Python GenericTask.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类core.toad.generictask.GenericTask
的用法示例。
在下文中一共展示了GenericTask.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(
self, subject, "preparation", "registration", "tensorfsl", "hardidipy", "tractquerier", "qa"
)
self.setCleanupBeforeImplement(False)
self.relativeOutDir = "raw/outlier_cleaned_tracts"
self.absOutDir = os.path.join(self.workingDir, "raw", "outlier_cleaned_tracts")
示例2: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(
self, subject, 'upsampling', 'registration', 'masking', 'qa'
)
self.__dwiData = None
self.__csdModel = None
self.__csdPeaks = None
示例3: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject, 'upsampling', 'hardimrtrix',
'masking', 'registration', 'atlasregistration' ,'qa')
self.__tckDetRoiTrk = None
self.__tckProbRoiTrk = None
self.__tckgenRoiTrk = None
self.__tcksiftRoiTrk = None
self.__nbDirections = None
示例4: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(
self, subject, 'preparation', 'tensorfsl', 'tensormrtrix',
'tensordipy', 'hardimrtrix', 'hardidipy', 'tractfiltering',)
self.setCleanupBeforeImplement(False)
self.absInDir = os.path.join(self.workingDir, 'input')
self.absOutDir = os.path.join(self.workingDir, 'output')
示例5: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject,
'preparation', 'registration', 'tensorfsl',
'hardidipy', 'tractquerier', 'qa')
self.setCleanupBeforeImplement(False)
self.absInDir = os.path.join(self.workingDir, 'input')
self.relativeOutDir = 'output/subject/outlier_cleaned_tracts'
self.absOutDir = os.path.join(self.workingDir, 'output')
示例6: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
"""Fits a diffusion tensor model at each voxel
"""
GenericTask.__init__(self, subject, 'upsampling', 'registration', 'masking', 'qa')
示例7: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject, 'upsampling', 'parcellation', 'qa')
示例8: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject, 'upsampling', 'registration', 'masking', 'qa')
self.__fit = None
示例9: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject, 'preparation', 'parcellation', 'denoising', 'qa')
示例10: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject, 'preparation', 'correction', 'denoising', 'masking', 'qa')
示例11: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject, 'upsampling', 'registration', 'tensormrtrix', 'tensordipy', 'tensorfsl',
'hardidipy', 'hardimrtrix', 'tractographymrtrix', 'tractquerier', 'tractfiltering', 'tractometry')
self.__finished = False
示例12: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject, "upsampling", "registration", "masking", "qa")
self.__dwiData = None
self.__csdModel = None
self.__csdPeaks = None
示例13: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject, 'backup')
self.setCleanupBeforeImplement(False)
self.subjectName = subject.getName()
示例14: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
GenericTask.__init__(self, subject, 'upsampling', 'hardimrtrix', 'masking', 'registration','qa')
示例15: __init__
# 需要导入模块: from core.toad.generictask import GenericTask [as 别名]
# 或者: from core.toad.generictask.GenericTask import __init__ [as 别名]
def __init__(self, subject):
"""initialisation methods. Please leave as is"""
GenericTask.__init__(self, subject, 'parcellation', 'qa')