polyTEM.crystal_peaks.flow_fields.color_by_angle

polyTEM.crystal_peaks.flow_fields.color_by_angle(theta, inverse=False)

Assigns r, g, b values based on input angle. Inputs:

theta: angle in degrees. Can be a single value or an array.

Outputs:

tuple of r, g, b values, each of which has the same shape as the input values.