neutrons / addie

ADvanced DIffraction Environment - GUI for Reduction of Neturon Time-of-Flight Total Scattering Diffraction Data
GNU General Public License v3.0
8 stars 4 forks source link

Run_visalign diagnostic plots #122

Open marshallmcdonnell opened 5 years ago

marshallmcdonnell commented 5 years ago

Lots of diagnostics of individual pixel calibrations

image Figure (a) Bankx_align.ps is after calibration, intensity as a function of pixel number and Q. This can be done with the existing color-fill-plot after AlignDetectors converts the data to d-spacing then an optional ConvertUnits to Q

image Figure (b) Bankx_Dia220.ps fitted diamond 220 position relative to nominal as a function of pixel number. The found d-values for all peaks are in the _dspacing diagnostic workspace.

image Figure (c) align.ps is histogram of the deviation from the nominal diamond 220 position over all non-masked pixel, Gaussian distribution shown for comparison

image Figure (d) (generated by run_visalign.pro) Gaussian peakwidth of diamond 220 as a function of 2theta for each pixel

run_visalign also produces an ASCII file peakwidth_table.dat which is the content of the plot peakwidth.ps

image

Reference files: Bank0_align.pdf, Bank1_align.pdf, Bank2_align.pdf, Bank3_align.pdf, Bank4_align.pdf, Bank5_align.pdf

NOTE: Want to do generally for any number of groups, not just the 6 normal banks (required if to be used by other diffractometers)

Reference files: Bank0_Dia220.pdf, Bank1_Dia220.pdf, Bank2_Dia220.pdf, Bank3_Dia220.pdf, Bank4_Dia220.pdf, Bank5_Dia220.pdf

Reference image: image

Reference image: image

marshallmcdonnell commented 5 years ago

These exist in the calibration module, we just need to add to the UI.

@JeanBilheux we can discuss how to incorporate these into the GUI