scripts/FilterBank.py
def G2_envelope(x, y, amp, sdev):
    '''
    Gaussian envelope for a 2-D Gabor filter.
    We assume that it is circular (same decrease in x/y directions).
    '''
    out = amp * np.exp(-(x**2+y**2)/(sdev**2))
    return out

    Gaussian envelope for a 2-D Gabor filter.
    We assume that it is circular (same decrease in x/y directions).
    
Gaussian envelope for a 2-D Gabor filter.
We assume that it is circular (same decrease in x/y directions).
Gaussian envelope for a 2 - D Gabor filter . We assume that it is circular ( same decrease in x / y directions ) .
def G2_envelope(x, y, amp, sdev):
    out = amp * np.exp(-(x**2+y**2)/(sdev**2))
    return out
def G2_envelope ( x , y , amp , sdev ) : out = amp * np . exp ( - ( x ** 2 + y ** 2 ) / ( sdev ** 2 ) ) return out
Gaussian envelope for a 2-D Gabor filter.
Gaussian envelope for a 2 - D Gabor filter .
'''
    Gaussian envelope for a 2-D Gabor filter.
    We assume that it is circular (same decrease in x/y directions).
    '''
x
y
amp
sdev