Closed rosteen closed 4 months ago
Attention: 5 lines
in your changes are missing coverage. Please review.
Comparison is base (
17a6f6b
) 70.93% compared to head (727b4b7
) 71.07%.
Files | Patch % | Lines |
---|---|---|
specutils/analysis/template_comparison.py | 88.46% | 3 Missing :warning: |
specutils/manipulation/resample.py | 92.30% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@camipacifici Thanks for the comment, I reverted back to returning the full template. I also fixed an existing bug in the redshifting so that it will now work on any unit of spectral axis (e.g., frequency), not just wavelengths.
Implements the suggestion given in #653. One thing I changed here, which I'm not sure of, is that the returned template is now resampled onto the observed spectrum's spectral axis, in addition to being normalized as previous. Opening as draft since I still need to update the docs, and I'll probably need to add a bit more test coverage.