lime/optics.py
def detect(self):
        """
        two-photon detection amplitude in a temporal grid defined by
        the spectral grid.

        Returns
        -------
        t1: 1d array
        t2: 1d array
        d: detection amplitude in the temporal grid (t1, t2)

        """

        if self.jsa is None:
            raise ValueError('Please call get_jsa() to compute the jsa first.')

        bw = self.pump_bandwidth
        omega_s = self.signal_center_frequency
        omega_i = self.idler_center_frequency
        p = self.p
        q = self.q
        dp = p[1] - p[0]
        dq = q[1] - q[0]
        return _detection_amplitude(self.jsa, omega_s, omega_i, dp, dq)

        two-photon detection amplitude in a temporal grid defined by
        the spectral grid.

        Returns
        -------
        t1: 1d array
        t2: 1d array
        d: detection amplitude in the temporal grid (t1, t2)

        
two-photon detection amplitude in a temporal grid defined by
the spectral grid.

Returns

1d array
t2: 1d array
d: detection amplitude in the temporal grid (t1, t2)
two - photon detection amplitude in a temporal grid defined by the spectral grid . Returns 1d array t2 : 1d array d : detection amplitude in the temporal grid ( t1 t2 )
def detect(self):
        if self.jsa is None:
            raise ValueError('Please call get_jsa() to compute the jsa first.')
        bw = self.pump_bandwidth
        omega_s = self.signal_center_frequency
        omega_i = self.idler_center_frequency
        p = self.p
        q = self.q
        dp = p[1] - p[0]
        dq = q[1] - q[0]
        return _detection_amplitude(self.jsa, omega_s, omega_i, dp, dq)
def detect ( self ) : if self . jsa is None : raise ValueError ( 'Please call get_jsa() to compute the jsa first.' ) bw = self . pump_bandwidth omega_s = self . signal_center_frequency omega_i = self . idler_center_frequency p = self . p q = self . q dp = p [ 1 ] - p [ 0 ] dq = q [ 1 ] - q [ 0 ] return _detection_amplitude ( self . jsa , omega_s , omega_i , dp , dq )
two-photon detection amplitude in a temporal grid defined by
the spectral grid.
two - photon detection amplitude in a temporal grid defined by the spectral grid .
"""
        two-photon detection amplitude in a temporal grid defined by
        the spectral grid.

        Returns
        -------
        t1: 1d array
        t2: 1d array
        d: detection amplitude in the temporal grid (t1, t2)

        """
self