aolabNeuro / brain-python-interface

Other
4 stars 2 forks source link

what is the difference between update_rate and fps #105

Closed leoscholl closed 2 years ago

leoscholl commented 2 years ago

in BMILoop there are a few references to self.update_rate, i'm not sure where it comes from but I think it is always 60. Is this different from self.fps?

leoscholl commented 2 years ago

nevermind i found the relevant lines in fsm.py:

    @property 
    def update_rate(self):
        '''
        Attribute for update rate of task. Using @property in case any future modifications
        decide to change fps on initialization
        '''
        return 1./self.fps