Dans_Diffraction.tkgui.fdmnes
index
c:\users\grp66007\onedrive - diamond light source ltd\pythonprojects\dans_diffraction\dans_diffraction\tkgui\fdmnes.py

FDMNES tkinter GUI windows

 
Modules
       
tkinter.filedialog
tkinter.messagebox
os
matplotlib.pyplot
tkinter

 
Classes
       
builtins.object
AnaFDMNESgui
RunFDMNESgui

 
class AnaFDMNESgui(builtins.object)
    AnaFDMNESgui(output_path=None, output_name='out')
 
Read files from a completed FDMNES calculation folder
 
  Methods defined here:
__init__(self, output_path=None, output_name='out')
Initialise
fun_dos(self, event=None)
Button DOS
fun_loadpath(self, event=None)
Button Select - Open new folder
fun_ref3d(self, event=None)
Button Plot all Azim/energy
fun_refazim(self, event=None)
Button Plot Azimuth
fun_refdos(self, event=None)
Button spherical tensors
fun_refenergy(self, event=None)
Button Plot Energy
fun_search_next(self, event=None)
Button Next
fun_search_prev(self, event=None)
Button Prev
fun_xanes(self, event=None)
Button XANES

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class RunFDMNESgui(builtins.object)
    RunFDMNESgui(xtl)
 
Create FDMNES indata files and run them
 
  Methods defined here:
__init__(self, xtl)
Initialise
fun_addref(self, event=None)
Add reflection to list
fun_analyse(self, event=None)
Start Analysis GUI
fun_findfdmnespath(self)
Find fdmnes executable
fun_loadfdmnespath(self)
Select fdmnes executable
fun_loadpath(self, event=None)
Select folder
fun_mag(self, event=None)
Toggle magnetic / spin-orbit
fun_runfdmnes(self, event=None)
Run FDMNES
fun_update(self, event=None)
Update values and generate text
fun_writefdmfile(self, event=None)
Create FDMNES files
fun_writefiles(self, event=None)
Create FDMNES files
gentxt(self)
Generate input file text
menu_fdmnes_ana(self)
menu_new(self)
on_closing(self)
End mainloop on close window
update(self)
Updates the internal fdm object

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
menu_fdmnes()
Open GitHub page
menu_help()
Display help

 
Data
        BF = ['Palatino', 14]
HF = ['Courier', 12]
LF = ['Palatino', 14]
SF = ['Palatino', 14]
TF = ['Palatino', 12]
TTBG = 'light grey'
TTF = ('Helvetica', 10, 'bold italic')
TTFG = 'red'
bkg = 'snow'
btn = 'azure'
btn2 = 'gold'
btn_active = 'grey'
btn_txt = 'black'
ety = 'white'
ety_txt = 'black'
opt = 'azure'
opt_active = 'grey'
opt_txt = 'black'
txtcol = 'black'