Optical topography (OT) relies on the near infrared spectroscopy (NIRS) technique to provide noninvasively a spatial map of functional brain activity. OT has advantages over conventional fMRI in terms of its simple approach to measuring the hemodynamic response, its ability to distinguish between changes in oxy- and deoxy-hemoglobin and the range of human participants that can be readily investigated. We offer a new software tool, functional optical signal analysis (fOSA), for analyzing the spatially resolved optical signals that provides statistical inference capabilities about the distribution of brain activity in space and time and by experimental condition. It does this by mapping the signal into a standard functional neuroimaging analysis software, statistical parametric mapping (SPM), and forms, in effect, a new SPM toolbox specifically designed for NIRS in an OT configuration. The validity of the program has been tested using synthetic data, and its applicability is demonstrated with experimental data.