arte/photometry/mag_estimator.py
def photons_per_second(self):
        '''Photons/sec detected by sensor'''
        ph_subap_frame = self.photons_per_subap_per_frame()

        freq = self._detector_freq.to('1/s')
        nsubaps = self._detector_nsubaps
        transmission = self._wfs_transmission

        return ph_subap_frame * freq * nsubaps / transmission
Photons/sec detected by sensor
Photons/sec detected by sensor
Photons / sec detected by sensor
def photons_per_second(self):
        ph_subap_frame = self.photons_per_subap_per_frame()
        freq = self._detector_freq.to('1/s')
        nsubaps = self._detector_nsubaps
        transmission = self._wfs_transmission
        return ph_subap_frame * freq * nsubaps / transmission
def photons_per_second ( self ) : ph_subap_frame = self . photons_per_subap_per_frame ( ) freq = self . _detector_freq . to ( '1/s' ) nsubaps = self . _detector_nsubaps transmission = self . _wfs_transmission return ph_subap_frame * freq * nsubaps / transmission
Photons/sec detected by sensor
Photons / sec detected by sensor
'''Photons/sec detected by sensor'''
self