def METHOD_NAME(pars):
    import os
    import calblitz as cb
    from glob import glob
    folder_in, f_rate = pars
    fname_mov = os.path.join(os.path.split(folder_in)[
                             0], os.path.split(folder_in)[-1] + 'MOV.hdf5')
    print(fname_mov)
    files = sorted(
        glob(os.path.join(os.path.split(folder_in)[0], 'images/*.tif')))
    print(files)
    #% LOAD MOVIE HERE USE YOUR METHOD, Movie is frames x dim2 x dim2
    m = cb.load_movie_chain(files, fr=f_rate)
    m.file_name = [os.path.basename(ttt) for ttt in m.file_name]
    m.save(fname_mov)
    del m
    return fname_mov