3
d  ใ               @   s$   d Z ddlmZ G dd deZdS )aY  
The niftyseg module provides classes for interfacing with `niftyseg
<https://sourceforge.net/projects/niftyseg/>`_ command line tools.
These are the base tools for working with niftyseg.
EM Statistical Segmentation tool is found in niftyseg/em.py
Fill lesions tool is found in niftyseg/lesions.py
Mathematical operation tool is found in niftyseg/maths.py
Patch Match tool is found in niftyseg/patchmatch.py
Statistical operation tool is found in niftyseg/stats.py
Label Fusion and CalcTopNcc tools are in niftyseg/steps.py
Examples
--------
See the docstrings of the individual classes for examples.
้   )ฺNiftyFitCommandc                   s4   e Zd ZdZdZdZ fddZ fddZ  ZS )ฺNiftySegCommandz7
    Base support interface for NiftySeg commands.
    Z_nsNc                s   t t| jf | d S )N)ฺsuperr   ฺ__init__)ฺselfฺinputs)ฺ	__class__ฉ ๚A/tmp/pip-build-7vycvbft/nipype/nipype/interfaces/niftyseg/base.pyr      s    zNiftySegCommand.__init__c                s   t t| jdddS )NZseg_EMz	--version)ฺcmdฺflag)r   r   Zversion_from_command)r   )r   r	   r
   ฺget_version!   s    
zNiftySegCommand.get_version)	ฺ__name__ฺ
__module__ฺ__qualname__ฺ__doc__ฺ_suffixZ_min_versionr   r   ฺ__classcell__r	   r	   )r   r
   r      s
   r   N)r   Zniftyfit.baser   r   r	   r	   r	   r
   ฺ<module>   s   