a-c Attraction interaction function FAtt = fAtt(d)OAtt(ψ)EAtt(Δϕ) and d-f alignment interaction function FAli = fAli(d)OAli(Δϕ)EAli(ψ), for 5 different light intensities 0.5, 1, 1.5, 5, and 50 lx (from dark to light blue). a,d Intensity of attraction and alignment respectively as functions of the distance between fish d. b,c Even and odd modulations of attraction intensity as functions of the relative orientation Δϕ and the viewing angle ψ respectively. e,f Even and odd modulations of alignment intensity as functions of ψ and Δϕ respectively. Color dots correspond to the discrete values resulting from the reconstruction procedure, extracted from the experimental data. Blue solid lines correspond to the analytical approximation of the discrete functions for the corresponding light condition. Orange lines correspond to the analytical approximation of a single discrete function combining all light conditions.