two_transmittances function

Compute two transmittances for ratio, fraction or normalised difference