Maximum likelihood method for polarization#443
Maximum likelihood method for polarization#443eneights wants to merge 15 commits intocositools:developfrom
Conversation
|
This is ready to be looked at, but I have only tested it with the one GRB in the example notebook so far, and the fraction it outputs is not correct. This might just be due to the coarse response, but before merging, it should probably be tested on some DC3 GRBs |
|
Cool! @eneights Can you please share an executed tutorial (with outputs) to first see if we can reproduce your results? |
Codecov Report❌ Patch coverage is
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
|
@israelmcmc Yes, just added it! |
|
Thanks, @eneights ! Is the PD 0-100 or is it part of the issue your are fixing? |
|
@israelmcmc Just seeing your question for some reason; the PD is 0-100 so this is not an issue |
|
Thanks @eneights. If I remember correctly, you wanted to test this more before merging? Or is it ready? |
|
Alberto just tested this on a persistent source simulated with the source injector and got reasonable results. It was injected with 70% polarization at 45 deg, and the fitted polarization was 59 +/- 4% at 48 +/- 2 deg. I think it's okay to merge if you're comfortable with it, @israelmcmc |
|
@eneights Sounds good. Yes, I'm good with merging this. Can you just please resolve the conflicts and then I'll merge it? |
|
@israelmcmc Conflicts should be resolved now |
This updates COSILike to enable polarization fitting in the CDS, and fixes a mistake with the polarization handling in the point source response.
This replaces PR #367. I'm opening this as a draft PR for now, since I still need to add an example notebook and add/fix unit tests.