Data and code for preparation of the manuscript for Ch1 of Dissertation and Paper 1