Chapter 5: complex observation functions in threshold detection