| |
- builtins.object
-
- ArbitaryCutGui
- ReflectionSelectionBox
- ResonantXrayGui
- ScatteringGui
- ScatteringGuiOLD
class ReflectionSelectionBox(builtins.object) |
|
ReflectionSelectionBox(xtl, parent, title='Reflections', multiselect=True, radiation=None, wavelength_a=None)
Displays all data fields and returns a selection
Making a selection returns a list of field strings
out = ReflectionSelectionBox(['field1','field2','field3'], current_selection=['field2'], title='', multiselect=False).show()
# Make selection and press "Select" > box disappears
out = ['list','of','strings'] |
|
Methods defined here:
- __init__(self, xtl, parent, title='Reflections', multiselect=True, radiation=None, wavelength_a=None)
- Initialize self. See help(type(self)) for accurate signature.
- add_reflection(self, hkl)
- Add reflection to list
- add_reflection_list(self, hkl_list)
- Replace reflection list
- clear_reflections(self)
- Clear reflection list
- f_exit(self, event=None)
- Closes the current data window
- fun_add_hkl(self, event=None)
- Add additional hkl
- fun_edge(self, event=None)
- X-ray edge option menu
- fun_exitbutton(self, event=None)
- Closes the current data window and generates output
- fun_gen_refs(self)
- Generate reflections
- fun_gen_sym_refs(self)
- fun_listboxselect(self, event=None)
- Update label on listbox selection
- fun_radiation(self, event=None)
- Set radiation
- fun_rem_sym_refs(self)
- fun_search(self, event=None)
- Search the selection for string
- fun_wavelength(self, event=None)
- Convert previous unit
- get_max_q(self, event=None)
- Return max val in inverse angstroms, convert if changed
- get_scattering_type(self)
- Get scattering type
- get_wavelength(self)
- Return wavelength in A according to unit
- help_max_q(self)
- set_wavelength(self, wavelength_a)
- set wavelength according to unit
- show(self)
- Run the selection box, wait for response
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- REF_FMT = '%14s %8.2f %12.4g'
|
|