read_size_field#
- FileIO.read_size_field(file_name, params)#
Read a PyPrimeMesh size field (PSF and PSF.GZ) file from disk.
- Parameters:
- file_name
str
Path to the size field file on disk.
- params
ReadSizeFieldParams
Parameters for reading size field file.
- file_name
- Returns:
SizeFieldFileReadResults
Results from reading the size field file.
- Return type:
Notes
This method does not support Unicode paths.
Examples
>>> file_io = prime.FileIO(model=model) >>> params = prime.ReadSizeFieldParams(model=model) >>> results = file_io.read_size_field("/tmp/my_prime_sizefield.psf", params)