Ticket #11430 (reopened)

Opened 6 years ago

Last modified 5 years ago

Create an algorithm to save a series of contour plots as a video

Reported by: Dan Nixon Owned by: Dan Nixon
Priority: major Milestone: Release 3.5
Component: Indirect Inelastic Keywords:
Cc: Blocked By:
Blocking: Tester:

Description (last modified by Dan Nixon) (diff)

Given some matrix workspaces (as a WorkspaceGroup) create a contour plot for each and output them as a video file with a given delay between each frame.

There should be support for adding log values as annotations to the frames, putting several plots side by side and normalising the data to the first dataset in the group.

For now this will just be a script.

Change History

comment:1 Changed 6 years ago by Dan Nixon

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Dan Nixon

  • Status changed from assigned to inprogress

comment:3 Changed 6 years ago by Dan Nixon

  • Status changed from inprogress to assigned

comment:4 Changed 6 years ago by Dan Nixon

  • Description modified (diff)

comment:5 Changed 5 years ago by Dan Nixon

  • Status changed from assigned to verify
  • Resolution set to fixed

An initial version of the script is here: https://github.com/mantidproject/scripts/blob/master/development/inelastic/colour_plot_timelapse.py

This does everything (with the exception of side by side plots) that the script needs to.

It can be tested using the data in Babylon5/DanNixon/osiris_scan

Last edited 5 years ago by Dan Nixon (previous) (diff)

comment:6 Changed 5 years ago by Nick Draper

  • Status changed from verify to reopened
  • Resolution fixed deleted

At the moment the script runs, but does not appear to create a video (at least on windows).

This needs better documentation for setting up an environment where it will work.

For example is it linux only? Can it be run on windows if ffmepg is installed, and where does it need to be installed?

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 12269

Note: See TracTickets for help on using tickets.