Researchers have developed a light-based technique for measuring very weak magnetic fields, such as those produced when neurons fire in the brain. The inexpensive and compact sensors could offer an alternative to the magnetic resonance imaging (MRI) systems currently used to map brain activity without the expensive cooling or electromagnetic shielding required by MRI machines.