time-to-duty

xod/core/time-to-duty

Converts two absolute time values representing on and off time to a total duration and duty cycle values
time-to-duty
@/time-to-duty
Converts two absolute time values representing on and off time to a total duration and duty cycle values
Tonnumber
Toffnumber
time-to-duty
TTDUTYDUTYTonTonToffToff
DUTYnumber
Duty cycle of ON time in range [0, 1]
Tnumber