Created
January 26, 2016 21:35
-
-
Save demitri/fde9b1ee52047833c7af to your computer and use it in GitHub Desktop.
Creating a histogram of pixel values of an image from a FITS file in R.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(FITSio) | |
hdu1 = readFITS(file="myfile.fits", hdu=1) | |
image = hdu1$imDat | |
hist(image) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment