Function cpo_analyzer::pole_figures::lambert::create_lambert_equal_area_gridpoint[][src]

pub fn create_lambert_equal_area_gridpoint(
    sphere_points: usize,
    hemisphere: String
) -> Result<Lambert, Box<dyn Error>>

Create a grid of evenly spaced points for contouring pole figure matlab-version of drex uses 151 x 151 points.

Note wikipedia has the transformation for the lambert equal area projection for both X,Y --> x,y,z and x,y,z --> X,Y so given the Pa directions (unit vectors, do R = 1 on a sphere) in x,y,z, you can get X,Y on the lambert projection to plot these as a scatter plot without ever converting the spherical coordinates