AstrOmatic forum

Full Version: MEF + ds9 .reg files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,

I'm having problems with specifying polygon data for more than one extension of a MEF image in WeightWatcher. I wish to mask out the same area from chip1 & chip2, which are contained within one MEF image; my ds9 region file reads:

Code:
# Region file format: DS9 version 4.0
# Filename: /media/sda3/djs/WHT_0705_pipelined/flats/U_conf.fit[extension2]
global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
image
polygon(2043,0,2048,0,2048,4096,2043,4096)

... but it is only applied to the first extension of the weight map that weightwatcher produces.

Does anyone know how to get this region applied to both extensions?

Cheers,

D
Hello dsmith,
you have only one polygon in your region file, hence only one polygon is applied by weightwatcher.
Try to open a MEF image with ds9 and create one polygon for each extension: you will see that the .reg syntax is different from single image.
Weightwatcher needs a 'ds9-MEF-syntax' in order to understand on which extension the polygon has to be applied.

Cheers,
Chiara.
Reference URL's