corners_to_centroid_and_edge_centers#

diffsims.generators.zap_map_generator.corners_to_centroid_and_edge_centers(corners)[source]#

Produces the midpoints and center of a trio of corners

Parameters:
cornerslist of lists

Three corners of a streographic triangle

Returns:
list_of_cornerslist

Length 7, elements ca, cb, cc, mean, cab, cbc, cac where naming is such that ca is the first corner of the input, and cab is the midpoint between corner a and corner b.