The Boolean output y is a trigger signal where the output y is only true at sample times (defined by parameter period) and is otherwise false.