26#ifndef XSH_DATA_GRID_H
27#define XSH_DATA_GRID_H
void xsh_grid_add(xsh_grid *grid, int x, int y, double v, double errs, int qual)
add a point to a grid
xsh_grid * xsh_grid_create(int size)
Create a grid.
void xsh_grid_dump(xsh_grid *grid)
Dump main info about a grid.
void xsh_grid_sort(xsh_grid *grid)
sort grid points
int xsh_grid_get_index(xsh_grid *grid)
get the number of elements in the grid
xsh_grid_point * xsh_grid_point_get(xsh_grid *grid, int i)
get x points from the grid
void xsh_grid_free(xsh_grid **grid)
Free a grid.
cpl_table * xsh_grid2table(xsh_grid *grid)
Dump main info about a grid.