Closed vsnever closed 11 months ago
Since integrators are now added to Cherab, when calculating the bremsstrahlung spectrum, the half-sum of the values at the lower and upper ends of the spectral bin can be replaced by integration.
https://github.com/cherab/core/blob/365c211acc1a3bfc45b273ab52d03f593b1fc4e2/cherab/core/model/plasma/bremsstrahlung.pyx#L110-L122
Implemented in #402.
Since integrators are now added to Cherab, when calculating the bremsstrahlung spectrum, the half-sum of the values at the lower and upper ends of the spectral bin can be replaced by integration.
https://github.com/cherab/core/blob/365c211acc1a3bfc45b273ab52d03f593b1fc4e2/cherab/core/model/plasma/bremsstrahlung.pyx#L110-L122