コード例 #1
0
class ParcellateOutputSpec(TraitedSpec):
    #roi_files = OutputMultiPath(File(exists=True),desc='Region of Interest files for connectivity mapping')
    white_matter_mask_file = File(desc='White matter mask file')
    #cc_unknown_file = File(desc='Image file with regions labelled as unknown cortical structures',
    #                exists=True)
    #ribbon_file = File(desc='Image file detailing the cortical ribbon',
    #                exists=True)
    #aseg_file = File(desc='Automated segmentation file converted from Freesurfer "subjects" directory',
    #                exists=True)
    wm_eroded = File(desc="Eroded wm file in original space")
    csf_eroded = File(desc="Eroded csf file in original space")
    brain_eroded = File(desc="Eroded brain file in original space")
    roi_files_in_structural_space = OutputMultiPath(File(exists=True),
                                desc='ROI image resliced to the dimensions of the original structural image')
    T1 = File(desc="T1 image file")
    brain = File(desc="Brain-masked T1 image file")
    brain_mask = File(desc="Brain mask file")
コード例 #2
0
class RealignUnwarpOutputSpec(TraitedSpec):
    mean_image = File(exists=True, desc='Mean image file from the realignment')
    modified_scans = traits.Either(traits.List(File(exists=True)),
                                   File(exists=True),
                                   desc=('Copies of all files passed to '
                                         'scans. Headers will have '
                                         'been modified to align all '
                                         'images with the first, or '
                                         'optionally to first do that, '
                                         'extract a mean image, and '
                                         're-align to that mean image.'))
    runwarped_files = traits.Either(
        traits.List(File(exists=True)),
        File(exists=True),
        desc='These will be the resliced and unwarped files.')
    realignment_parameters = OutputMultiPath(File(exists=True),
                                             desc=('Estimated translation and '
                                                   'rotation parameters'))
コード例 #3
0
class ProbTrackXOutputSpec(TraitedSpec):
    log = File(exists=True,
               desc='path/name of a text record of the command that was run')
    fdt_paths = OutputMultiPath(
        File(exists=True),
        desc='path/name of a 3D image file containing the output ' +
        'connectivity distribution to the seed mask')
    way_total = File(
        exists=True,
        desc='path/name of a text file containing a single number ' +
        'corresponding to the total number of generated tracts that ' +
        'have not been rejected by inclusion/exclusion mask criteria')
    targets = traits.List(
        File(exists=True),
        desc='a list with all generated seeds_to_target files')
    particle_files = traits.List(
        File(exists=True),
        desc='Files describing ' +
        'all of the tract samples. Generated only if ' + 'verbose is set to 2')
コード例 #4
0
ファイル: nx.py プロジェクト: muet0005/img_analysis
class NetworkXMetricsOutputSpec(TraitedSpec):
    gpickled_network_files = OutputMultiPath(File(desc='Output gpickled network files'))
    matlab_matrix_files = OutputMultiPath(File(desc='Output network metrics in MATLAB .mat format'))
    global_measures_matlab = File(desc='Output global metrics in MATLAB .mat format')
    node_measures_matlab = File(desc='Output node metrics in MATLAB .mat format')
    edge_measures_matlab = File(desc='Output edge metrics in MATLAB .mat format')
    node_measure_networks = OutputMultiPath(File(desc='Output gpickled network files for all node-based measures'))
    edge_measure_networks = OutputMultiPath(File(desc='Output gpickled network files for all edge-based measures'))
    k_networks = OutputMultiPath(File(desc='Output gpickled network files for the k-core, k-shell, and k-crust networks'))
    k_core = File(desc='Computed k-core network stored as a NetworkX pickle.')
    k_shell = File(desc='Computed k-shell network stored as a NetworkX pickle.')
    k_crust = File(desc='Computed k-crust network stored as a NetworkX pickle.')
    pickled_extra_measures = File(desc='Network measures for the group that return dictionaries, stored as a Pickle.')
    matlab_dict_measures = OutputMultiPath(File(desc='Network measures for the group that return dictionaries, stored as matlab matrices.'))
