Hello, I have some questions about this script. I using the np.abs(spectrum) ** 2*df (the energy of spectrum) to calculator the number of photon beam to abtain the brightness of photon beam. and I so sorry to ask you this question, my scripts is attached here. I am anxious that this issue can be resolved. thank you very much.
brightness script1.zip