pypet/trajectory.py
def f_set_properties(self, **kwargs):
        """Sets properties like ``v_fast_access``.

        For example: ``traj.f_set_properties(v_fast_access=True, v_auto_load=False)``

        """
        for name in kwargs:
            val = kwargs[name]
            if not name.startswith('v_'):
                name = 'v_' + name
            if not name in self._nn_interface._not_admissible_names:
                raise AttributeError('Cannot set property `%s` does not exist.' % name)
            else:
                setattr(self, name, val)
def f_set_properties(self, **kwargs):
        for name in kwargs:
            val = kwargs[name]
            if not name.startswith('v_'):
                name = 'v_' + name
            if not name in self._nn_interface._not_admissible_names:
                raise AttributeError('Cannot set property `%s` does not exist.' % name)
            else:
                setattr(self, name, val)
def f_set_properties ( self , * * kwargs ) : for name in kwargs : val = kwargs [ name ] if not name . startswith ( 'v_' ) : name = 'v_' + name if not name in self . _nn_interface . _not_admissible_names : raise AttributeError ( 'Cannot set property `%s` does not exist.' % name ) else : setattr ( self , name , val )
Sets properties like ``v_fast_access``.

        For example: ``traj.f_set_properties(v_fast_access=True, v_auto_load=False)``
Sets properties like v_fast_access .