Phasors API#
- napari_flim_phasor_plotter.phasors.get_phasor_components(flim_data, harmonic=1)
“””Calculate phasor components G and S from the Fourier transform.
Parameters#
- flim_datanp.ndarray or da.Array
FLIM data with dimensions (ut, time, z, y, x). microtime must be the first dimention. time and z are optional.
- harmonicint, optional
Harmonic to calculate, by default 1
Returns#
- Tuple[np.ndarray, np.ndarray, np.ndarray]
G, S, and DC components.
- napari_flim_phasor_plotter.phasors.jit_fft(a, axis=-1)#
Numba fft version with rocket-fft
- napari_flim_phasor_plotter.phasors.fft_slice_4d(arr, slice_num)#
Slice of FFT over first axis of a numpy array
- napari_flim_phasor_plotter.phasors.fft_slice_4d_dask(arr, slice_num)#
Slice of FFT over first axis of a dask array