askap-vast / vast-post-processing

MIT License
0 stars 0 forks source link

Mismatch in calculation and application of flux correction #92

Closed ddobie closed 5 months ago

ddobie commented 5 months ago

Calculation is in https://github.com/askap-vast/vast-post-processing/blob/c79b928f2ed2a16a96876cde9c148c25ccbea60c/vast_post_processing/crossmatch.py#L191-L197

https://github.com/askap-vast/vast-post-processing/blob/c79b928f2ed2a16a96876cde9c148c25ccbea60c/vast_post_processing/crossmatch.py#L45-L56

Applied to images: https://github.com/askap-vast/vast-post-processing/blob/c79b928f2ed2a16a96876cde9c148c25ccbea60c/vast_post_processing/corrections.py#L295-L298

Applied to catalogues: https://github.com/askap-vast/vast-post-processing/blob/c79b928f2ed2a16a96876cde9c148c25ccbea60c/vast_post_processing/corrections.py#L480-L481

The application to catalogues is correct, but not images.