NAME

sreed_window - read a window of a seplib dataset


SYNOPSIS

int sreed_window(tag_history,n_dim_cube,n_cube,n_wind,f_wind,j_wind,esize,values)


INPUT PARAMETERS

char* - tag_history
        tag of History File
int* - n_dim_cube
         Number of Dimensions in the cube
int* - n_cube
         vector of lenght n_dim_cube length of the axes in the cube
int* - n_wind
         vector of lenght n_dim_cube axes length after windowing
int* - f_wind
         vector of lenght n_dim_cube index of first elements C<(0<= o < n)>
int* - j_wind
         vector of lenght n_dim_cube sampling rate along axes C<(1<= j < n)>
int - esize
         number of bytes per element


OUTPUT PARAMETERS

void* - values
        array of values to be read


RETURN VALUE

 0 = if successful
 -1 = if fails for other reasons
 -2 = if the values in n_wind, f_wind, j_wind are incorrect


DESCRIPTION

It reads a subset (window) of a Seplib cube


SEE ALSO

the srite_window manpage


LIBRARY

sep