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
T
DUTY
Ton
Toff
DUTYnumber
Duty cycle of ON time in range [0, 1]
Tnumber