コード例 #1
0
ファイル: dipy.py プロジェクト: adpines/qsiprep
class HistEQOutputSpec(TraitedSpec):
    out_file = File(exists=True, desc='equalized file')
コード例 #2
0
ファイル: cbf_computation.py プロジェクト: mflounders/aslprep
class _scorescrubCBFOutputSpec(TraitedSpec):
    out_score = File(exists=True, mandatory=True, desc='score timeseries data')
    out_avgscore = File(exists=True, mandatory=True, desc='average score')
    out_scrub = File(exists=True, mandatory=True, desc='average scrub')
    out_scoreindex = File(exists=True, mandatory=True, desc='index of volume remove ')
コード例 #3
0
ファイル: cbf_computation.py プロジェクト: mflounders/aslprep
class _qccbfInputSpec(BaseInterfaceInputSpec):
    in_file = File(exists=True, mandatory=True, desc='original asl_file')
    in_meancbf = File(exists=True, mandatory=True, desc='cbf img')
    in_avgscore = File(exists=True, mandatory=True, desc='cbf img')
    in_scrub = File(exists=True, mandatory=True, desc='cbf img')
    in_basil = File(exists=True, mandatory=True, desc='cbf img')
    in_pvc = File(exists=True, mandatory=True, desc='cbf img')
    in_greyM = File(exists=True, mandatory=True, desc='grey  matter')
    in_whiteM = File(exists=True, mandatory=True, desc='white  matter')
    in_csf = File(exists=True, mandatory=True, desc='csf')
    in_confmat = File(exists=True, mandatory=True, desc=' cofnound matrix')
    in_boldmask = File(exists=True, mandatory=True, desc='bold mask in native space')
    in_t1mask = File(exists=True, mandatory=True, desc='t1wmask in native space ')
    in_boldmaskstd = File(exists=True, mandatory=False, desc='bold mask in native space')
    in_templatemask = File(exists=True, mandatory=False, desc='template mask or image')
    qc_file = File(exists=False, mandatory=False, desc='qc file ')
コード例 #4
0
ファイル: itk.py プロジェクト: InspectorDidi/RABIES
class MCFLIRT2ITKOutputSpec(TraitedSpec):
    out_file = File(desc='the output ITKTransform file')
コード例 #5
0
ファイル: cbf_computation.py プロジェクト: mflounders/aslprep
class _refinemaskInputSpec(BaseInterfaceInputSpec):
    in_t1mask = File(exists=True, mandatory=True, desc='t1 mask')
    in_boldmask = File(exists=True, mandatory=True, desct='bold mask')
    transforms = File(exists=True, mandatory=True, desc='transfom')
    out_mask = File(exists=False, mandatory=False, desc='output mask')
    out_tmp = File(exists=False, mandatory=False, desc='tmp mask')
コード例 #6
0
class DicomInfoInputSpec(BaseInterfaceInputSpec):
    files = InputMultiPath(
        traits.Either(traits.List(File(exists=True)), File(exists=True)),
        mandatory=True,
        desc="a list of dicom files from which to extract data",
        copyfile=False)
コード例 #7
0
ファイル: itk.py プロジェクト: InspectorDidi/RABIES
class MultiApplyTransformsOutputSpec(TraitedSpec):
    out_files = OutputMultiPath(File(), desc='the output ITKTransform file')
    log_cmdline = File(desc='a list of command lines used to apply transforms')
コード例 #8
0
ファイル: registration.py プロジェクト: valeriejill/qsiprep
class FUGUEInputSpecRPT(nrc.SVGReportCapableInputSpec,
                        fsl.preprocess.FUGUEInputSpec):
    wm_seg = File(argstr='-wmseg %s',
                  desc='reference white matter segmentation mask')
コード例 #9
0
ファイル: registration.py プロジェクト: valeriejill/qsiprep
class SimpleBeforeAfterInputSpecRPT(nrc.SVGReportCapableInputSpec):
    before = File(exists=True, mandatory=True, desc='file before')
    after = File(exists=True, mandatory=True, desc='file after')
    wm_seg = File(desc='reference white matter segmentation mask')
