Questions tagged [ds9]

DS9 is an astronomical image visualization application developed by the Smithsonian Astrophysical Observatory.

DS9 is an astronomical image visualization application developed by the Smithsonian Astrophysical Observatory. It is especially suited to working with astronomical imagery in the NASA FITS format

The homepage for DS9 is available at SAO DS9 Homepage

13 questions
2
votes
0 answers

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

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…
2
votes
2 answers

How to change the color of the circular region from green to red in ds9 through python using pyds9

I am using pyds9 to automatically load the fits images (for astronomy-related purposes). I am able to configure all the other settings like scale, color and zoom level. For each image what I want to do is draw a small circle in a particular…
Aalok_G
  • 471
  • 7
  • 18
1
vote
1 answer

WCS not appearing in generated FITS files

I am trying to generate a FITS file with random stars. For some reason, when I open the file in SAO DS9, the mouse-over doesn't display the on-sky coordinates, but instead only shows the pixel locations to which I am mousing over. Below I'm showing…
anakha272
  • 55
  • 2
  • 6
1
vote
2 answers

How to find Angle of Different Edges in an Image

I have an image where there are some star streaks, with the help of edge detection and non max suppression, I am able to convert it into grayscale Image with Edges. I need to get the angle w.r.t. the x-axis at which the streaks are pointing. These…
1
vote
0 answers

How to correctly combine PNG and FITS data into one Matplotlib figure in Python?

I have a FITS file of 4545x4545 pixels with a header containing its coordinate system. Since DS9 (another software to view and handle FITS images) handles the color map scaling better, I had the idea of: open the FITS file using DS9 to tweak the…
0
votes
0 answers

DS9 configuration issue

I'm trying to use DS9 for X-ray image analysis. Before that I have to configure it for use, I need to click on option using web proxyenter image description here Beside use internal web browser checkbox there should be another checkbox with name…
0
votes
0 answers

Load local catalog in ds9

I have a basic question on ds9. I can load catalogs from internet like SIMBAD, NED etc. Is there any function which can load LOCAL catalog into the image? Thanks, Vinu
vinu
  • 457
  • 4
  • 11
0
votes
0 answers

I have installed ds9 on linux but the command is not found when I just write 'ds9' in my terminal

I just installed ds9 on linux, and I know it's correctly installed because when I write 'conda install ds9' in my terminal, it says that "All the requested packages are already installed". Then, when I just write 'ds9' in my terminal, it says 'bash:…
0
votes
0 answers

Is there any way to open multiple files with subprocess in one process?

I am a Python novice, I cannot find an answer. My test code is: import subprocess import time # subprocess.Popen(["C:\SAOImageDS9\ds9.exe", "./test1.fits"]) time.sleep(5.0) subprocess.Popen(["C:\SAOImageDS9\ds9.exe", "./test2.fits"]) If the case of…
0
votes
0 answers

pyds9: DS9 GUI Freezes After Displaying Two Large Images

I've been given a short Python 2.7 script that watches for new FITS files dropping into a directory, using XPA to command an instance of DS9 8.0.1 (Fedora 30, xpa-devel.x86_64 2.1.18-7.f30) to display them w/in frames two at a time. The original…
cmholm
  • 101
  • 2
0
votes
1 answer

Draw circles in ds9 on top of an image

I have an astronomical image of the entire night sky (the galactic plane in gamma rays) opened on ds9 in galactic coordinates. I would like to have ds9 draw circles over a list of coordinates that I provide, and draw these circles on top of the…
0
votes
0 answers

How to put text labels relative to axes in DS9?

I'm using pyds9 as a wrapper to DS9 and I want to put text labels on my images with positions relative to the axes and not the coordinates. This way, the labels won't get messed up no matter what zoom I apply to the image. Currently I am only able…
Olivaw
  • 1
  • 2
-1
votes
1 answer

How can I lay a circular region on my image in ds9?

I'm working in ds9 and I need to make a circular region on my image. Everything I can find says I should be able to just left click with my mouse on the region I want the circle to be and a green circle will appear that I can then adjust. When I…