Simulates the burial, compaction and thermal history of a sedimentary basin in one dimension, for geologists and stratigraphers. A basin is described by one row per stratigraphic unit and one row per erosion event, from which deposition phases, hiatuses, layer stacks, maximum-burial windows and grain (solid) thicknesses are derived. Compaction follows an exponential porosity-depth law and is irreversible, so uplifted layers keep the porosity acquired at their deepest burial. Temperatures follow the steady-state conductive geotherm of a layered column with radiogenic heat production. The methods follow the textbook treatment of Allen and Allen (2013, ISBN:978-0-470-67377-5). Functions are included to draw a composite figure of burial, temperature and hydrocarbon generation windows and a petroleum system event chart.