tomwer.core.utils.spec#

Functions

getClosestEnergy(scan[, refFile])

Parse files contained in the given directory to get information about the incoming energy for the serie iSerie

getDARK_N(scan)

getDim1Dim2(scan)

type scan:

getFirstProjFile(scan)

Return the first .edf containing a projection

getParametersFromParOrInfo(_file)

Create a dictionary from the file with the information name as keys and their values as values

getPixelSize(scan)

Try to retrieve the pixel size from the set of files.

getTomo_N(scan)

Return the number of radio taken

rebaseParFile(_file, oldfolder, newfolder)

Update the given .par file to replace oldfolder location by the newfolder.