コード例 #1
0
class PlotRealignmentParametersInputSpec(TraitedSpec):
    realignment_parameters = File(exists=True, mandatory=True)
    outlier_files = File(exists=True)
    title = traits.Str("Realignment parameters", usedefault=True)
    dpi = traits.Int(300, usedefault=True)
コード例 #2
0
class GrayscaleModelMakerOutputSpec(TraitedSpec):
    OutputGeometry = File(position=-1,
                          desc="Output that contains geometry model.",
                          exists=True)
コード例 #3
0
class LabelMapSmoothingOutputSpec(TraitedSpec):
    outputVolume = File(position=-1, desc="Smoothed label map", exists=True)
コード例 #4
0
ファイル: workbench.py プロジェクト: heffjos/ecp
class CiftiMergeOutputSpec(TraitedSpec):
    out_file = File(desc='output cifti file', exist=True)
コード例 #5
0
class PreprocessPhaseInputSpec(BaseInterfaceInputSpec):
    phase = File(exists=True, desc='phase image', mandatory=True)
コード例 #6
0
ファイル: workbench.py プロジェクト: heffjos/ecp
class MetricToVolumeMappingRCOutputSpec(TraitedSpec):
    out_file = File(desc='output file', exists=True)
コード例 #7
0
ファイル: workbench.py プロジェクト: heffjos/ecp
class CiftiParcellateOutputSpec(TraitedSpec):
    out_file = File(desc='output cifti file', exists=True)
コード例 #8
0
class Plot_Quality_Control_InputSpec(TraitedSpec):
    dat_img = File(exists=True, mandatory=True)
    title = traits.Str("Quality Control Plot", usedefault=True)
    global_outlier_cutoff = traits.Float(3, usedefault=True)
    frame_outlier_cutoff = traits.Float(3, usedefault=True)
コード例 #9
0
class Plot_Quality_Control_OutputSpec(TraitedSpec):
    plot = File(exists=True)
コード例 #10
0
class Create_Covariates_OutputSpec(TraitedSpec):
    covariates = File(exists=True)
コード例 #11
0
class Plot_Coregistration_Montage_OutputSpec(TraitedSpec):
    plot = File(exists=True)
コード例 #12
0
class Create_Covariates_InputSpec(TraitedSpec):
    realignment_parameters = File(exists=True, mandatory=True)
    spike_id = File(exists=True, mandatory=True)
コード例 #13
0
class Plot_Coregistration_Montage_InputSpec(TraitedSpec):
    wra_img = File(exists=True, mandatory=True)
    canonical_img = File(exists=True, mandatory=True)
    title = traits.Str("Normalized Functional Check", usedefault=True)
コード例 #14
0
class PlotRealignmentParametersOutputSpec(TraitedSpec):
    plot = File(exists=True)
コード例 #15
0
class _CompCorVariancePlotOutputSpec(TraitedSpec):
    out_file = File(exists=True, desc="Path to saved plot")
コード例 #16
0
ファイル: probmaps.py プロジェクト: josephmje/niworkflows
class _AddTPMsInputSpec(BaseInterfaceInputSpec):
    in_files = InputMultiPath(File(exists=True),
                              mandatory=True,
                              desc="input list of ROIs")
    indices = traits.List(traits.Int, desc="select specific maps")
コード例 #17
0
ファイル: workbench.py プロジェクト: heffjos/ecp
class VolumeLabelImportOutputSpec(TraitedSpec):
    out_file = File(desc='output file', exists=True)
コード例 #18
0
ファイル: probmaps.py プロジェクト: josephmje/niworkflows
class _AddTPMsOutputSpec(TraitedSpec):
    out_file = File(exists=True, desc="union of binarized input files")
コード例 #19
0
ファイル: workbench.py プロジェクト: heffjos/ecp
class CiftiConvertFromNiftiOutputSpec(TraitedSpec):
    out_file = File(desc='output file', exists=True)
コード例 #20
0
ファイル: probmaps.py プロジェクト: josephmje/niworkflows
class _TPM2ROIOutputSpec(TraitedSpec):
    roi_file = File(exists=True, desc="output ROI file")
    eroded_mask = File(exists=True, desc="resulting eroded mask")
コード例 #21
0
ファイル: workbench.py プロジェクト: heffjos/ecp
class CiftiCorrelationOutputSpec(TraitedSpec):
    out_file = File(desc='output cifti file', exist=True)
コード例 #22
0
ファイル: masks.py プロジェクト: erramuzpe/niworkflows
class ComputeEPIMaskInputSpec(nrc.ReportCapableInputSpec,
                              BaseInterfaceInputSpec):
    in_file = File(exists=True, desc="3D or 4D EPI file")
    dilation = traits.Int(desc="binary dilation on the nilearn output")
コード例 #23
0
class PreprocessPhaseOutputSpec(TraitedSpec):
    delta_phase = File(exists=True, desc="delta_phase")
    uw_phase = File(exists=True, desc="uw_phase")
    detrended_phase = File(exists=True, desc="detrended_phase")
コード例 #24
0
ファイル: masks.py プロジェクト: erramuzpe/niworkflows
class ComputeEPIMaskOutputSpec(nrc.ReportCapableOutputSpec):
    mask_file = File(exists=True, desc="Binary brain mask")
