LaueTools Modules
Browse Modules and Functions
Modules for Laue Pattern Simulation
The following modules are used to compute Laue pattern from grain (or crystal) structural parameters and 2D plane detector geometry:
CrystalParameters.py defines structural parameters describing the crystal. It includes orientation matrix and strain operators.
lauecore.py contains the core procedures to compute all Laue spots properties.
LaueGeometry.py handles the 2D plane geometry set by the detector position and orientation with respect to sample and incoming direction.
multigrainsSimulator.py allows to simulate an assembly of grains, some of them according to a distribution of grains. This module is called by the graphical user interface (LaueSimulatorGUI) which provides all arguments in an intuitive way.
- CrystalParameters
- Laue Pattern Simulation
- 2D Detection Geometry
calc_uflab()
calc_uflab_trans()
calc_xycam()
calc_xycam_transmission()
uflab_from2thetachi()
from_twchi_to_qunit()
from_twchi_to_q()
from_qunit_to_twchi()
qvector_from_xy_E()
unit_q()
Compute_data2thetachi()
convert2corfile()
convert2corfile_fileseries()
convert2corfile_multiprocessing()
vec_normalTosurface()
vec_onsurface_alongys()
convert_xycam_from_sourceshift()
lengthInSample()
- Multiple Grains and Strain/orientation Distribution
Modules for Digital Image processing, Peak Search & Fitting
- PeakSearchGUI
- Peak Search and Fit (readmccd.py)
- Module functions
- readmccd.py
readoneimage_multiROIfit()
fitPeakMultiROIs()
getIntegratedIntensities()
writepeaklist()
fitoneimage_manypeaks()
PeakSearch()
peaksearch_on_Image()
savePeakSearchConfigFile()
readPeakSearchConfigFile()
read_background_flag()
peaksearch_fileseries()
peaksearch_multiprocessing()
purgePeaksListFile()
write_PurgedPeakListFile()
removePeaks_inPeakList()
merge_2Peaklist()
writefile_mergedPeaklist()
- IOimagefile.py
stringint()
setfilename()
getIndex_fromfilename()
getfilename()
getwildcardstring()
pixelvalat()
getpixelValue()
readheader()
read_header_marccd()
read_header_marccd2()
read_header_scmos()
readheadertiff()
read_motorsposition_fromheader()
readoneimage_full()
readCCDimage()
readoneimage()
readoneimage_band()
readoneimage_crop_fast()
readrectangle_in_image()
readoneimage_crop()
readoneimage_manycrops()
writeimage()
write_rawbinary()
SumImages()
Add_Images2()
Add_Images()
get_imagesize()
- imageprocessing.py
getindices2cropArray()
check_array_indices()
to8bits()
diff_pix()
minmax()
getExtrema()
getIntegratedIntensity()
getMinMax()
minmax_fast()
normalize_shape()
LoG()
LoGArr()
radialArr()
LocalMaxima_ndimage()
ConvolvebyKernel()
LocalMaxima_KernelConvolution()
LocalMaxima_ShiftArrays()
shiftarrays_accum()
LocalMaxima_from_thresholdarray()
localmaxima()
gauss_kern()
blur_image()
blurCCD()
circularMask()
compute_autobackground_image()
computefilteredimage()
filterimage()
rebin2Darray()
blurCCD_with_binning()
filter_minimum()
remove_minimum_background()
plot_image_markers()
applyformula_on_images()
- readmccd.py
- Module functions