askap-vast / vast-pipeline

This repository holds the code of the Radio Transient detection pipeline for the VAST project.
https://vast-survey.org/vast-pipeline/
MIT License
8 stars 3 forks source link

Fix minimum RMS calculation from noise images. #753

Closed mauch closed 4 days ago

mauch commented 2 weeks ago

Sometimes the edges of noise images can have large negative values rather than "blanked" (NaN or 0) pixels which will result in erroneous negative values min_rms.

Fix this by dropping negative pixels in the images before generating statistics on them.