nanograv / enterprise

ENTERPRISE (Enhanced Numerical Toolbox Enabling a Robust PulsaR Inference SuitE) is a pulsar timing analysis code, aimed at noise analysis, gravitational-wave searches, and timing model analysis.
https://enterprise.readthedocs.io
MIT License
65 stars 67 forks source link

Fix multivariate-normal parameter bug #317

Closed vallis closed 2 years ago

vallis commented 2 years ago

Current code fails when specifying sigma as a matrix and size explicitly, due to a quirk in the numpy interface. Thanks to Aurelien Chalumeau for flagging this.

codecov[bot] commented 2 years ago

Codecov Report

Merging #317 (6eb2600) into master (dffb805) will decrease coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #317      +/-   ##
==========================================
- Coverage   87.97%   87.94%   -0.04%     
==========================================
  Files          13       13              
  Lines        2978     2978              
==========================================
- Hits         2620     2619       -1     
- Misses        358      359       +1     
Impacted Files Coverage Δ
enterprise/signals/parameter.py 78.62% <100.00%> (ø)
enterprise/pulsar.py 92.21% <0.00%> (-0.26%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dffb805...6eb2600. Read the comment docs.