region_mask_from_ds9

grizli.prep.region_mask_from_ds9(ext=1)[source]

Get a region masks from a local DS9 window and make a table that can be sent to the exposure_region_mask database table.

Parameters
extint

Extension number of the FLT file to which the mask applies.

Returns
tabTable

Table with columns [‘dataset’, ‘ext’, ‘region’, ‘time’] that can be sent to the exposure_region_mask database table.