Lv3_detection_level.py
def max_acc(zmax,T,f0):
    """
    To obtain the maximum acceleration 'detectable' by PRESTO.

    zmax - (expected) maximum number of Fourier bins that the pulsar frequency
    f0 drifts
    T - observation duration (s)
    f0 - pulsar's frequency (Hz)
    """
    c = 299792458 #speed of light in m/s

    return zmax*c/(T**2*f0)

    To obtain the maximum acceleration 'detectable' by PRESTO.

    zmax - (expected) maximum number of Fourier bins that the pulsar frequency
    f0 drifts
    T - observation duration (s)
    f0 - pulsar's frequency (Hz)
    
To obtain the maximum acceleration 'detectable' by PRESTO.
zmax - (expected) maximum number of Fourier bins that the pulsar frequency
f0 drifts
T - observation duration (s)
f0 - pulsar's frequency (Hz)
To obtain the maximum acceleration ' detectable ' by PRESTO . zmax - ( expected ) maximum number of Fourier bins that the pulsar frequency f0 drifts T - observation duration ( s ) f0 - pulsar ' s frequency ( Hz )
def max_acc(zmax,T,f0):
    c = 299792458 
    return zmax*c/(T**2*f0)
def max_acc ( zmax , T , f0 ) : c = 299792458 return zmax * c / ( T ** 2 * f0 )
To obtain the maximum acceleration 'detectable' by PRESTO.
To obtain the maximum acceleration ' detectable ' by PRESTO .
"""
    To obtain the maximum acceleration 'detectable' by PRESTO.

    zmax - (expected) maximum number of Fourier bins that the pulsar frequency
    f0 drifts
    T - observation duration (s)
    f0 - pulsar's frequency (Hz)
    """ #speed of light in m/s
zmax
T
f0