pencil.visu.animate_slices
Functions
|
read 2D slice files and assemble an animation. |
Module Contents
- pencil.visu.animate_slices.animate_slices(field='uu1', datadir='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)
read 2D slice files and assemble an animation.
Options:
field — which variable to slice datadir — path to data directory 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