This guide explains how to create spiral based boxes.
The boxes can be used as ROIs for further analysis (Compartmentalization, gradient distribution, heat map, etcetera)
This guide explains how to create spiral based boxes.
The boxes can be used as ROIs for further analysis (Compartmentalization, gradient distribution, heat map, etcetera)
Only the parameters located in the USER SETTING area can be modified. Don’t change any other number, definition or text in the code outside this dedicated area.
USER SETTING.FIRST_PLANE defines the lower Z plane of the sub-regions ROI.LAST_PLANE defines the higher Z plane of the sub-regions ROI.STEP_ANGLE defines the step size in degrees. The boxes will be positioned on the spiral curve every STEP_ANGLE.SPIRAL_LOOP defines the number of loops (concentric spirals). Any single loop is a complete 360° spiral. Values less than 1.0 draw a partial spiral.COEFFICENT_B is the coefficient used to define the distance between the loops of the concentric spiral.BOX_HEIGHT sets the height of the boxes (Y).BOX_WIDTH sets the width of the boxes (X).Set the distance of the loops and their numbers according to the size of the boxes. Wrong parameters setting can make the boxes overlap, especially inside the inner part of the spiral.
Run the Spiral Oriented Sub Volume Python Script by pressing the Run Script button or pressing the F5 key.
Note: Activate the Output Panel, if not already displayed. The status of the script execution (errors including) will be visualized here.
Features can be added or removed from the data table using the Feature Column command.