Calculate or set bolometer weights
1. Calculate the statistics for each bolometer then generate the weights relative to the central pixel. Should not be used when a strong source is present. The weights are calculated by using Kappa stats to calculate the standard deviation of each bolometer in turn. The weight is defined as the relative variance between this bolometer and the reference bolometer.
2. Read the weights from a text file using the -wtfile option.
Writes to the BOLWT extension. This extension is then read by rebin.
Multiple files can be referenced to the first file by specifying multiple files on the command line or by
using a rebin-style input file and the -filelist option. In conjunction with the -wtfile
option all input
files are given the same weights.
Input files must have been extinction corrected so that only one sub-instrument is present per file.
When multiple files are used bolometers are compared to the central bolometer of the first file.
If source signal is present in any bolometer at a level significantly above the noise, the automatic weighting will be skewed (in fact the bolometer with the source signal will be down-weighted relative to all the others since the standard deviation on the bolometer will be much higher.). The weights must be set via an external file in this case.