Model input/output
Mineos files
SeisModels contains the ability to read and write Mineos files in tabular format. These by definition are LinearLayeredModel
s.
Use the commands read_mineos
and write_mineos
to respectively load and save LinearLayeredModel
s in this format.
PREMPolyModel
s can be converted easily to LinearLayeredModel
s: see the section on conversion for details.
ttimes
-compatible .tvel
files
You can also read and write '.tvel'-format files, as used by the IASPEI ttimes
program, using read_tvel
and write_tvel
.
'.tvel' files are also LinearLayeredModel
s by definition—again, other model types must be converted to this form before writing.