inthist is a perl task which does the following:
module intmakehist Read input flatfielded images and parameters Open output Post Script file Foreach (input image){ Rebin to specified binsize Estimate histogram mean and variance using sigma clipping Compute optimal histogram binsize and display range based on mean and variance Build and plot intensity histogram } Close Post Script file end module intmakehist