コード例 #10
0
 def _get_root(self):
     return File(path=self.base_directory)
コード例 #11
0
ファイル: registration.py プロジェクト: valeriejill/qsiprep
class ApplyTOPUPInputSpecRPT(nrc.SVGReportCapableInputSpec,
                             fsl.epi.ApplyTOPUPInputSpec):
    wm_seg = File(argstr='-wmseg %s',
                  desc='reference white matter segmentation mask')
コード例 #12
0
class PETPVCOutputSpec(TraitedSpec):
    out_file = File(desc="Output file")
コード例 #13
0
ファイル: dipy.py プロジェクト: adpines/qsiprep
class HistEQInputSpec(BaseInterfaceInputSpec):
    in_file = File(exists=True, mandatory=True, desc='File to equalize')
    mask_file = File(exists=True, mandatory=True, desc='Mask image')
コード例 #14
0
ファイル: dipy.py プロジェクト: adpines/qsiprep
class MedianOtsuOutputSpec(TraitedSpec):
    masked_input = File(exists=True, desc='Masked version of the input image')
    out_mask = File(exists=True, desc='Median-Otsu mask of the input image')
コード例 #15
0
class Camino2TrackvisOutputSpec(TraitedSpec):
    trackvis = File(
        exists=True, desc='The filename to which to write the .trk (trackvis) file.')
コード例 #16
0
ファイル: registration.py プロジェクト: valeriejill/qsiprep
class EstimateReferenceImageInputSpec(BaseInterfaceInputSpec):
    in_file = File(exists=True, mandatory=True, desc="4D EPI file")
    sbref_file = File(exists=True, desc="Single band reference image")
    mc_method = traits.Enum(
        "AFNI", "FSL", usedefault=True,
        desc="Which software to use to perform motion correction")
コード例 #17
0
class NiiWranglerOutputSpec(TraitedSpec):
    t1 = OutputMultiPath(
        traits.List(File(exists=True)),
        mandatory=True,
        desc="anatomical t1 nifti (list in chronological order  if repeated)")
    rsfmri = OutputMultiPath(
        traits.List(File(exists=True)),
        mandatory=True,
        desc="rsfmri nifti (list in chronological order  if repeated)")
    mag_fieldmap = traits.Either(
        traits.Enum("NONE"),
        traits.File(exists=True),
        default="NONE",
        mandatory=False,
        usedefault=True,
        desc=
        "magnitude fieldmap image for structural images. first matching image will be used."
    )
    phase_fieldmap = traits.Either(
        traits.Enum("NONE"),
        traits.File(exists=True),
        default="NONE",
        mandatory=False,
        usedefault=True,
        desc=
        "phase fieldmap image for structural images. first matching image will be used."
    )
    dwi = traits.List(
        traits.Str(),
        mandatory=True,
        desc="dwi nifti (list in chronological order  if repeated).")
    dwi_ap = traits.List(
        traits.Str(),
        mandatory=True,
        desc=
        "dwi ap nifti for topup (list in chronological order  if repeated).")
    dwi_pa = traits.List(
        traits.Str(),
        mandatory=True,
        desc=
        "dwi pa nifti for topup (list in chronological order  if repeated).")
    flair = traits.List(
        traits.Str(),
        mandatory=True,
        desc="flair nifti (list in chronological order  if repeated).")
    fieldmap_te = traits.Either(
        traits.Enum("NONE"),
        traits.Float(),
        default="NONE",
        mandatory=False,
        usedefault=True,
        desc="delta TE in ms for magnitude fieldmap or 'NONE' if not used.")
    ep_TR = traits.Either(traits.Enum("NONE"),
                          traits.Float(),
                          value=["NONE"],
                          mandatory=False,
                          usedefault=True,
                          desc="rsfmri TR or 'NONE' if not used.")
    ep_rsfmri_echo_spacings = traits.Either(traits.Enum("NONE"),
                                            traits.Float(),
                                            value=["NONE"],
                                            mandatory=False,
                                            usedefault=True,
                                            desc="""
            The effective echo spacing of your rsfmri images. Already accounts
            for whether or not iPAT (acceleration in the phase direction) was
            used. If you're using acceleration, then the EES is not going to
            match the 'Echo Spacing' that Siemen's reports in the console.
            This value will be derived, if not overridden by the input of the
            same name. Please inspect the value after your initial run of the
            pipeline to ensure that it's sane.
            """)
    ep_dwi_echo_spacings = traits.Either(traits.Enum("NONE"),
                                         traits.Float(),
                                         value=["NONE"],
                                         mandatory=False,
                                         usedefault=True,
                                         desc="""
            The effective echo spacing of your BOLD images. Already accounts
            for whether or not iPAT (acceleration in the phase direction) was
            used. If you're using acceleration, then the EES is not going to
            match the 'Echo Spacing' that Siemen's reports in the console.
            This value will be derived, if not overridden by the input of the
            same name. Please inspect the value after your initial run of the
            pipeline to ensure that it's sane.
            Length must match number of bold images.""")
    ep_unwarp_dirs = traits.List(
        traits.Enum(
            "x",
            "x-",
            "-x",
            "y",
            "y-",
            "-y",
            "z",
            "z-",
            "-z",
        ),
        mandatory=True,
        desc="Length must match number of bold images.")
