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

Properties GUI

 
Modules
       
Dans_Diffraction.functions_crystallography
Dans_Diffraction.functions_general
Dans_Diffraction.functions_plotting
tkinter.messagebox
numpy
matplotlib.pyplot
tkinter

 
Classes
       
builtins.object
NeighborsGui
PropertiesGui
XrayInteractionsGui

 
class NeighborsGui(builtins.object)
    NeighborsGui(xtl)
 
Calculate bond distances
 
  Methods defined here:
__init__(self, xtl)
Initialise
atom_update(self, event=None)
button_allbonds(self)
button_exchange(self)
button_neighbours(self)
button_plot_exchange(self)
button_radius(self)
button_select_atom(self)

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

 
class PropertiesGui(builtins.object)
    PropertiesGui(xtl)
 
Show properties of atomis in Crystal
 
  Methods defined here:
__init__(self, xtl)
Initialise
fun_asf(self)
Properties button
fun_cxro(self)
Xray Interactions Button
fun_d2tth(self, event=None)
Convert d to tth and q
fun_edge(self, event=None)
Add edge energy
fun_element(self, event=None)
Element button
fun_energy2wave(self, event=None)
Convert energy to wavelength
fun_frac(self)
Atomic Fraction
fun_magff(self)
Properties button
fun_neighbours(self)
fun_prop(self)
Properties button
fun_q2tth(self, event=None)
Convert Q to tth and d
fun_tth2q(self, event=None)
Convert two-theta to q and d
fun_wave2energy(self, event=None)
Convert wavelength to energy
fun_xratten(self)
Properties button
fun_xsf(self)
Properties button

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

 
class XrayInteractionsGui(builtins.object)
    XrayInteractionsGui(xtl)
 
Calculate X-Ray interactions with Matter
 
  Methods defined here:
__init__(self, xtl)
Initialise
button_atten(self)
button_help_angle(self)
button_help_thickness(self)
button_reflectivity(self)
button_refraction(self)
button_transmission(self)
fun_formulas(self, event=None)
fun_scantype(self, event=None)
get_scan(self)

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]
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'