PascalLesage / presamples

Package to write, load, manage and verify numerical arrays, called presamples.
BSD 3-Clause "New" or "Revised" License
14 stars 11 forks source link

Command sequence for parameterized model is suboptimal #37

Open cmutel opened 6 years ago

cmutel commented 6 years ago

Need exactly this:

model = ParameterizedBrightwayModel("teddy_bears")
model.load_parameter_data()
model.calculate_stochastic(iterations=1000, update_amounts=True)
model.calculate_matrix_presamples()
_, filepath = model.save_presample("fidget")

There are some non-default options and other weirdness here. Need to document and make more sensible.