Submodule: filters¶
Gaussian_blur¶
-
class
flika.process.filters.
Gaussian_blur
¶ gaussian_blur(sigma, norm_edges=False, keepSourceWindow=False)
This applies a spatial gaussian_blur to every frame of your stack.
Parameters: Returns: flika.window.Window
Difference_of_Gaussians¶
-
class
flika.process.filters.
Difference_of_Gaussians
¶ gaussian_blur(sigma1, sigma2, keepSourceWindow=False)
This subtracts one gaussian blurred image from another to spatially bandpass filter.
Parameters: Returns: flika.window.Window
Butterworth_filter¶
-
class
flika.process.filters.
Butterworth_filter
¶ butterworth_filter(filter_order, low, high, framerate, keepSourceWindow=False)
This filters a stack in time.
Parameters: - filter_order (int) – The order of the butterworth filter (higher order -> steeper cutoff).
- low (float) – The low frequency cutoff. Must be between 0 and 1 and must be below high.
- high (float) – The high frequency cutoff. Must be between 0 and 1 and must be above low.
- framerate (float) – The framerate in Hz. If set to zero, a framerate of 2 Hz will be used, so as to set the Nyquist frequency to 1. Default is 0.
Returns: newWindow
Mean_filter¶
Variance_filter¶
Median_filter¶
Fourier_filter¶
-
class
flika.process.filters.
Fourier_filter
¶ fourier_filter(frame_rate, low, high, loglogPreview, keepSourceWindow=False)
I’m going to eventually plot the trace in the frequency domain inside this box so you can see where the power is.
Parameters:
Difference_filter¶
-
class
flika.process.filters.
Difference_filter
¶ difference_filter(keepSourceWindow=False)
Subtracts each frame from the preceeding frame
Returns: newWindow
Boxcar_differential_filter¶
-
class
flika.process.filters.
Boxcar_differential_filter
¶ boxcar_differential_filter(minNframes, maxNframes, keepSourceWindow=False)
Applies a Boxcar differential filter by comparing each frameat index I to the frames in range [I+minNframes, I+maxNframes]
Parameters: Returns: newWindow