Performing high-resolution determination of the relative shift of the
spectral properties of a biosensor. The shift in the resonance peak of
the biosensor is indicative of the amount of material bound to the
surface of the biosensor. A preferred biosensor is a Guided Mode Resonant
Filter Biosensor (GMRFB). In one aspect of the invention, curve fitting
is used to determine the relative location of the spectrum of the
unexposed biosensor with respect to those spectra that are altered (e.g.,
shifted) by the presence of materials bound to the surface of the
biosensor. In an alternative embodiment, the cross correlation function
is used to detect spectral peak offsets between a reference spectrum and
a spectrum measured from an exposed biosensor. In yet another
alternative, maximal likelihood estimation techniques are used to
determine the spectral shift or offs.