write_pmdat#

FileIO.write_pmdat(file_name, file_write_params)#

Write a PyPrimeMesh data (PMDAT) file.

Parameters:
file_namestr

Path for writing the data file on disk.

file_write_paramsFileWriteParams

Parameters for writing the data file.

Returns:
FileWriteResults

Results from writing the data file.

Return type:

FileWriteResults

Examples

>>> results = file_io.write_pmdat("/tmp/prime_mesh_data.pmdat",
                                  prime.FileWriteParams(model=model))