This code will read a specific column from a fits file table and then output a histogram of the data. It automatically calculates the bin size which should be optimal for the data itself with
h = 2 IQR/N-1/3
where IQR is the interquartile range, and N is the number of data values.
This code leverages
- CCfits
- cfitsio
Additionally, compilation has only been tested with the GNU Compiler Collection's g++.