コード例 #25
0
ファイル: imageplot.py プロジェクト: fossabot/Halfpipe-1
class PlotInputSpec(_SVGReportCapableInputSpec):
    in_file = File(exists=True, mandatory=True, desc="volume")
    mask_file = File(exists=True, mandatory=True, desc="mask")
    label = traits.Str()
コード例 #26
0
class _ConfoundsCorrelationPlotOutputSpec(TraitedSpec):
    out_file = File(exists=True, desc="Path to saved plot")
コード例 #27
0
class ProbeVolumeWithModelOutputSpec(TraitedSpec):
    OutputModel = File(position=-1, desc="Output 'painted' model", exists=True)
コード例 #28
0
class _FMRISummaryOutputSpec(TraitedSpec):
    out_file = File(exists=True, desc="written file path")
コード例 #29
0
class ModelMakerInputSpec(CommandLineInputSpec):
    InputVolume = File(
        position=-1,
        desc=
        "Input label map. The Input Volume drop down menu is populated with the label map volumes that are present in the scene, select one from which to generate models.",
        exists=True,
        argstr="%s",
    )
    color = File(
        desc="Color table to make labels to colors and objects",
        exists=True,
        argstr="--color %s",
    )
    modelSceneFile = traits.Either(
        traits.Bool,
        InputMultiPath(File()),
        hash_files=False,
        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.",
        argstr="--modelSceneFile %s...",
    )
    name = traits.Str(
        desc=
        "Name to use for this model. Any text entered in the entry box will be the starting string for the created model file names. The label number and the color name will also be part of the file name. If making multiple models, use this as a prefix to the label and color name.",
        argstr="--name %s",
    )
    generateAll = traits.Bool(
        desc=
        "Generate models for all labels in the input volume. select this option if you want to create all models that correspond to all values in a labelmap volume (using the Joint Smoothing option below is useful with this option). Ignores Labels, Start Label, End Label settings. Skips label 0.",
        argstr="--generateAll ",
    )
    labels = InputMultiPath(
        traits.Int,
        desc=
        "A comma separated list of label values from which to make models. f you specify a list of Labels, it will override any start/end label settings. If you click Generate All Models it will override the list of labels and any start/end label settings.",
        sep=",",
        argstr="--labels %s",
    )
    start = traits.Int(
        desc=
        "If you want to specify a continuous range of labels from which to generate models, enter the lower label here. Voxel value from which to start making models. Used instead of the label list to specify a range (make sure the label list is empty or it will over ride this).",
        argstr="--start %d",
    )
    end = traits.Int(
        desc=
        "If you want to specify a continuous range of labels from which to generate models, enter the higher label here. Voxel value up to which to continue making models. Skip any values with zero voxels.",
        argstr="--end %d",
    )
    skipUnNamed = traits.Bool(
        desc=
        "Select this to not generate models from labels that do not have names defined in the color look up table associated with the input label map. If true, only models which have an entry in the color table will be generated.  If false, generate all models that exist within the label range.",
        argstr="--skipUnNamed ",
    )
    jointsmooth = traits.Bool(
        desc=
        "This will ensure that all resulting models fit together smoothly, like jigsaw puzzle pieces. Otherwise the models will be smoothed independently and may overlap.",
        argstr="--jointsmooth ",
    )
    smooth = traits.Int(
        desc=
        "Here you can set the number of smoothing iterations for Laplacian smoothing, or the degree of the polynomial approximating the windowed Sinc function. Use 0 if you wish no smoothing. ",
        argstr="--smooth %d",
    )
    filtertype = traits.Enum(
        "Sinc",
        "Laplacian",
        desc=
        "You can control the type of smoothing done on the models by selecting a filter type of either Sinc or Laplacian.",
        argstr="--filtertype %s",
    )
    decimate = traits.Float(
        desc=
        "Chose the target reduction in number of polygons as a decimal percentage (between 0 and 1) of the number of polygons. Specifies the percentage of triangles to be removed. For example, 0.1 means 10% reduction and 0.9 means 90% reduction.",
        argstr="--decimate %f",
    )
    splitnormals = traits.Bool(
        desc=
        "Splitting normals is useful for visualizing sharp features. However it creates holes in surfaces which affects measurements.",
        argstr="--splitnormals ",
    )
    pointnormals = traits.Bool(
        desc=
        "Turn this flag on if you wish to calculate the normal vectors for the points.",
        argstr="--pointnormals ",
    )
    pad = traits.Bool(
        desc=
        "Pad the input volume with zero value voxels on all 6 faces in order to ensure the production of closed surfaces. Sets the origin translation and extent translation so that the models still line up with the unpadded input volume.",
        argstr="--pad ",
    )
    saveIntermediateModels = traits.Bool(
        desc=
        "You can save a copy of the models after each of the intermediate steps (marching cubes, smoothing, and decimation if not joint smoothing, otherwise just after decimation). These intermediate models are not saved in the mrml file, you have to load them manually after turning off deleting temporary files in they python console (View ->Python Interactor) using the following command slicer.modules.modelmaker.cliModuleLogic().DeleteTemporaryFilesOff().",
        argstr="--saveIntermediateModels ",
    )
    debug = traits.Bool(
        desc=
        "turn this flag on in order to see debugging output (look in the Error Log window that is accessed via the View menu)",
        argstr="--debug ",
    )
コード例 #30
0
ファイル: specialized.py プロジェクト: ihrke/nipype
class FiducialRegistrationOutputSpec(TraitedSpec):
    saveTransform = File(
        desc="Save the transform that results from registration", exists=True)