#NEWLINE# def add_data( self , data , **kwargs ) : #NEWLINE# #INDENT# assert isinstance ( data , np . ndarray ) #NEWLINE# self . states_list . append ( ParticleSBMultinomialLDSStates ( model = self , data = kwargs , ** kwargs ) ) #NEWLINE# return self