コード例 #5
0
class NiiWranglerOutputSpec(TraitedSpec):
    dicom_info = traits.List(
        mandatory=True,
        desc="one dict for each series in the session, in the order they were\
                  run. each dict should contain at least the series_num (int) and\
                  the series_desc (str). NiiWrangler writes nifti location here."
    )
    t1_uni = OutputMultiPath(
        traits.List(File(exists=True)),
        mandatory=True,
        desc="anatomical uni nifti (list in chronological order  if repeated)")
    t1_inv2 = OutputMultiPath(
        traits.List(File(exists=True)),
        mandatory=True,
        desc="inv2 nifti (list in chronological order  if repeated)")
    t1_q = OutputMultiPath(
        traits.List(File(exists=True)),
        mandatory=True,
        desc="quantitative 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)")
    rs_ap = OutputMultiPath(
        traits.List(File(exists=True)),
        mandatory=True,
        desc="rs ap nifti (list in chronological order  if repeated)")
    rs_pa = OutputMultiPath(
        traits.List(File(exists=True)),
        mandatory=True,
        desc="rs pa (list in chronological order  if repeated)")
    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).")
コード例 #6
0
class ExecutionModelTourOutputSpec(TraitedSpec):
    outputFile1 = File(desc="An output file", exists=True)
    image2 = File(desc="An output image", exists=True)
    transformOutput = File(desc="A generic output transform", exists=True)
    transform2 = File(desc="A linear output transform", exists=True)
    transformOutputNonlinear = File(desc="A nonlinear output transform",
                                    exists=True)
    transformOutputBspline = File(desc="A bspline output transform",
                                  exists=True)
    outputModel = File(desc="Output model", exists=True)
    modelSceneFile = OutputMultiPath(
        File(exists=True),
        desc=
        "Generated models, under a model hierarchy node. Models are imported into Slicer under a model hierarchy node. The model hierarchy node must be created before running the model maker, by selecting Create New ModelHierarchy from the Models drop down menu.",
        exists=True)
    arg1 = File(desc="Second index argument is an image",
                position=-1,
                exists=True)
    outputDT = File(desc="Array of processed (output) Table values",
                    exists=True)
コード例 #7
0
class FFXReportOutput(TraitedSpec):

    summary_files = OutputMultiPath(File(exists=True))
    zstat_files = OutputMultiPath(Directory(exists=True))
コード例 #8
0
class FFXSummaryOutput(TraitedSpec):

    r2_files = OutputMultiPath(File(exists=True))
    tsnr_file = File(exists=True)
    mean_file = File(exists=True)
コード例 #9
0
class FFXModelOutput(TraitedSpec):

    flame_results = OutputMultiPath(Directory(exists=True))
    zstat_files = OutputMultiPath(File(exists=True))
コード例 #10
0
ファイル: bids.py プロジェクト: j-bourque/qsiprep
class DerivativesDataSinkOutputSpec(TraitedSpec):
    out_file = OutputMultiObject(File(exists=True, desc='written file path'))
    compression = OutputMultiPath(
        traits.Bool,
        desc='whether ``in_file`` was compressed/uncompressed '
        'or `it was copied directly.')
コード例 #11
0
ファイル: fix.py プロジェクト: spam-depository/nipype
class TrainingSetCreatorOutputSpec(TraitedSpec):
    mel_icas_out = OutputMultiPath(Directory(exists=True),
                                   copyfile=False,
                                   desc='Hand labels for noise vs signal',
                                   argstr='%s',
                                   position=-1)
コード例 #12
0
ファイル: BRAINSABC.py プロジェクト: hjmjohnson/BRAINS4
class BRAINSABCOutputSpec(TraitedSpec):
    outputDir = Directory(exists=True)
    atlasToSubjectTransform = File(exists=True)
    outputVolumes = OutputMultiPath(File(exists=True), exists=True)
    outputLabels = File(exists=True)
    outputDirtyLabels = File(exists=True)
コード例 #13
0
ファイル: brains.py プロジェクト: wanderine/nipype
class CleanUpOverlapLabelsOutputSpec(TraitedSpec):
    outputBinaryVolumes = OutputMultiPath(
        File(exists=True),
        desc=
        "The output label map images, with integer values in it. Each label value specified in the inputLabels is combined into this output label map volume"
    )
コード例 #14
0
ファイル: nbs.py プロジェクト: muet0005/img_analysis
class NetworkBasedStatisticOutputSpec(TraitedSpec):
    nbs_network = File(exists=True, desc='Output network with edges identified by the NBS')
    nbs_pval_network = File(exists=True, desc='Output network with p-values to weight the edges identified by the NBS')
    network_files = OutputMultiPath(File(exists=True), desc='Output network with edges identified by the NBS')
