- DETECTION mask with pcodethresh = 0.01 is used for finding the refined position. ## Somehow batgrbproduct find a refined position with SNR~5.0, while my code using supposedly the same input find SNR=23.5 (or ~ 22 with background substraction).