<s> """<STR_LIT>""" <EOL> import numpy as np <EOL> from vispy import app , scene , io <EOL> vol1 = np . load ( io . load_data_file ( '<STR_LIT>' ) ) [ '<STR_LIT>' ] <EOL> canvas = scene . SceneCanvas ( keys = '<STR_LIT>' ) <EOL> canvas . size = <NUM_LIT> , <NUM_LIT> <EOL> canvas . show ( ) <EOL> canvas . measure_fps ( ) <EOL> vb1 = scene . widgets . ViewBox ( border_color = '<STR_LIT>' , parent = canvas . scene ) <EOL> vb2 = scene . widgets . ViewBox ( border_color = '<STR_LIT>' , parent = canvas . scene ) <EOL> vb1 . clip_method = '<STR_LIT>' <EOL> vb2 . clip_method = '<STR_LIT>' <EOL> scenes = vb1 . scene , vb2 . scene <EOL> grid = canvas . central_widget . add_grid ( ) <EOL> grid . padding = <NUM_LIT:6> <EOL> grid . add_widget ( vb1 , <NUM_LIT:0> , <NUM_LIT:0> ) <EOL> grid . add_widget ( vb2 , <NUM_LIT:0> , <NUM_LIT:1> ) <EOL> volume1 = scene . visuals . Volume ( vol1 , parent = scenes , threshold = <NUM_LIT:0.5> ) <EOL> cam1 = scene . cameras . TurntableCamera ( parent = scenes , fov = <NUM_LIT> ) <EOL> cam2 = scene . cameras . PerspectiveCamera ( parent = cam1 , fov = <NUM_LIT> ) <EOL> cam2 . transform . translate ( ( + <NUM_LIT:10> , <NUM_LIT:0> , <NUM_LIT:0> ) ) <EOL> vb1 . camera = cam1 <EOL> vb2 . camera = cam2 <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> app . run ( ) </s>
