im_order_cut

Contents

im_order_cut#

excalibuhr.utils.im_order_cut(im, trace)[source]#

Cut out individual orders from the detector image

Parameters:
  • im (array) – input image

  • trace (array) – polynomials that delineate the edge of the specific order

Returns:

  • im_subs (array) – sub-images of each order

  • yy_indices (array) – y-axis indices of each order