next up previous contents
Next: Algorithm Up: Status of the CLASS Previous: Jul09   Contents

Test suites

Consecutive to these bugs detection, it appeared that some attempts to fix bugs in the old versions of CLASS77 and CLASS90 had broken other parts of the averaging code. Again, this is because of all the different modes to take into account.

A set of procedures are now available as both demos and test suites. They are in particular aimed to checked the influence of any futur code modification:

These procedures invoke respectively the ACCUMULATE and AVERAGE commands, with Alignment, Range, Weight and Bad arguments. A star '*' will test all the possible values for the considered argument. Default is to check all the values and all the combinations.

These demos run on a set a spectra and try to combine them in different ways. The input spectra include: different intensities, blanked channels, different abscissae definitions (ranges, reference channels, resolutions), different parameters which influence the weighting. On return the demos try to do their best to compute themselves an average spectrum with can be compared to the output from ACCUMULATE or AVERAGE. In particular, they invoke the RESAMPLE command of CLASS to perform their own resampling.


next up previous contents
Next: Algorithm Up: Status of the CLASS Previous: Jul09   Contents
Gildas manager 2014-07-01