diffpy.fourigui package
Tool for visualizing 3D diffraction and PDF Images.
Submodules
diffpy.fourigui.fourigui module
- class diffpy.fourigui.fourigui.Gui(*args: Any, **kwargs: Any)[source]
Bases:
Frame
- applycutoff()[source]
shape the reciprocal-space array
reassign all voxels with distance smaller than qmin and greater than qmax to np.nan.
parameters:
qmin, qmax is loaded from the qmin, qmax input panel currently operates in units of pixels
Returns:
nothing
- fft()[source]
Fourier transform 3D array from reciprocal to real space the origin of reciprocal and real space is expected to be the central voxel
- ifft()[source]
Inverse Fourier transform 3D array from real to reciprocal space the origin of real and reciprocal space is expected to be the central voxel
- intensity_upd_local()[source]
show local intensity minimum, maximum and sum of current plotted plane
- load_cube()[source]
loads 3D array in h5py file format from the filename input panel 3D array is expected to be a reconstructed reciprocal scattering volume when executed, one slide perpendicular to the selected axis will be plotted in the plot panel