PinkShnack / TEMUL

Functions for analysis of high resolution electron microscopy and spectroscopy data.
https://temul-toolkit.readthedocs.io
GNU General Public License v3.0
14 stars 11 forks source link

Polarisation dummy data #30

Closed PinkShnack closed 4 years ago

PinkShnack commented 4 years ago

Added polarisation dummy data get_polarisation_dummy_dataset for showing nicely different vector angles and mags. Added functionality to plot_polarisation_vectors to allow colorbar ticks, contour levels and set drawedges for tricontourf to false.

End goal is to be able to plot the data with the data range from -180 to 180, with the data falling inside that, naturally. However, right now it only plots the range from min to max of the data. Would be nice to be able to plot the data as is, with the colorbar showing from -180 to 180. Comment written in plot_polarisation_vectors with possible solutions.

PinkShnack commented 4 years ago
PinkShnack commented 4 years ago

Added better get_angles_from_uv handling for 180 degree angle cases. added angle_offset for contour mapping in plot_polarisation_vectors Added rotation map example to get mean and make it a bit nicer in general.