Diffractogram  shows a result of azimuth integration on 1d plot

Ranges and 1d plots colors can be changed in the lavue Configuration by setting Ranges and ROIs Colors

Also in the Configuration the user can change

A contour plot of diffractograms (collected in time) can be created with use of the Buffering widget


The configuration of the tool can be set with a JSON dictionary passed in the  --tool-configuration  option in command line or a toolconfig variable of LavueController.LavueState with the following keys:

calibration (string), diff_number (integer), diff_ranges ( [azimuth_start, azimuth_end, radial_start, radial_end] for each diffractogram i.e.   lists of  four floats), diff_units ( "q [1/nm]", "q [1/A]", "2th [deg]", "2th [rad]","r [mm]", "r [pixel]" string), buffer_size (integer), buffering (boolean), collect (boolean), show_diff (boolean), main_plot (image, buffer 1, buffer 2, buffer 3 or buffer 4 string)

e.g.

lavue -u diffractogram -s test --tool-configuration \{\"calibration\":\"test/images/eiger4n_al203_13.45kev.poni\",\"diff_number\":2,\"diff_ranges\":[[10,20,0,10],[-5,5,5,15]],\"diff_units\":\"r\ [mm]\",\"buffering\":true,\"buffer_size\":512\} --start