Model input/output
Mineos files
SeisModels contains the ability to read and write Mineos files in tabular format. These by definition are LinearLayeredModels.
Use the commands read_mineos and write_mineos to respectively load and save LinearLayeredModels in this format.
PREMPolyModels can be converted easily to LinearLayeredModels: 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 LinearLayeredModels by definition—again, other model types must be converted to this form before writing.