Create an order frame from from an observation.
A one dimensional detect_kernal is correlated with a column in the image. The kernal steps through y-space until a match is made. Once a best fit is found, the order is extracted to include all pixels that are detected to be part of that order. Once all pixels have been extracted, they are set to zero in the original frame. The detection kernal is updated by the new order detected
Parameters: | data: ~numpy.ndarray
first_order: int
xc: int
detect_kern: ~numpy.ndarray
smooth_length: int
y_start: int
y_limit: int
|
---|---|
Returns: | order_frame: ~numpy.ndarray
|
Notes
Currently no orders are extrcted above y_limit and the code still needs to be updated to handle those higher orders