def get_rps_list(self):
seconds = range(<NUM_LIT:0>, int(self.duration) + <NUM_LIT:1>)<EOL>rps_groups = groupby([proper_round(self.rps_at(t)) for t in seconds],<EOL>lambda x: x)<EOL>rps_list = [(rps, len(list(rpl))) for rps, rpl in rps_groups]<EOL>return rps_list<EOL>
get list of each second's rps
:returns: list of tuples (rps, duration of corresponding rps in seconds)
:rtype: list