Regions#

The madcubapy.regions package contains functions to import and export Regions of Interest (RoIs) using matplotlib.patches.

Note

The astropy regions package is a great tool to work with RoIs (except MADCUBA and madcubapy rois).

However, to code the RoI Tools into MADCUBA, I had to write parser functions from scratch in ImageJ, and converting those functions to python was easy and straightforward. I leave the madcubapy.regions package as is. In a future release I will very likely change the code to use the astropy regions package.

Import & Export RoIs#

Working with contours#

API Reference#