當前位置: 首頁>>代碼示例>>Python>>正文


Python GenericTask.__init__方法代碼示例

本文整理匯總了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")
開發者ID:arnaudbore,項目名稱:toad,代碼行數:9,代碼來源:18-tractfiltering.py

示例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
開發者ID:UNFmontreal,項目名稱:toad,代碼行數:9,代碼來源:14-hardidipy.py

示例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
開發者ID:bpinsard,項目名稱:toad,代碼行數:10,代碼來源:15-tractographymrtrix.py

示例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')
開發者ID:bpinsard,項目名稱:toad,代碼行數:10,代碼來源:19-tractometry.py

示例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')
開發者ID:bpinsard,項目名稱:toad,代碼行數:10,代碼來源:18-tractfiltering.py

示例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')
開發者ID:arnaudbore,項目名稱:toad,代碼行數:6,代碼來源:10-tensorfsl.py

示例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')
開發者ID:UNFmontreal,項目名稱:toad,代碼行數:4,代碼來源:07-registration.py

示例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
開發者ID:UNFmontreal,項目名稱:toad,代碼行數:5,代碼來源:12-tensordipy.py

示例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')
開發者ID:bpinsard,項目名稱:toad,代碼行數:4,代碼來源:05-correction.py

示例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')
開發者ID:UNFmontreal,項目名稱:toad,代碼行數:4,代碼來源:00-snr.py

示例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
開發者ID:UNFmontreal,項目名稱:toad,代碼行數:6,代碼來源:00-outputs.py

示例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
開發者ID:arnaudbore,項目名稱:toad,代碼行數:7,代碼來源:14-hardidipy.py

示例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()
開發者ID:kaurousseau,項目名稱:toad,代碼行數:6,代碼來源:00-qa.py

示例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')
開發者ID:sbrambati,項目名稱:toad,代碼行數:4,代碼來源:13-tractographymrtrix.py

示例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')
開發者ID:kaurousseau,項目名稱:toad,代碼行數:6,代碼來源:03-atlas.py


注:本文中的core.toad.generictask.GenericTask.__init__方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。