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

Output table of parameters #33

Open
rachel3834 opened this issue Oct 3, 2018 · 3 comments
Open

Output table of parameters #33

rachel3834 opened this issue Oct 3, 2018 · 3 comments
Assignees

Comments

@rachel3834
Copy link
Collaborator

It would be great if pyLIMA could have a function which outputs a table/datafile summarizing the parameters of a model.

Ideally it would be great to see two options:

  • a latex-format results table
  • a json-format datafile
@rachel3834
Copy link
Collaborator Author

The table output function works great, I would like to requests a couple of refinements to the formating of the table:

  • \begin{tabular}{ll} -> \begin{tabular}{lll} (There are 3 columns not 2)
  • Add a header line:
    Parameter & Value & Uncertainty \
    (Otherwise its not clear what the 3rd column is for)

@rachel3834
Copy link
Collaborator Author

And it would also be great if the parameter names were in text format and latex ready, i.e. to -> $t_{0}$ etc.

@rachel3834
Copy link
Collaborator Author

Bug report when applying this function in an MCMC run:
('MCMC', ' : MCMC fit SUCCESS')
Traceback (most recent call last):
File "Fit_event2.py", line 151, in
Model.parameters_boundaries[0]=(2458240-50.0, 2458240+50.0) # t0
File "build/bdist.linux-x86_64/egg/pyLIMA/microlfits.py", line 970, in produce_latex_table_results
File "build/bdist.linux-x86_64/egg/pyLIMA/microloutputs.py", line 60, in latex_output
IndexError: index 8 is out of bounds for axis 1 with size 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants