code: def sample_observed_state(self, s: pd.Series) -> Dict:
          
  
          return {
              n[0]: {
                  i.name: np.random.normal(s[n[0]] * i.mean, i.stdev)
                  for i in n[1]["indicators"].values()
              }
              for n in self.nodes(data=True)
          }
docs: Sample observed state vector. This is the implementation of the
          emission function.
  
          Args:
              s: Latent state vector.
  
          Returns:
              Observed state vector.