pygsti.objects.DataSet.done_adding_data

DataSet.done_adding_data()
Promotes a non-static DataSet to a static (read-only) DataSet. This
method should be called after all data has been added.