Standard library
Common
Elements that every kind of training needs: durations, comments, RPE and the rest exec that puts time between sessions.
Importing
Documented from coach 0.8.0. Every program depends on the standard library, so all it takes is an import:
import "coach/common/elements.cl"
import "coach/common/rest.cl" Inputs and outputs
duration
|min| input and output .
Elements that have to do with the duration of an action.
duration_seconds
|s| input and output titled “duration”.
Elements that have to do with the duration of an action.
duration_hours
|h| input and output titled “duration”.
Elements that have to do with the duration of an action.
duration_days
|day| input and output titled “duration”.
Elements that have to do with the duration of an action.
hold_duration
derives from duration_seconds input and output titled “Hold duration”.
Elements that have to do with the duration of an action.
comments
string input and output , optional .
Comments
rpe
number input and output titled “RPE”.
Rate of Perceived Exertion is a number from 0 to 10, rating the perceived difficulty of executing an action.
Takes one of: 0 No effort, 1 Minimal effort, 2 Very easy, 3 Easy, 4 Comfortable, 5 Somewhat difficult, 6 Difficult, 7 Hard, 8 Very hard, 9 Extremely hard, 10 Maximal effort
.
Execs
rest(time)
An execution that instructs one to rest.
-
timea|min|measurement