Chi2fit.Utilities.read_data
You're seeing just the function
read_data
, go back to Chi2fit.Utilities module for more information.
Specs
read_data(filename :: String.t()) :: Enumerable.t()
Reads data from a file specified by filename
and returns a stream with the data parsed as floats.
It expects a single data point on a separate line and removes entries that:
- are not floats, and
- smaller than zero (0)