export_roi#
- madcubapy.regions.export_roi(patch, filename, format='pyroi', coord_frame='image', fitsmap=None, patch_info=None)[source]#
Export a region of interest (ROI) to a specified file format.
- Parameters:
- patch
Patch Patch object to export.
- filename
strorPath Path of the output file.
- format
str, optional The export format. Options:
'pyroi'(default),'crtf'.- coord_frame
str Coordinate frame to use. Options:
'world'and'image'.- fitsmap
MadcubaMaporCCDData Map object used to transform coordinates.
- patch_info
str Custom information text to add to the roi file.
- patch