VACdata

class pysac.io.legacy.VACdata(filename, filetype='auto')[source] [edit on github]

Bases: object

This is a file type independant class that should expose a VACfile or VACHDF5 file so it is transparent to the end user.

Create a VACdata class.

Parameters:

filename: str

filetype: str {‘auto’ | ‘fort’ | ‘hdf5’ }

Attributes Summary

header
num_records
t_end
t_start
w
w_
w_dict
x

Methods Summary

read_timestep(i) Read in the specified time step

Attributes Documentation

header
num_records
t_end
t_start
w
w_
w_dict
x

Methods Documentation

read_timestep(i)[source] [edit on github]

Read in the specified time step

Parameters:

i: int

Time Step number