Loader

:mod:` sans.fit.Loader`

class sans.fit.Loader.Load

This class is loading values from given file or value giving by the user

__init__()
__module__ = 'sans.fit.Loader'
get_filename()

return the file’s path

get_values()

Return x, y, dx, dy

load_data()

Return plottable

set_filename()

Store path into a variable.If the user doesn’t give a path as a parameter a pop-up window appears to select the file.

Parameters:path – the path given by the user
set_values()

Store the values loaded from file in local variables

Table Of Contents

Previous topic

Fitting

Next topic

ParkFitting

This Page