How to draw a rectangular box(slit) on a region file using python-ds9

206 Views Asked by At

Its my first time to use python code to display ds9 images.I just display black and white image but I wanted to get a color image with two or more slit positioned on the image which passes at the center,plus the position angle and coordinates should not be manually typed coz I have many images.I expect something enter image description here like this.As you see the slits are not at the center I need them all at the center but they are at different angle.I need your help as usual,thanks!

0

There are 0 best solutions below