mcutils/xray
Marco Cammarata c9ef0f42a6 bug fix in index for reference + removed filtering 2017-02-09 17:14:35 +01:00
..
README.md never mind ... the instructions were wrong. did not what what I wanted ... 2017-01-06 18:36:56 +01:00
__init__.py importing new filter sub-module 2017-02-09 17:00:25 +01:00
azav.py now mask can be a list of masks + add removebackground + bugfix 2017-02-09 17:02:51 +01:00
cell.py clean up and improved cell submodule, has also an helper for printing reflections on figure 2017-01-20 10:42:44 +01:00
dataReduction.py bug fix in index for reference + removed filtering 2017-02-09 17:14:35 +01:00
example_main_salen.py updated examples 2017-01-27 15:42:36 +01:00
example_main_tiox.py updated examples 2017-01-27 15:42:36 +01:00
filters.py new module with filtering functions 2017-02-09 16:57:37 +01:00
id9.py fixed few typos 2017-01-27 15:39:32 +01:00
mask.py new functions to create masks (to remove borders and center of detector 2017-02-09 16:59:46 +01:00
peaks.py added errorbar weighting and filter for nans and inf 2017-01-27 15:40:26 +01:00
utils.py improved plots for online analysis + new little helper functions 2017-02-09 17:12:48 +01:00
xray.py lots of changes, now id9 and pyfai routines have their own wubmodule; worked on storage system (hdf5 or npz based) 2017-01-05 19:22:37 +01:00

README.md

xray

Different utilities to work with time resolved solution/powder scattering data They should be extended to absorption soon

The idea is an hierarchical structure of modules

user → beamline → workhorses

Workhorses

azav.py: uses pyFAI to convert images into 1d curves dataReduction.py: works on the normalization, referencing and averaging.

Both modules uses some common utilities in utils.py including file based storage for persistency and convenience (numpy or hdf5 based); Indeed the data_storage class wraps around dictionaries allowing accessing with .attribute syntax. In utils plotfuncitons are presents

beamline

this step is needed to read the diagnostic information (time delay, monitors, etc). An example for current id9 data collection macros is given (id9.py). Essentially it means creating a dictionary where each key will be added to the main data dictionary (that has keys like q, data, files, etc.)

user

at the user level, a rather simple macro like the one provided as an example (example_main_tiox.py) should be sufficient for most needs.