Software for selecting earthquake ground motions to match a target conditional spectrum

This web page provides supporting software for the following manuscript:

Baker, J. W., and Lee, C. (2018). β€œAn Improved Algorithm for Selecting Ground Motions to Match a Conditional Spectrum.” Journal of Earthquake Engineering, 22(4), 708–723.


Associated software is available at this GitHub site


Archive: downloads relating to the the 2011 version of this publication are available at this link



This work was supported by the State of California through the Transportation Systems Research Program of the Pacific Earthquake Engineering Research Center (PEER), and by Cooperative Agreement Number 08HQAG0115 from the United States Geological Survey. Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect those of the funding agencies.


Please use the following form to register your basic contact information. If you choose, you will receive occasional updates about new software and publications. We will not share your information with anyone. Your registration is useful to us in evaluating the effectiveness of the offerings on this web page.

Go to the registration form


You are welcome to download and use any of these materials, as long as you acknowledge this website and publication as the source of the data. The Matlab scripts are free software; you can redistribute them and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.