Computes the probability of observations given the birds count from trajectories : P(O | Pi_[0:T])
get_observation_probability_C(obs, hidden_count, use_log)
Observations. Matrix of I+2 rows and T+1 columns with observed bird counts. I is the numbers of sites, to which one adds the virtual sites 'death' and 'flight' and T is the horizon of the migration. structure.
Hidden counts. Matrix of I+2 rows and T+1 columns with simulated bird counts. As computed by function get_count.
Boolean that states if the log probability should be returned.
the probability (or log-probability) of the observed data given simulated counts.