def sec2hmsc(secs):
    """ convert seconds to (hours, minutes, seconds, cseconds)
        secs:float -> (int, int, int, int) """
    hours, rem = divmod(secs, 3600)                    # extract hours
    minutes, rem = divmod(rem, 60)                     # extract minutes
    seconds, cseconds = divmod(rem*100, 100)           # extract seconds, cseconds 
    return (int(hours), int(minutes), int(seconds), int(cseconds))