photonmap.Energy.CalculateEnergy ================================ .. py:module:: photonmap.Energy.CalculateEnergy Functions --------- .. autoapisummary:: photonmap.Energy.CalculateEnergy.write_captor_energy photonmap.Energy.CalculateEnergy.captor_add_energy Module Contents --------------- .. py:function:: write_captor_energy(N_sim, N_calibration, captor_list, bands_spectre, filename) Write the received energy of all the captors to a file. Parameters ---------- N_sim : dict Number of received photons on each captor N_calibration : dict The energies after the calibration on each captor captor_list : array The list of captors bands_spectre: dict The divided spectral range used to run the simulation. filename: str The name of output file Returns ------- A file with all the received energy of captors saved in folder ./results .. py:function:: captor_add_energy(captor_dict, integrator, energy) Compute the energy on each captor in the scene. Parameters ---------- captor_dict : dict The dictionary of captor integrator: libphotonmap_core.PhotonMapping The object which handles all the simulation of photon mapping energy: dict The dictionary of captor's energy