X-shooter Pipeline Reference Manual 3.8.15
Data Structures | Functions
xsh_data_grid.h File Reference
#include <cpl.h>
#include <xsh_data_instrument.h>

Go to the source code of this file.

Data Structures

struct  xsh_grid_point
 
struct  xsh_grid
 

Functions

xsh_gridxsh_grid_create (int size)
 Create a grid.
 
void xsh_grid_sort (xsh_grid *grid)
 sort grid points
 
void xsh_grid_free (xsh_grid **grid)
 Free a grid.
 
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_pointxsh_grid_point_get (xsh_grid *grid, int i)
 get x points from the grid
 
int xsh_grid_get_index (xsh_grid *grid)
 get the number of elements in the grid
 
void xsh_grid_dump (xsh_grid *grid)
 Dump main info about a grid.
 
cpl_table * xsh_grid2table (xsh_grid *grid)
 Dump main info about a grid.