Lv3_detection_level.py
def N_trials(tbin,T):
    """
    To obtain the number of trials used in the FFT. Divided by two to get number
    of trials f >= 0!

    tbin- size of the bins in time
    T - observation duration (s) or segment length (s)
    """

    return 1/2 * T/tbin

    To obtain the number of trials used in the FFT. Divided by two to get number
    of trials f >= 0!

    tbin- size of the bins in time
    T - observation duration (s) or segment length (s)
    
To obtain the number of trials used in the FFT. Divided by two to get number
of trials f >= 0!

tbin- size of the bins in time
T - observation duration (s) or segment length (s)
To obtain the number of trials used in the FFT . Divided by two to get number of trials f > = 0! tbin - size of the bins in time T - observation duration ( s ) or segment length ( s )
def N_trials(tbin,T):
    return 1/2 * T/tbin
def N_trials ( tbin , T ) : return 1 / 2 * T / tbin
To obtain the number of trials used in the FFT.
To obtain the number of trials used in the FFT .
"""
    To obtain the number of trials used in the FFT. Divided by two to get number
    of trials f >= 0!

    tbin- size of the bins in time
    T - observation duration (s) or segment length (s)
    """
tbin
T