Description Usage Arguments Value Author(s) Examples
Validate the function arguments based on predefined rules. This function has no application for users and serves only to ensure correct variables. It either returns TRUE if all variables conform to the rules or stops execution in case one of the conditions is not met.
1 2 3 | validateVariables(imageStack, image, w_x, w_y, smoothing, brushShape,
projType, interpolation, contrastStack, indexMap, fix.gaussian.blur,
blur.size, return.all)
|
imageStack |
A numeric 3D array-like |
image |
A 2D array-like |
w_x |
A numeric value |
w_y |
A numeric value |
smoothing |
An integer value |
brushShape |
A string |
projType |
A string |
interpolation |
An integer value |
contrastStack |
A numeric 3D array-like |
indexMap |
A numeric 2D array-like. Must always be validated
simultaneously with |
fix.gaussian.blur |
A logical parameter, or one which can be coerced to a logical value |
blur.size |
An integer value |
return.all |
A logical parameter, or one which can be coerced to a logical value |
A boolean indicating that the function ran without error.
Jan Sauer
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.