pencil.visu.animate_slices_compareruns ====================================== .. py:module:: pencil.visu.animate_slices_compareruns Functions --------- .. autoapisummary:: pencil.visu.animate_slices_compareruns.animate_slices_compareruns Module Contents --------------- .. py:function:: animate_slices_compareruns(field='uu1', datadir1='data/', datadir2='data/', proc=-1, extension='xz', format='native', tmin=0.0, tmax=1e+38, wait=0.0, amin=0.0, amax=1.0, transform='', oldfile=False, makemovie=False) read 2D slice files from two different runs note that the runs must have same precision and sizes Options: field --- which variable to slice datadir1 --- path to data directory of first simulation datadir2 --- path to data directory of second imulation proc --- an integer giving the processor to read a slice from extension --- which plane of xy,xz,yz,Xz. for 2D this should be overwritten. format --- endian. one of little, big, or native (default) tmin --- start time tmax --- end time amin --- minimum value for image scaling amax --- maximum value for image scaling transform --- insert arbitrary numerical code to modify the slice wait --- pause in seconds between animation slices makemovie --- assemble an animation if makemovie option is set