surfer.io.read_scalar_data

surfer.io.read_scalar_data(filepath)[source]

Load in scalar data from an image.

Parameters
filepathstr

path to scalar data file

Returns
scalar_datanumpy array

flat numpy array of scalar data

Examples using surfer.io.read_scalar_data