mlreflect.xrrloader.p08tools package

Submodules

mlreflect.xrrloader.p08tools.P08ScanTools module

Created on Sun Sep 23 17:18:21 2018

@author: Florian

class mlreflect.xrrloader.p08tools.P08ScanTools.Scan[source]

Bases: object

calc_q()[source]
load_image_stack()[source]

loads the detector files for the detectors used in the scan. data is stored in the image_data dictionary

load_scan(filename=None, auto_load_images=True, auto_remove_double=False)[source]
remove_double()[source]
class mlreflect.xrrloader.p08tools.P08ScanTools.ScanAnalyzer[source]

Bases: object

static combine_scan_image_regions(scan_list, comb_rois)[source]
static export2ascii(scan, detector, roi, filename, xcolName=None, bck=None)[source]
static extract_rois(scan, rois)[source]
static writeHDF(filename, scan)[source]
class mlreflect.xrrloader.p08tools.P08ScanTools.ScanFitter[source]

Bases: object

static diff_func(array1, array2)[source]
static gaussLorentzianFit(scan, detector, roi, peaks, wichtung_params=None)[source]
static multiFit(scan, detector, roi, peaks)[source]
static multiVoigtFit(scan, detector, roi, peaks)[source]
static simpleFit(scan, detector, roi, peaks)[source]
class mlreflect.xrrloader.p08tools.P08ScanTools.ScanPlot[source]

Bases: object

static plotCurves(xcol, ydata)[source]
static plotRois(scan, detector, rois, xcolName=None)[source]

uses matplotlib to plot roi intensities of scan for given detector

mlreflect.xrrloader.p08tools.fio_reader module

Created on Sun Sep 23 17:18:21 2018

@author: Florian

mlreflect.xrrloader.p08tools.fio_reader.read(filename, header_only=False)[source]

Module contents

class mlreflect.xrrloader.p08tools.Scan[source]

Bases: object

calc_q()[source]
load_image_stack()[source]

loads the detector files for the detectors used in the scan. data is stored in the image_data dictionary

load_scan(filename=None, auto_load_images=True, auto_remove_double=False)[source]
remove_double()[source]
class mlreflect.xrrloader.p08tools.ScanAnalyzer[source]

Bases: object

static combine_scan_image_regions(scan_list, comb_rois)[source]
static export2ascii(scan, detector, roi, filename, xcolName=None, bck=None)[source]
static extract_rois(scan, rois)[source]
static writeHDF(filename, scan)[source]
mlreflect.xrrloader.p08tools.read_fio(filename, header_only=False)