DataForWater / IWaVE

Image Wave Velocimetry Estimation
MIT License
0 stars 0 forks source link

iteration function for fourier averaging #15

Closed hcwinsemius closed 4 months ago

hcwinsemius commented 6 months ago

Allow for longer videos to be sampled, with several slices in time.

Possible function signature:

def sliding_window_spectrum(
    imgs,
    win_t=100,
    overlap=50,
    **kwargs
):
    # computation of spectra as many times as fits in the amount of frames and overlaps, using `spectral.spectral_imgs`.
    **kwargs are passed to the `spectral_imgs` function