Port of ShakeMap into Python