neuralib.widefield.preproc.rotate_sequence
- neuralib.widefield.preproc.rotate_sequence(sequence, rotate, overwrite=True)[source]
Rotate image sequences
- Parameters:
sequence (str | Path | ndarray) – image sequence (Array[float, [F, H, W]]) or numpy filepath
rotate (float) – rotate degree
overwrite (bool) – overwrite if file provide
- Returns:
rotated sequence as numpy array