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

Fix datatype of redshift #195

Merged

Conversation

haukekoehn
Copy link
Contributor

The convert_to_multimessenger_parameters function used to return the redshift values as astropy Quantity objects. This caused issues later, when the sample arrays were copied that contained these redshift values, turning every sample parameter to astropy Quantity objects, which becomes problematic when finally writing the posterior samples to file.

Additionally a small bug fix induced by my previous update on how to load the EOS.

The convert_to_multimessenger_parameters used to return the redshift values as astropy Quantity objects. This caused issues later, when the sample arrays were copied that contained these redshift values, turning every sample parameter to astropy Quantity objects, which becomes problematic when finally writing the posterior samples to file. Additionally a small bug fix induced by my previous update on how to load the EOS.
Copy link
Member

@mcoughlin mcoughlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcoughlin mcoughlin merged commit 628db61 into nuclear-multimessenger-astronomy:main Aug 7, 2023
0 of 4 checks passed
@haukekoehn haukekoehn deleted the fix_redshift branch August 7, 2023 14:20
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

Successfully merging this pull request may close these issues.

2 participants