A morphological algorithm for improving radio-frequency interference detection | Synapse