Module gonioanalysis.drosom.plotting.compare_opticflow

Functions

def complete_flow_analysis(manalyser, rotations, rotation_axis, text=True, animate=True, subdivide_regions=False, mutation_scale=3, dual_difference=True, elevations=[50, 0, -50])

Creates the combined plot of the rhabdomere movement vectormap, simulated optic flow and the difference between these two, rendered from 3 views

PLOT ROW 1 measured optic flow vectors 2 simulated optic flow 3 error heatplot

INPUT ARGUMENTS manalyser rotations rotation_axis Either 'yaw', 'roll', or 'pitch' text wheter to render text dual_difference Create a a difference plot for the opposite direction as well, adding a column in the plot subdivide_regions True/False, will divide the

def error_at_flight(manalyser)

Plot 2D heatmap with vertical limits (upper_lower) as x,y axes and pixel color values as the on flight orientation.

To see what (lower,upper) vertical excluding would give smallest error.