ting the average of the equalized second transmission characteristic values over all wavelengths each time the transmission factors of the filter are reduced by the percentage, and using the percentage of a reduction in the transmission factors when the average is a maximum as the optimum allocation.