nectarchain.trr_test_suite.utils.photons2ADC#

photons2ADC(n)[source]#

converts a number of photons into ADC counts

Args: n (float): The input value in photon number.

Returns:

float: The input value converted to a charge in ADC counts.