Synopsis
int hdf5_read (struct hdfile *f
,
struct image *image
,
const char *element
,
int satcorr
);
int hdf5_read2 (struct hdfile *f
,
struct image *image
,
struct event *ev
,
int satcorr
);
int hdf5_write (const char *filename
,
const void *data
,
int width
,
int height
,
int type
);
int hdf5_write_image (const char *filename
,
const struct image *image
,
char *element
);
struct hdfile;
void hdfile_close (struct hdfile *f
);
int16_t * hdfile_get_image_binned (struct hdfile *hdfile
,
int binning
,
int16_t *maxp
);
char * hdfile_get_string_value (struct hdfile *f
,
const char *name
,
struct event *ev
);
struct hdfile * hdfile_open (const char *filename
);
char ** hdfile_read_group (struct hdfile *f
,
int *n
,
const char *parent
,
int **p_is_group
,
int **p_is_image
);
int hdfile_set_first_image (struct hdfile *f
,
const char *group
);
int hdfile_set_image (struct hdfile *f
,
const char *path
,
struct panel *p
);
struct copy_hdf5_field;
void copy_hdf5_fields (struct hdfile *f
,
const struct copy_hdf5_field *copyme
,
FILE *fh
,
struct event *ev
);
void add_copy_hdf5_field (struct copy_hdf5_field *copyme
,
const char *name
);
struct copy_hdf5_field * new_copy_hdf5_field_list (void
);
void free_copy_hdf5_field_list (struct copy_hdf5_field *f
);
int get_peaks (struct image *image
,
struct hdfile *f
,
const char *p
);
int get_peaks_cxi (struct image *image
,
struct hdfile *f
,
const char *p
,
struct filename_plus_event *fpe
);
int hdfile_is_scalar (struct hdfile *f
,
const char *name
,
int verbose
);
int check_path_existence (hid_t fh
,
const char *path
);
struct event_list * fill_event_list (struct hdfile *hdfile
,
struct detector *det
);
Details
hdf5_read ()
int hdf5_read (struct hdfile *f
,
struct image *image
,
const char *element
,
int satcorr
);
hdf5_read2 ()
int hdf5_read2 (struct hdfile *f
,
struct image *image
,
struct event *ev
,
int satcorr
);
hdf5_write ()
int hdf5_write (const char *filename
,
const void *data
,
int width
,
int height
,
int type
);
hdf5_write_image ()
int hdf5_write_image (const char *filename
,
const struct image *image
,
char *element
);
struct hdfile
struct hdfile;
hdfile_close ()
void hdfile_close (struct hdfile *f
);
hdfile_get_image_binned ()
int16_t * hdfile_get_image_binned (struct hdfile *hdfile
,
int binning
,
int16_t *maxp
);
hdfile_get_string_value ()
char * hdfile_get_string_value (struct hdfile *f
,
const char *name
,
struct event *ev
);
hdfile_open ()
struct hdfile * hdfile_open (const char *filename
);
hdfile_read_group ()
char ** hdfile_read_group (struct hdfile *f
,
int *n
,
const char *parent
,
int **p_is_group
,
int **p_is_image
);
hdfile_set_first_image ()
int hdfile_set_first_image (struct hdfile *f
,
const char *group
);
hdfile_set_image ()
int hdfile_set_image (struct hdfile *f
,
const char *path
,
struct panel *p
);
struct copy_hdf5_field
struct copy_hdf5_field;
copy_hdf5_fields ()
void copy_hdf5_fields (struct hdfile *f
,
const struct copy_hdf5_field *copyme
,
FILE *fh
,
struct event *ev
);
add_copy_hdf5_field ()
void add_copy_hdf5_field (struct copy_hdf5_field *copyme
,
const char *name
);
new_copy_hdf5_field_list ()
struct copy_hdf5_field * new_copy_hdf5_field_list (void
);
free_copy_hdf5_field_list ()
void free_copy_hdf5_field_list (struct copy_hdf5_field *f
);
get_peaks ()
int get_peaks (struct image *image
,
struct hdfile *f
,
const char *p
);
get_peaks_cxi ()
int get_peaks_cxi (struct image *image
,
struct hdfile *f
,
const char *p
,
struct filename_plus_event *fpe
);
hdfile_is_scalar ()
int hdfile_is_scalar (struct hdfile *f
,
const char *name
,
int verbose
);
check_path_existence ()
int check_path_existence (hid_t fh
,
const char *path
);
fill_event_list ()
struct event_list * fill_event_list (struct hdfile *hdfile
,
struct detector *det
);