Animator Contour
See the source code: FITS | CASA | HDF5
Measures animation playback performance with contour overlays, testing both forward and
backward channel animation. The elapsed time is measured between the START_ANIMATION
request and the STOP_ANIMATION request while playing the animation forwardly.
Frontend sends: OPEN_FILE (
OpenFile)directory = "set_QA_performance" file = "cube_B_06400_z00100.<fits|image|hdf5>" file_id = 0
Frontend loads initial tiles and sets contour parameters
levels = [-0.01, 0.01] smoothing_mode = GaussianBlur smoothing_factor = 4 decimation_factor = 4
Case 1: Forward animation (channels 1 to 30)
Frontend sends: START_ANIMATION (
StartAnimation)start_frame = {channel: 1, stokes: 0} first_frame = {channel: 0, stokes: 0} last_frame = {channel: 44, stokes: 0} delta_frame = {channel: 1, stokes: 0} frame_rate = 5Animation plays with ANIMATION_FLOW_CONTROL per frame, stops at channel 30
Check 1: within the playAnimator timeout (300,000 ms):
START_ANIMATION_ACK.success = True
RASTER_TILE_DATA channels are in ascending order
CONTOUR_IMAGE_DATA channels are in ascending order (2 levels per channel)
REGION_HISTOGRAM_DATA channels are in ascending order
Case 2: Backward animation (channels 40 to 31)
Frontend sends: START_ANIMATION with delta_frame = {channel: -1}
Check 2: within the playAnimator timeout (300,000 ms):
RASTER_TILE_DATA channels are in descending order
CONTOUR_IMAGE_DATA channels are in descending order
REGION_HISTOGRAM_DATA channels are in descending order