slit_polyval

Contents

slit_polyval#

excalibuhr.utils.slit_polyval(xx, meta)[source]#

evaluate slit curvature polynomials given the pixel grid

Parameters:
  • xx (array or list) – pixel grid or a list of x coordinates

  • meta (array) – meta polynomial coefficiences for the change of slit tilt over x coordinates

Returns:

slit – the evaluated polynomial coefficiences describing the slit tilt for each given x coordinate

Return type:

list