An EBSD pattern consists of Kikuchi bands formed by pairs of parallel Kikuchi lines. Electrons scattered from a point of interest on a sample surface diverge and impinge on crystal planes, generating diffraction cones that intersect a phosphor screen to form the lines. EBSD software analyzes individual Kikuchi lines by comparing them to theoretical lines in a database to determine crystal orientations. A straight line can be represented by its normal line, which passes through the origin and is perpendicular to the line, with its form defined as ρ = x cos(θ) + y sin(θ) where ρ is the normal line's length and θ is its angle to the x-axis.