compartmentIndex [int]:
The compartment to observe. Index 0 and the last index denote half-compartments which should not be observed.