|
7 | 7 | "source": "https://github.com/scitran-apps/dtiinit", |
8 | 8 | "license": "GPL-2.0", |
9 | 9 | "flywheel": "0", |
10 | | - "version": "0.0.1", |
11 | | - "config": { |
12 | | - }, |
| 10 | + "version": "0.1.0", |
13 | 11 | "inputs": { |
14 | 12 | "nifti": { |
15 | 13 | "base": "file", |
|
34 | 32 | "bval" |
35 | 33 | ] |
36 | 34 | } |
| 35 | + } |
| 36 | + }, |
| 37 | + "config": { |
| 38 | + "flipLrApFlag": { |
| 39 | + "description": "This flag will signal dtiRawBuildBvecs to reorient the gradient directions specified in the dwepi.grads file to logical space rather than keeping the directions in scanner space. Thus, the bvecs do not need to be reoriented for oblique prescriptions as with some other DTI sequences. However, this sequence assumes that the 2nd column in dwepi.grads is the phase-encode dim. If your phase-encode is the usual '2', then this is fine. But, if you run ASSET and change the phase encode to L-R (dim 1), you need to swap the first and second columns of dwepi.grads. Also, there appears to be a flip in the phase-encode dim, so you also need to flip the sign on the phase-encode column.", |
| 40 | + "default": 0, |
| 41 | + "type": "integer" |
37 | 42 | }, |
38 | | - "json": { |
39 | | - "base": "file", |
40 | | - "type": { |
41 | | - "enum": [ |
42 | | - "json" |
43 | | - ] |
44 | | - } |
| 43 | + "numBootStrapSamples": { |
| 44 | + "description": "Number of boostrap interations.", |
| 45 | + "default": 500, |
| 46 | + "type": "integer" |
| 47 | + }, |
| 48 | + "fitMethod": { |
| 49 | + "description": "Fit-method for tesnsor fitting. Options are ['ls', 'rt', 'lsrt']: 'ls': least-squares (default) 'rt': RESTORE robust tensor fitting and outlier rejection (Chang, Jones & Pierpaoli (2005) RESTORE: Robust Estimation of Tensors by Outlier Rejection. Magnetic Resonance in Medicine, v53). 'lsrt': does least-squares and robust tensor fitting in one go. ", |
| 50 | + "default": "ls", |
| 51 | + "type": "string" |
| 52 | + }, |
| 53 | + "nStep": { |
| 54 | + "description": "The number of steps for the restore algorithm in the robust tensor fitting case. (dtiRawFitTensorRobust).", |
| 55 | + "default": 50, |
| 56 | + "type": "integer" |
| 57 | + }, |
| 58 | + "eddyCorrect": { |
| 59 | + "description": "Motion and eddy-current correction. [default = 1, Do eddy-current and motion correction]. Options [0, 1, -1]. 0 = Only motion correction is done. 1 = Do eddy-current and motion correction. -1 = No motion or eddy correction.", |
| 60 | + "default": 1, |
| 61 | + "type": "integer" |
| 62 | + }, |
| 63 | + "bsplineInterpFlag": { |
| 64 | + "description": "Method used for interpolation during resampling (dtiRawResample). 1 = bspline. 0 = trilinear (default)", |
| 65 | + "default": 0, |
| 66 | + "type": "integer" |
| 67 | + }, |
| 68 | + "phaseEncodeDir": { |
| 69 | + "description": "Phase encoding direction. (1 = L/R 'row', 2 = A/P 'col'). This value is read from the rawDti nifti field, you should specify it here if it does not exist. If you collected your DTI data using GE's ASSET, you should provide the phase-encode direction (1= L/R 'row', 2 = A/P 'col'). Information about this, as well as the b-value and gradient code, can be found in the dicom file header.", |
| 70 | + "type": "integer", |
| 71 | + "default": 2 |
| 72 | + }, |
| 73 | + "dwOutMm-1": { |
| 74 | + "description": "Resolution of the output in mm.", |
| 75 | + "type": "integer", |
| 76 | + "default": 2 |
| 77 | + }, |
| 78 | + "dwOutMm-2": { |
| 79 | + "description": "Resolution of the output in mm.", |
| 80 | + "type": "integer", |
| 81 | + "default": 2 |
| 82 | + }, |
| 83 | + "dwOutMm-3": { |
| 84 | + "description": "Resolution of the output in mm.", |
| 85 | + "type": "integer", |
| 86 | + "default": 2 |
| 87 | + }, |
| 88 | + "rotateBvecsWithRx": { |
| 89 | + "description": "Rotate the b-vectors according to the scanner perscription. 0 = false, 1 = true", |
| 90 | + "default": 0, |
| 91 | + "type": "integer" |
| 92 | + }, |
| 93 | + "rotateBvecsWithCanXform": { |
| 94 | + "description": "Rotate the b-vectors according to the canonical xForm. 0 = false, 1 = true", |
| 95 | + "default": 0, |
| 96 | + "type": "integer" |
| 97 | + }, |
| 98 | + "noiseCalcMethod": { |
| 99 | + "description": "Noise calculation method for robust tensor fitting. ['corner', 'b0' (default)]. There are 2 ways to calculate the noise. The first is based on the standard deviation of the signal in the corner of the image (noiseCalcMethod = 'corner'). This method works well as long as the corner of the image has not been padded with zeros. Currently GE zeros out the pixel intensity outside of the brain. So for new GE data we calculate the noise by taking the standard deviation of the b=0 images (noiseCalcMethod = 'b0') which means that we need a number of b0 acquisitions. If you are using robust tensor fitting you must decide how to calculate the image noise. If the corner of the image is padded with zeros then you should use the 'b0' method which calculates the noise based on the std of the b0 image.", |
| 100 | + "type": "string", |
| 101 | + "default": "b0" |
45 | 102 | } |
46 | 103 | } |
47 | 104 | } |
0 commit comments