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
html
Cosmology.write
Cosmology can now read and write to files. It would be nice to register with Cosmology.write a method for exporting a Cosmology to a HTML table. There are good examples of IO with Cosmology at https://github.com/astropy/astropy/tree/main/astropy/cosmology/io and documentation at https://docs.astropy.org/en/latest/cosmology/io.html#cosmology-io
I'm thinking the write_html(...) method would call cosmology.io.table.to_table(), format the table to nice MathJax or something and then call the QTable.write(..., format='html').
write_html(...)
cosmology.io.table.to_table()
QTable.write(..., format='html')
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Cosmology can now read and write to files.
It would be nice to register with
Cosmology.writea method for exporting a Cosmology to a HTML table.There are good examples of IO with Cosmology at https://github.com/astropy/astropy/tree/main/astropy/cosmology/io
and documentation at https://docs.astropy.org/en/latest/cosmology/io.html#cosmology-io
I'm thinking the
write_html(...)method would callcosmology.io.table.to_table(), format the table to nice MathJax or something and then call theQTable.write(..., format='html').The text was updated successfully, but these errors were encountered: