Use approximant parsing argument for make_bayestar #4712
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When generating bayestar skymaps in the upload prep minifollowup, the approximant used was not the same as in the rest of the workflow, this caused issues.
Here we use the standard approximant interface used by other codes in order to work out the appropriate waveform.
Standard information about the request
This is a: bug fix
This change affects: the offline search
This change changes: result presentation / plotting, scientific output
This change: follows style guidelines (See e.g. PEP8), has been proposed using the contribution guidelines
This change will: require a new release on the v23 release branch so that it can be used for o4 LVK results
Motivation
The correct approximant was not being used for the bayestar subprocess, this means the skymaps would be wrong
Contents
I have used standard library code for obtaining the approximant from the command line interface given conditions, rather than only allowing one input.
Links to any issues or associated PRs
None
Testing performed
Previously failing event now runs, with the right approximant. Boundary also moved to ensure that the SPAtmplt --> TaylorF2 check was implemented