本文整理匯總了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')