コード例 #18
0
ファイル: registration.py プロジェクト: valeriejill/qsiprep
class EstimateReferenceImageOutputSpec(TraitedSpec):
    ref_image = File(exists=True, desc="3D reference image")
    n_volumes_to_discard = traits.Int(desc="Number of detected non-steady "
                                           "state volumes in the beginning of "
                                           "the input file")
コード例 #19
0
class CAT12SANLMDenoisingOutputSpec(TraitedSpec):

    out_file = File(desc='out file')
コード例 #20
0
ファイル: dof.py プロジェクト: fossabot/Halfpipe-1
class MakeDofVolumeOutputSpec(TraitedSpec):
    out_file = File(exists=True)
コード例 #21
0
ファイル: itk.py プロジェクト: InspectorDidi/RABIES
class FUGUEvsm2ANTSwarpOutputSpec(TraitedSpec):
    out_file = File(desc='the output warp field')
コード例 #22
0
ファイル: xfmOp.py プロジェクト: niefermar/APPIAN-PET-APPIAN
class ConcatOutput(TraitedSpec):
    out_file = File(exists=True, desc="transformation matrix")
コード例 #23
0
ファイル: cbf_computation.py プロジェクト: mflounders/aslprep
class _computeCBFOutputSpec(TraitedSpec):
    out_cbf = File(exists=False, desc='cbf timeries data')
    out_mean = File(exists=False, desc='average control')
    out_att = File(exists=False, desc='Arterial Transit Time')
コード例 #24
0
ファイル: xfmOp.py プロジェクト: niefermar/APPIAN-PET-APPIAN
class InvertOutput(TraitedSpec):
    out_file = File(desc="transformation matrix")
コード例 #25
0
ファイル: cbf_computation.py プロジェクト: mflounders/aslprep
class _refinemaskOutputSpec(TraitedSpec):
    out_mask = File(exists=False, desc='output mask')
    out_tmp = File(exists=False, desc='tmp mask')
コード例 #26
0
class _TemplateFlowSelectOutputSpec(TraitedSpec):
    t1w_file = File(exists=True, desc='T1w template')
    brain_mask = File(exists=True, desc="Template's brain mask")
コード例 #27
0
ファイル: cbf_computation.py プロジェクト: mflounders/aslprep
class _BASILCBFOutputSpec(TraitedSpec):
    out_cbfb = File(exists=False, desc='cbf with spatial correction')
    out_cbfpv = File(exists=False, desc='cbf with spatial correction')
    out_attb = File(exists=False, desc='aretrial transist time')
コード例 #28
0
class AntsThresholdOutputSpec(TraitedSpec):
    output_volume = File(desc="Output volume", exists=True)
コード例 #29
0
ファイル: cbf_computation.py プロジェクト: mflounders/aslprep
class _qccbfOutputSpec(TraitedSpec):
    qc_file = File(exists=False, desc='qc file ')
コード例 #30
0
 class Export2PandasOutputSpec(TraitedSpec):
     out_file = File()