Initial stages of optimising STEM to calculate batches of pixels at once to reduce number of potential calculations. Still buggy.
Converted to metro style for fun. Broke error Text boxes
Minor tweaks, error boxes now working
Colours are now stored in a central "Colours.xaml"
Changed dialogs to metro and made improvements
Fixed error in CBED simulation
Theme setting is now global
Changed textbox error highlighting
detector datagrid can no longer be edited directly
fixed bug with uninitialised variables
Fixed bug in sum reduction function causing exceptions, optimised stem only works if number of pixels in x is multiple of the number of simultaneous wavefunctions (multistem)
Greatly increased speed of image updating for STEM. Doesnt save TDS arrays now, just sums pixel values inside image display..
Pixels are now updated in random order to allow for more efficient randomized TDS iterations. Now only total number of pixels must be multiple of number of simultaneous wavefunctions.
Fixed inverted images in stem mode and incorrect CBED probe position. Change STEM TDS contrast calculation and ordering of TDS,pixel loops.
Fix bug in stem subregion positions being calculated incorrectly.
Memory usage now automatically estimated
Stem images no longer need to have total pixels as a multiple of concurrent pixels
Merged from Elysium and got to basic working state. Finite difference definitely doesn't work
Re-enabled FD mode after modifications to make it work with multiple simultaneous wavefunctions.
TDS now much better after sort and shuffle calls moved