X-shooter Pipeline Reference Manual 3.8.15
Functions
xsh_data_grid.c File Reference
#include <xsh_data_grid.h>
#include <xsh_utils.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_pfits.h>
#include <cpl.h>

Go to the source code of this file.

Functions

static int xsh_grid_point_compare (const void *one, const void *two)
 
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.
 
xsh_gridxsh_grid_create (int size)
 Create a grid.
 
void xsh_grid_free (xsh_grid **grid)
 Free a grid.
 
void xsh_grid_add (xsh_grid *grid, int x, int y, double data, double errs, int qual)
 add a point to a grid
 
void xsh_grid_sort (xsh_grid *grid)
 sort grid points
 
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