def get_origin(array, plot_origin):
if plot_origin:<EOL><INDENT>return array.origin<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Get the (y,x) origin of the ccd data if it going to be plotted.

    Parameters
    -----------
    array : data.array.scaled_array.ScaledArray
        The array from which the origin is extracted.
    plot_origin : True
        If true, the origin of the data's coordinate system is returned.