Module: arrayutil

6 Functions

hexrd.arrayutil.getMem(shape, asOnes=False, asZeros=False, typeInt=False)[source]
hexrd.arrayutil.toArray(a)[source]
hexrd.arrayutil.writeArray(fid, *args, **dargs)[source]

Print to file, pasting arrays together; eventually replace with numpy.savetxt?

hexrd.arrayutil.arrayToString(a)[source]
hexrd.arrayutil.structuredSort(order, things)[source]

sort things by order, return sorted things

hexrd.arrayutil.histoFit(data, nBins, plot=False)[source]

Fit data using histogramming; useful for stuff pulled in using DataThief