NSLS-II / wishlist

an issue tracker for the big picture
1 stars 0 forks source link

Add segment draw mode to Nikea/xray-vision/xray_vision/mask/manual_mask.py #86

Open yugangzhang opened 8 years ago

yugangzhang commented 8 years ago

Currently, the Nikea/xray-vision/xray_vision/mask/manual_mask.py supports a free draw mode to make a mask. It will be nice to add a function of segment draw mode. This mode allows users to make masks in a click(point)_straight-line_click(point) way.

I wrote the code in my github:
https://github.com/yugangzhang/notebook_XPCS/blob/master/EssCode/Mask_Maker.py