Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: object representation #22

Open
albop opened this issue Jun 15, 2021 · 3 comments
Open

ENH: object representation #22

albop opened this issue Jun 15, 2021 · 3 comments

Comments

@albop
Copy link
Member

albop commented Jun 15, 2021

Displayed objects should have some information:

  • HModel:
    • ...
  • Equilibrium:
    • ...
  • PerturbedEquilibrium:
    • ...
NormannR added a commit to NormannR/dolARK that referenced this issue Jul 20, 2021
Added methods __str__, __repr__ and _repr_html_ to the HModel class
@NormannR
Copy link
Contributor

NormannR commented Jul 20, 2021

This is how the HModel output looks like

Screenshot from 2021-07-20 14-08-04

Tell me if you think which specific information should be shown for the Equilibrium and PerturbedEquilibrium objects. After looking at the associated objects, I find no natural thing to display.

@albop
Copy link
Member Author

albop commented Oct 5, 2021

it looks good to me for now. I'd say the model type should be 'hetag' as a codename for heterogenous agents, while we are looking for a better name

@albop
Copy link
Member Author

albop commented Oct 5, 2021

can you submit a PR ?

NormannR added a commit to NormannR/dolARK that referenced this issue Jan 21, 2022
Added methods __str__, __repr__ and _repr_html_ to the HModel class
albop added a commit that referenced this issue Jan 21, 2022
Display information about HModel objects (Ref issue: #22)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants