idl_tabulate¶
- cosmic.utils.idl_tabulate(x, f, p=5)[source]¶
Function that replicates the IDL int_tabulated function which performs a p-point integration on a tabulated set of data
- Parameters:
- xarray
tabulated x-value data
- farray
tabulated f-value data, same size as x
- pint
number of chunks to divide tabulated data into Default: 5
- Returns:
- retfloat
Integration result