code: def get_joint_likelihood_seq(A, obs, num_states):
      ll_seq = utils.obj_array(len(obs))
      for t, obs_t in enumerate(obs):
          ll_seq[t] = get_joint_likelihood(A, obs_t, num_states)
      return ll_seq
  
imports: import numpy
  from scipy import special
  from pymdp import utils
  from itertools import chain
label_desc: Use image node_id 7 for calling a global function with example usage: get_joint_likelihood_seq(A, obs, num_states) and returns: ll_seq