constriction_factor#

constriction_factor(thickness_map, power=1.0)[source]#

Compute the slice-wise constriction factor from the input thickness map. Constriction factor is defined as thickness[x, y, z] / thickness[x, y, z+1] Padded with reflected values at outlet

Return type:

ndarray

Parameters:
  • thickness_map – Any 3D thickness map. Examples could be slice-wise EDT, MIS, etc.

  • power – Power to raise the thickness map

Returns:

Slice-wise constriction factor

Return type:

numpy.ndarray