Skip to content

Commit

Permalink
testing to get rho shape to work
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed May 2, 2024
1 parent 2d82183 commit 8d8a1f9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/run_og_zaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,14 @@ def main():
)
)
# Update parameters from calibrate.py Calibration class
c = Calibration(p)
c = Calibration(p, estimate_pop=True)
updated_params = c.get_dict()
print(type(updated_params["rho"]))
print(len(updated_params["rho"]))
print(len(updated_params["rho"][0]))
print(len(updated_params["rho"][0][0]))
# update rho in updated_params
updated_params["rho"] = updated_params["rho"][0]
p.update_specifications(updated_params)
updated_params_tax = {
"etr_params": (np.ones((1, p.S, 1)) * 0.35).tolist(),
Expand Down

0 comments on commit 8d8a1f9

Please sign in to comment.