create_movie¶
-
create_movie(event_file, movie_name, folder_path, t_window, t_step, method='sliding_window')[source]¶ create a movie from an event fits file
to create the movie, the event file is read and cut in 10 images of (time_event / 50) integration time.
the movie is save in a mp4 format.
Note
event file is EclairsCalEvtData object style.
Parameters: - event_file (string (PATH)) – path to the event file
- movie_name (string) – name of the movie file (without extension)
- folder_path (string (PATH)) – path of the directory where to save the movie
- t_window (float) – integration time to build images in s
- t_step (float) – step between two beginning time of windows in s
- method (string) – construction method: ‘sliding_window’ or ‘cumulative’. Default=’sliding_window’