Skip to content

Add regression test to cross-check against non-vectorized output. #182

@HannoSpreeuw

Description

@HannoSpreeuw

The PySE run
sourcefinder/utility/cli.py GRB201006A_final_2min_srcs-t0021-image-pb.fits --back-size-x 50 --back-size-y 50 offers an opportunity for an effective comparison between vectorized and non-vectorized output.

The correctness of vectorized source measurements has been covered by the test_measured_vectorized_forced_beam (167,281 artificial sources) and the test_measured_vectorized_free_shape (90,000 artificial sources) regression tests, which compare its outputs against ground truth values.

However, all of these artificial sources are well-formed, while GRB201006A_final_2min_srcs-t0021-image-pb.fits contains many ill-formed "sources", which can provide additional tests. ("sources" in quotes, since the ill-formed ones seem to appear mostly near the edges, i.e. perhaps they are artefacts of calibration and/or imaging).

The hard part about this cross-check is how to quantify acceptable thresholds wrt relative or absolute differences that can catch faulty extrapolations of brightnesses such as the ones encountered here: #180. That issue has been fixed for forced beam runs and is less likely to occur for free shape runs. However, it would be good to investigate the latter: i.e. does the faulty extrapolation not occur at all when --force-beam is left out?

Sub-issues

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions