TableInterpolator#
- class ctapipe.utils.TableInterpolator(filename, verbose=1)[source]#
 Bases:
objectThis is a simple class for loading lookup tables from a fits file and interpolating between them
Methods Summary
interpolate(params, pixel_pos_x, pixel_pos_y)interpolated_image(params)Function for creating a ful interpolated image template from the interpolation library
parse_fits_table(filename)Function opens tables contained within fits files and parses them into a format recognisable by the interpolator.
Methods Documentation
- interpolate(params, pixel_pos_x, pixel_pos_y)[source]#
 - Parameters:
 - params: ndarray
 numpy array of interpolation parameters currently [energy, impact distance, xmax]
- pixel_pos_x: ndarray
 pixel position in degrees
- pixel_pos_y: ndarray
 pixel position in degrees
- Returns:
 - ndarray of expected intensity for all pixel positions given