scalar_t noisy_score(scalar_t true_score, scalar_t erroneous_score,
scalar_t score_noise, scalar_t flip_noise) {
if(drand48() < flip_noise) {
scalar_t noisy_score(scalar_t true_score, scalar_t erroneous_score,
scalar_t score_noise, scalar_t flip_noise) {
if(drand48() < flip_noise) {
// Then, we specify for every location and time step what is the
// detection score there.
// Then, we specify for every location and time step what is the
// detection score there.