When both the flags --vectorize and --force-beam are used in conjunction, some sources get weird values like a ra_err and dec_err of 0, or very high fluxes.
I tried to reproduce this with the existing test images in the pyse repo but I did not manage. I did find some problematic configuration in some test files from Antonia. The following example uses one of these files.
To reproduce, download the following image: https://www.dropbox.com/scl/fo/dv8iwdqaeiwc3ddflw7wx/AMkE9jRzlbQIDBJ8MTi1JYQ/Images/GRB201006A?dl=0&preview=GRB201006A_final_2min_srcs-t0021-image-pb.fits&rlkey=ws94p3kytmefiujv2cu2nhco9&subfolder_nav_tracking=1
Then run the following command with pyse version v0.6.0:
pyse --csv GRB201006A/GRB201006A_final_2min_srcs-t0021-image-pb.fits --force-beam --vectorized --back-size-x 50 --back-size-y 50
Then when I inspect the results using head GRB201006A_final_2min_srcs-t0021-image-pb.csv -n 20 I get:
Note that when I remove either the --vectorize or the --force-beam the results seem fine. It seems to be the combination that causes issues.
This issue relates to a comment made in a different issue: #177 (comment)
When both the flags
--vectorizeand--force-beamare used in conjunction, some sources get weird values like a ra_err and dec_err of 0, or very high fluxes.I tried to reproduce this with the existing test images in the pyse repo but I did not manage. I did find some problematic configuration in some test files from Antonia. The following example uses one of these files.
To reproduce, download the following image: https://www.dropbox.com/scl/fo/dv8iwdqaeiwc3ddflw7wx/AMkE9jRzlbQIDBJ8MTi1JYQ/Images/GRB201006A?dl=0&preview=GRB201006A_final_2min_srcs-t0021-image-pb.fits&rlkey=ws94p3kytmefiujv2cu2nhco9&subfolder_nav_tracking=1
Then run the following command with pyse version v0.6.0:
pyse --csv GRB201006A/GRB201006A_final_2min_srcs-t0021-image-pb.fits --force-beam --vectorized --back-size-x 50 --back-size-y 50Then when I inspect the results using
head GRB201006A_final_2min_srcs-t0021-image-pb.csv -n 20I get:Note that when I remove either the --vectorize or the --force-beam the results seem fine. It seems to be the combination that causes issues.
This issue relates to a comment made in a different issue: #177 (comment)