The present invention pertains to a method and apparatus for cerebral oximetry. A modulated optical signal based on a digital code sequence is transmitted to the human brain. A temporal transfer characteristic is derived from the modulated optical signal. Oxygen level in the brain is determined based on the temporal transfer characteristic.