Add code for detector flux.