FABLE-3DXRD / ImageD11

ImageD11 is a python code for identifying individual grains in spotty area detector X-ray diffraction images.

Home Page:https://imaged11.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tag peaks that are touching the detector mask

jonwright opened this issue · comments

For old data, take a detector mask, grow it and cast to boolean, and just do:

cf.filter( mask[ cf.s_raw.astype(int), cf.f_raw.astype(int) ] )

Perhaps this could be added as a columnfile method, something like columnfile.detectormask( mask, growth_cycles=3 )?

For new data, we could look at the pixel intensity which is adjacent to a masked pixel. This means counting up the integrated intensity twice. Places to look at would include: