damaris.data.Error_Result

class damaris.data.Error_Result(error_msg=None, desc={}, job_id=None, job_date=None)[source]

Specialised class of Resultable Contains error-messages from the core

__init__(error_msg=None, desc={}, job_id=None, job_date=None)[source]

Methods

__init__([error_msg, desc, job_id, job_date])

get_description(key)

Returns the description value for a given key

get_description_dictionary()

Returns a reference to the description (Dictionary)

get_error_message()

get_job_date()

Gets the date of this result

get_job_id()

Returns the job-id of this result

get_legend()

Returns the legend of the plot (Dictionary)

get_number_of_channels()

Returns the number of channels in y

get_style()

Returns a reference to plot-styles (dictionary)

get_text(index)

Returns labels to be plotted (List)

get_title()

Returns the title of the plot

get_xdata()

Returns a reference to the x-Plotdata (array)

get_xlabel()

Returns the label for the x-axis

get_xmax()

Returns maximum of x

get_xmin()

Returns minimun of x

get_xminpos()

Returns smallest positive value of x

get_ydata([channel])

Returns the y-Plotdata of channel n (array)

get_ylabel()

Gets the label for the y-axis

get_ymax()

Returns maximimum of y

get_ymin()

Returns minimum of y

get_yminpos()

Returns smallest positive value of y

set_description(key, value)

Adds a attribute to the description

set_description_dictionary(dictionary)

Sets the entire description

set_error_message(error_msg)

set_job_date(date)

Sets the date of this result

set_job_id(_id)

Sets the job-id of this result

set_legend(channel, value)

Sets the legend of the plot

set_style(channel, value)

Sets a channel to a certain plot-style

set_text(index, text)

Sets labels to be plotted

set_title(title)

Sets the title of the plot

set_xdata(pos, value)

Sets a point in x

set_xlabel(label)

Sets the label for the x-axis

set_xmax(xmax)

Sets maximum of x

set_xmin(xmin)

Sets minimum of x

set_ydata(channel, pos, value)

Sets a point in y

set_ylabel(label)

Sets the label for the y-axis

set_ymax(ymax)

Sets maximum of y

set_ymin(ymin)

Sets minimum of y

uses_statistics()