filter_star_list

sitelle.calibration.filter_star_list(_star_list)

Very basic filter to remove stars position which are out of the image.

It replaces with NaN pixel positions where x < 10 or y < 10 or x > 2037 or y > 2053.

Parameters:_star_list (ndarray) – A 2D array containg pixel positions of detections. The array should be column oriented ([[x0, y0], [x1, y1], [x2, y2], …])
Returns:A 2D array of the same dimension but where positions out of the frame have been replaced with NaN.
Return type:ndarray