def sec2sec_ms(sec):
    """Converts float seconds into seconds and microseconds

    Parameters
    ----------
    sec : float

    Returns
    -------
    seconds : int
    microsec : int
    """
    microsec = (sec - int(sec)) * 1e+6
    microsec = float("%.1f" % microsec)

    return int(sec), int(microsec)