Closed
Description
openedon Apr 5, 2019
optical FITS, NAXIS = 2, dimensions 24900 x 26620, 2.5GB FITS file, the following code runs out of memory:
using AstroImages
#] pkg> add https://github.com/JuliaAstro/AstroImages.jl
using FITSIO
using Plots
dir = "/home/chris/ダウンロード"
file = "e20121211_0010500001_dp_sf_st_mos.fits"
fitspath = string(dir, "/", file)
println("loading ", fitspath)
fits = load(fitspath)
img = AstroImage(fits)
plot(img)
The FITS file can be downloaded from
Then the file extension needs to be changed from .fit to .fits .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment