Main Page   Modules   Data Structures   File List   Data Fields   Globals  

Routines to check/retrieve E3D frame features


Functions

int has_common_bounds (E3D_file *frame)
int get_common_param (E3D_file *frame, int *npix, double *start, double *end)
int set_common_bounds (E3D_file *frame)
int exist_statistical_error (E3D_file *frame)

Function Documentation

int has_common_bounds E3D_file frame  ) 
 

returns true if all spectra have common bounds, false if not

Parameters:
frame [E3D_file *] E3D file structure

Definition at line 2078 of file 3D_iolib.c.

References E3D_file::common_bounds.

Referenced by get_3D_slice_noalloc(), get_E3D_slice(), and put_E3D_slice().

int get_common_param E3D_file frame,
int *  npix,
double *  start,
double *  end
 

gets spectra parameters if there are valid for the whole set

Parameters:
frame [E3D_file *] E3D file structure
npix [int *] number of pixels
start [double *] start coordinate
end [double *] end coordinate

Definition at line 2097 of file 3D_iolib.c.

References E3D_file::common_bounds, E3D_file::common_parameters, and ERR_NODATA.

Referenced by get_E3D_frame(), and init_new_E3D_spec().

int set_common_bounds E3D_file frame  ) 
 

set common bounds flag if common bounds

Parameters:
frame [E3D_file *] E3D file structure

Definition at line 2120 of file 3D_iolib.c.

References E3D_file::common_bounds, E3D_file::nbspec, E3D_file::noise, E3Dspec_desc::npix, E3D_file::signal, and E3Dspec_desc::start.

Referenced by close_E3D_file(), and open_E3D_file().

int exist_statistical_error E3D_file frame  ) 
 

checks existence of the cube of statistical errors

Parameters:
frame [E3D_file *] E3D file structure

Definition at line 2169 of file 3D_iolib.c.

References E3D_file::noise.


Generated on Tue Jul 1 17:35:47 2003 for IFU_C_iolibs by doxygen1.3