def weld_standard_deviation(array, weld_type):
    """Returns the *sample* standard deviation of the array.

    Parameters
    ----------
    array : numpy.ndarray or WeldObject
        Input array.
    weld_type : WeldType
        Type of each element in the input array.

    Returns
    -------
    WeldObject
        Representation of this computation.

    """
    weld_obj_var = weld_variance(array, weld_type)

    obj_id, weld_obj = create_weld_object(weld_obj_var)
    weld_obj_var_id = get_weld_obj_id(weld_obj, weld_obj_var)

    weld_template = _weld_std_code

    weld_obj.weld_code = weld_template.format(var=weld_obj_var_id)

    return weld_obj
Returns the *sample* standard deviation of the array.

    Parameters
    ----------
    array : numpy.ndarray or WeldObject
        Input array.
    weld_type : WeldType
        Type of each element in the input array.

    Returns
    -------
    WeldObject
        Representation of this computation.