コード例 #15
0
class Labels2ProbMapsOutputSpec(TraitedSpec):
    output_files = OutputMultiPath(File(exists=True))
コード例 #16
0
class RealignmentReportOutput(TraitedSpec):

    realign_report = OutputMultiPath(File(exists=True))
    motion_file = File(exists=True)
コード例 #17
0
ファイル: mincants.py プロジェクト: ekunnii/APPIAN
class mincAtroposOutputSpec(TraitedSpec):
    classified_image = File(exists=True)
    posteriors = OutputMultiPath(File(exist=True))
コード例 #18
0
ファイル: surface.py プロジェクト: chasejohnson3/hbmhack
class ModelMakerOutputSpec(TraitedSpec):
    modelSceneFile = OutputMultiPath(File(exists=True), desc="Generated models, under a model hierarchy node. Models are imported into Slicer under a model hierarchy node, and their colors are set by the color table associated with the input label map volume. The model hierarchy node must be created before running the model maker, by selecting Create New ModelHierarchy from the Models drop down menu. If you're running from the command line, a model hierarchy node in a new mrml scene will be created for you.", exists=True)
コード例 #19
0
ファイル: bids.py プロジェクト: mfalkiewicz/fmriprep
class DerivativesDataSinkOutputSpec(TraitedSpec):
    out_file = OutputMultiPath(File(exists=True, desc='written file path'))
コード例 #20
0
ファイル: mask_coverage.py プロジェクト: HALFpipe/HALFpipe
class MaskCoverageOutputSpec(DynamicTraitedSpec):
    out_files = OutputMultiPath(File(exists=True))
    coverage = traits.List(traits.Float)
コード例 #21
0
class IntraModalMergeOutputSpec(TraitedSpec):
    out_file = File(exists=True, desc='merged image')
    out_avg = File(exists=True, desc='average image')
    out_mats = OutputMultiPath(exists=True, desc='output matrices')
    out_movpar = OutputMultiPath(exists=True, desc='output movement parameters')
コード例 #22
0
class ApplyInverseDeformationOutput(TraitedSpec):
    out_files = OutputMultiPath(File(exists=True), desc='Transformed files')
コード例 #23
0
class _IntraModalMergeOutputSpec(TraitedSpec):
    out_file = File(exists=True, desc="merged image")
    out_avg = File(exists=True, desc="average image")
    out_mats = OutputMultiPath(File(exists=True), desc="output matrices")
    out_movpar = OutputMultiPath(File(exists=True),
                                 desc="output movement parameters")
コード例 #24
0
ファイル: bids.py プロジェクト: leej3/fitlins
class BIDSDataSinkOutputSpec(TraitedSpec):
    out_file = OutputMultiPath(File, desc='output file')
コード例 #25
0
ファイル: surf.py プロジェクト: adelavega/niworkflows
class _UnzipJoinedSurfacesOutputSpec(TraitedSpec):
    out_files = traits.List(
        OutputMultiPath(File(exists=True),
                        desc='output pointcloud in PLY format'))
    surf_keys = traits.List(traits.Str, desc='surface identifier keys')
コード例 #26
0
ファイル: nx.py プロジェクト: muet0005/img_analysis
class AverageNetworksOutputSpec(TraitedSpec):
    gpickled_groupavg = File(desc='Average network saved as a NetworkX .pck')
    gexf_groupavg = File(desc='Average network saved as a .gexf file')
    matlab_groupavgs = OutputMultiPath(File(desc='Average network saved as a .gexf file'))
コード例 #27
0
ファイル: bids.py プロジェクト: leej3/fitlins
class BIDSSelectOutputSpec(TraitedSpec):
    bold_files = OutputMultiPath(File)
    mask_files = OutputMultiPath(traits.Either(File, None))
    entities = OutputMultiPath(traits.Dict)
コード例 #28
0
class RemoveEmptyOutput(TraitedSpec):

    out_files = OutputMultiPath(File(exists=True))
コード例 #29
0
ファイル: bids.py プロジェクト: leej3/fitlins
class ModelSpecLoaderOutputSpec(TraitedSpec):
    model_spec = OutputMultiPath(
        traits.Dict(), desc='Model specification(s) as Python dictionaries')
コード例 #30
0
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')