Jul09
Keywords: class-average

Next: Test suites Up: Bug fixes Previous: Dec08 Contents

### `Jul09`

The `ACCUMULATE` and `AVERAGE` commands perform many implicit features, and perform silently non-trivial computations. When writing the current document, the exhaustive check of all the combinations led to detect two remaining bugs in the internal resampling loop.

These first configurations were incorrect:

- `ALIGN VELO|FREQ COMPOSITE|INTERSECT`, `WEIGHT EQUAL`, any `BAD`, on spectra with different resolutions

In this case a spectrum with a better resolution was overweighted during the resampling process by a factor . This is not what user expects with an `EQUAL` weighting.

These other configurations were also incorrect:

- `ALIGN CHAN|VELO|FREQ COMPOSITE`, any `WEIGHT`, `BAD OR`

With this bug, no data available in one spectrum could be synonymous of bad data in this spectrum. As a consequence a piece of the output spectrum was wrongly flagged as bad with the `BAD OR` contamination rule. This behaviour was different from the other modes where no data available in one spectrum implies to use data available in the other spectra.

These two bugs were fixed in the `jul09` release of CLASS90.