cortex.polyutils.Distortion.areal

property Distortion.areal

Compute areal distortion of the flatmap.

Areal distortion is calculated at each triangle as the log2 ratio of the triangle area in the flatmap to the area in the reference surface. Distortion values are then resampled onto the vertices.

Thus a value of 0 indicates the areas are equal (no distortion), a value of +1 indicates that the area in the flatmap is 2x the area in the reference surface (expansion), and a value of -1 indicates that the area in the flatmap is 1/2x the area in the reference surface (compression).

See: http://brainvis.wustl.edu/wiki/index.php/Caret:Operations/Morphing

Returns
vertratios1D ndarray, shape (total_verts,)

Areal distortion at each vertex.