AstroImageView.jl
provides a Graphical User Interface to AstroImages.jl
package.
AstroImageView.jl
is available for Julia 1.0 and later versions, and can be
installed with Julia built-in package
manager.
pkg> add AstroImageView.jl
After installing the package, you can start using it with
julia> using AstroImageView
To start the basic panel you can use:
julia> img = AstroImage("file.fits")
AstroImage{Int16,ColorTypes.Gray,1,Float64}[...]
julia> ui_basic(img)
This will open a GUI window like this:
Hover the mouse pointer over the displayed image to see pixel and world coordinates of the pixel under the pointer and the pixel value in real-time. Header button shows the WCS header info. of the currently displayed image.
You can also Ctrl+Scroll to Zoom In/Out image on the canvas.
Optionally if your AstroImage
contains more than one images, you can display the particular index using:
julia> ui_basic(img, index)
To start the advanced panel you can use:
julia> img = AstroImage("file.fits")
AstroImage{Int16,ColorTypes.Gray,1,Float64}[...]
julia> ui_advanced(img)
This will open a GUI window like this if your AstroImage
contains a single image:
If it contains multiple images:
Apart from all functionalities of the basic panel:
-
It shows the index range of your current
AstroImage
. You can enter a valid index to display another image present in yourAstroImage
. -
Changing the index shows the header of that particular image.
-
You can directly add interesting labels for pixel coordinates. All added labels in the current session can be viewed by
Show Labels
button. -
Save
button adds your marked labels to yourAstroImage
. -
Reset
clears all labels and resets state ofAstroImage
.
More functionalities to the advanced panel are under development as will be available in further releases.
The AstroImageView.jl
package is licensed under the MIT "Expat" License. The original author is Rohit Kumar.