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

GUI for MultiCrystal code

 
Modules
       
Dans_Diffraction.functions_crystallography
Dans_Diffraction.functions_general
tkinter.filedialog
numpy
os
matplotlib.pyplot
sys
tkinter

 
Classes
       
builtins.object
MultiCrystalGui

 
class MultiCrystalGui(builtins.object)
    MultiCrystalGui(crystal_list)
 
Combine crystal objects and plot combined scattering
 
  Methods defined here:
__init__(self, crystal_list)
Initialise
fun_edge(self, event=None)
X-ray edge option menu
fun_intensities(self, event=None)
Display intensities
fun_loadcif(self)
fun_loadstruct(self, event=None)
Load from structure_list
fun_powder(self, event=None)
Plot powder pattern
fun_remove(self, event=None)
Remove selected crystal
fun_scale(self, event=None)
Set current crystal scale
generate_listbox(self)
Add crytal info to listbox
set_scatter(self)
Set up scattering conditions

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

 
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'