get_sacdata_mlab

pysac.analysis.tube3D.process_utils.get_sacdata_mlab(f, cube_slice, flux=True)[source] [edit on github]

Reads in useful variables from a hdf5 file to vtk data structures

Parameters:

f : hdf5 file handle

SAC HDF5 file

flux : boolean

Read variables for flux calculation?

cube_slice : np.slice

Slice to apply to the arrays

Returns:

bfield, vfield[, density, valf, cs, beta]