pencil.visu.animate_multislices

Functions

animate_multislices([field, datadir, proc, extension, ...])

read a list of 2D slice files, combine them, and assemble an animation.

Module Contents

pencil.visu.animate_multislices.animate_multislices(field=['uu1'], datadir='data/', proc=-1, extension='xz', format='native', tmin=0.0, tmax=1e+38, amin=0.0, amax=1.0, transform='plane[0]', oldfile=False, outfile='')

read a list of 2D slice files, combine them, and assemble an animation.

Options:

field — list of variables 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 combine the slices outfile — if set, write the slice values in the text file