NAME
sky - determines sky level in an image file
SYNOPSIS
sky file [box=] [minval=] [maxval=] [bin=1]
DESCRIPTION
This routine computes the "sky" level under the assumption that it
is the most common pixel intensity (i.e. the mode).
The routine calculates the histogram of
the source_file in the command line determines the adu value at which the
histogram is a maximum (the mode).
No interpolation or fitting is done to
determine a maximum than the nearest integer value.
It prints out a line like.
sky=122.0
OPTIONS
bin= sets the histogram binning factor (default:1).
box= limits the region over which the calculation applies.
See discussion box specification.
minval= sets the minimum value that the sky can have.
This is handy if there are false backgrounds, like zeroes.
maxval= sets the maximum value that the sky can have.
This is handy to use if there are a lot of saturated stars
that could give a false sky reading.
XVista index