HAWKI Pipeline Reference Manual 1.8.12
|
Functions | |
cpl_frameset * | hawki_extract_frameset (const cpl_frameset *in, const char *tag) |
Extract the frames with the given tag from a frameset. | |
int | hawki_get_detector_from_ext (const char *fname, int ext) |
Get the chip to store in the wished extension. | |
int * | hawki_get_ext_detector_mapping (const char *fname) |
Get the mapping between extensions and detectors. | |
int | hawki_get_ext_from_detector (const char *fname, int chip) |
Get the extension corresponding to the wished chip. | |
cpl_imagelist * | hawki_load_detector (const cpl_frameset *fset, int chip, cpl_type ptype) |
Load the chips of HAWKI frameset in an image list. | |
cpl_imagelist * | hawki_load_extensions (const cpl_frameset *fset, int extension, cpl_type ptype) |
Loads a given extension from a HAWKI frameset in an image list. | |
cpl_imagelist * | hawki_load_frame (const cpl_frame *frame, cpl_type ptype) |
Load all the chips of HAWKI images from a frame into an image list. | |
cpl_image * | hawki_load_frame_detector (const cpl_frame *frame, int idet, cpl_type ptype) |
Load one the chips of HAWKI images from a frame into an image. | |
cpl_image * | hawki_load_frame_extension (const cpl_frame *frame, int iextension, cpl_type ptype) |
Load one the extensions of HAWKI images from a frame into an image. | |
cpl_imagelist * | hawki_load_frameset (const cpl_frameset *fset, int chip, cpl_type ptype) |
Load the chip of HAWKI images from a frameset in an image list. | |
cpl_image * | hawki_load_image (const cpl_frameset *fset, int fnum, int chip, cpl_type ptype) |
Load the chip of HAWKI image from a frameset in an image. | |
cpl_image * | hawki_load_quadrant (const cpl_frameset *fset, int fnum, int chip, int quad, cpl_type ptype) |
Load the quarter of a chip from a frameset in an image. | |
cpl_image * | hawki_load_quadrant_from_file (const char *fname, int chip, int quad, cpl_type ptype) |
Load the quarter of a chip from a file in an image. | |
cpl_imagelist * | hawki_load_quadrants (const cpl_frameset *fset, int chip, int quad, cpl_type ptype) |
Load the quarter of a chip from a frameset in an image list. | |
cpl_bivector ** | hawki_load_refined_offsets (const cpl_frame *offsets_frame) |
Load a table containing refined offsets. | |
cpl_table ** | hawki_load_tables (const cpl_frame *frame) |
Load a table with four extensions, one for each chip. | |
cpl_image * | hawki_rebuild_detectors (const cpl_image *ima1, const cpl_image *ima2, const cpl_image *ima3, const cpl_image *ima4) |
Rebuild the 4 chips. | |
cpl_image * | hawki_rebuild_quadrants (const cpl_image *ima1, const cpl_image *ima2, const cpl_image *ima3, const cpl_image *ima4) |
Rebuild the 4 quadrants. |
cpl_frameset* hawki_extract_frameset | ( | const cpl_frameset * | in, |
const char * | tag | ||
) |
Extract the frames with the given tag from a frameset.
in | A non-empty frameset |
tag | The tag of the requested frames |
The returned frameset must be de allocated with cpl_frameset_delete()
Definition at line 63 of file hawki_load.c.
int hawki_get_detector_from_ext | ( | const char * | fname, |
int | ext | ||
) |
Get the chip to store in the wished extension.
fname | The input frame name |
ext | the extension number (1 to HAWKI_NB_DETECTORS) |
Definition at line 817 of file hawki_load.c.
References hawki_pfits_get_extname().
Referenced by hawki_distortion_save(), hawki_get_ext_detector_mapping(), hawki_image_ext_save(), hawki_imagelist_save(), hawki_images_save(), and hawki_tables_save().
int* hawki_get_ext_detector_mapping | ( | const char * | fname | ) |
Get the mapping between extensions and detectors.
fname | The input frame name |
Definition at line 897 of file hawki_load.c.
References hawki_get_detector_from_ext().
Referenced by hawki_load_frame().
int hawki_get_ext_from_detector | ( | const char * | fname, |
int | chip | ||
) |
Get the extension corresponding to the wished chip.
fname | The input frame name |
chip | The chip number (1 to HAWKI_NB_DETECTORS) |
Definition at line 846 of file hawki_load.c.
References hawki_pfits_get_extname().
Referenced by hawki_bpm_calib(), hawki_detectors_locate_star(), hawki_distortion_load(), hawki_load_detector(), hawki_load_frame_detector(), hawki_load_image(), hawki_load_quadrant_from_file(), and hawki_load_tables().
cpl_imagelist* hawki_load_detector | ( | const cpl_frameset * | fset, |
int | chip, | ||
cpl_type | ptype | ||
) |
Load the chips of HAWKI frameset in an image list.
fset | the input set of frames |
chip | the chip to load (1 to HAWKI_NB_DETECTORS) |
ptype | the pixel type |
Definition at line 209 of file hawki_load.c.
References hawki_get_ext_from_detector().
cpl_imagelist* hawki_load_extensions | ( | const cpl_frameset * | fset, |
int | extension, | ||
cpl_type | ptype | ||
) |
Loads a given extension from a HAWKI frameset in an image list.
fset | the input set of frames |
ext | the chip to load (1 to HAWKI_NB_DETECTORS) |
ptype | the pixel type |
Definition at line 266 of file hawki_load.c.
cpl_imagelist* hawki_load_frame | ( | const cpl_frame * | frame, |
cpl_type | ptype | ||
) |
Load all the chips of HAWKI images from a frame into an image list.
frame | the input set of frames |
ptype | the pixel type |
Definition at line 445 of file hawki_load.c.
References hawki_get_ext_detector_mapping().
Referenced by hawki_image_stats_fill_from_frame().
cpl_image* hawki_load_frame_detector | ( | const cpl_frame * | frame, |
int | idet, | ||
cpl_type | ptype | ||
) |
Load one the chips of HAWKI images from a frame into an image.
frame | the input frame |
idet | the detector to load (1 to HAWKI_NB_DETECTORS) |
ptype | the pixel type |
Definition at line 547 of file hawki_load.c.
References hawki_get_ext_from_detector().
Referenced by hawki_distortion_load().
cpl_image* hawki_load_frame_extension | ( | const cpl_frame * | frame, |
int | iextension, | ||
cpl_type | ptype | ||
) |
Load one the extensions of HAWKI images from a frame into an image.
frame | the input frame |
extension | the extension to load (1 to HAWKI_NB_DETECTORS) |
ptype | the pixel type |
Definition at line 513 of file hawki_load.c.
cpl_imagelist* hawki_load_frameset | ( | const cpl_frameset * | fset, |
int | chip, | ||
cpl_type | ptype | ||
) |
Load the chip of HAWKI images from a frameset in an image list.
fset | the input set of frames |
chip | the chip to load (1 to HAWKI_NB_DETECTORS) |
ptype | the pixel type |
Definition at line 407 of file hawki_load.c.
References hawki_load_image().
cpl_image* hawki_load_image | ( | const cpl_frameset * | fset, |
int | fnum, | ||
int | chip, | ||
cpl_type | ptype | ||
) |
Load the chip of HAWKI image from a frameset in an image.
fset | the input set of frames |
fnum | the frame to load from (start from 0) |
chip | the chip to load (1 to HAWKI_NB_DETECTORS) |
ptype | the pixel type |
Definition at line 313 of file hawki_load.c.
References hawki_get_ext_from_detector().
Referenced by hawki_load_frameset().
cpl_image* hawki_load_quadrant | ( | const cpl_frameset * | fset, |
int | fnum, | ||
int | chip, | ||
int | quad, | ||
cpl_type | ptype | ||
) |
Load the quarter of a chip from a frameset in an image.
fset | the input set of frames |
fnum | the frame to load from (start from 0) |
chip | the chip to load (1 to HAWKI_NB_DETECTORS) |
quad | the quadrant to load (1 to 4) |
ptype | the pixel type |
Definition at line 110 of file hawki_load.c.
References hawki_load_quadrant_from_file().
Referenced by hawki_load_quadrants().
cpl_image* hawki_load_quadrant_from_file | ( | const char * | fname, |
int | chip, | ||
int | quad, | ||
cpl_type | ptype | ||
) |
Load the quarter of a chip from a file in an image.
fname | the input file name |
chip | the chip to load (1 to HAWKI_NB_DETECTORS) |
quad | the quadrant to load (1 to 4) |
ptype | the pixel type |
Definition at line 149 of file hawki_load.c.
References hawki_get_ext_from_detector().
Referenced by hawki_load_quadrant().
cpl_imagelist* hawki_load_quadrants | ( | const cpl_frameset * | fset, |
int | chip, | ||
int | quad, | ||
cpl_type | ptype | ||
) |
Load the quarter of a chip from a frameset in an image list.
fset | the input set of frames |
chip | the chip to load (1 to HAWKI_NB_DETECTORS) |
quad | the quadrant to load (1 to 4) |
ptype | the pixel type |
Definition at line 365 of file hawki_load.c.
References hawki_load_quadrant().
cpl_bivector** hawki_load_refined_offsets | ( | const cpl_frame * | offsets_frame | ) |
Load a table containing refined offsets.
offsets_frame | the frame containing the offests. |
Definition at line 633 of file hawki_load.c.
References hawki_load_tables().
cpl_table** hawki_load_tables | ( | const cpl_frame * | frame | ) |
Load a table with four extensions, one for each chip.
frame | the input set of frames |
ptype | the pixel type |
Definition at line 589 of file hawki_load.c.
References hawki_get_ext_from_detector().
Referenced by hawki_load_refined_offsets().
cpl_image* hawki_rebuild_detectors | ( | const cpl_image * | ima1, |
const cpl_image * | ima2, | ||
const cpl_image * | ima3, | ||
const cpl_image * | ima4 | ||
) |
Rebuild the 4 chips.
ima1 | the first chip |
ima2 | the second chip |
ima3 | the third chip |
ima4 | the fourth chip |
Definition at line 718 of file hawki_load.c.
cpl_image* hawki_rebuild_quadrants | ( | const cpl_image * | ima1, |
const cpl_image * | ima2, | ||
const cpl_image * | ima3, | ||
const cpl_image * | ima4 | ||
) |
Rebuild the 4 quadrants.
ima1 | the first quadrant |
ima2 | the second quadrant |
ima3 | the third quadrant |
ima4 | the fourth quadrant |
Definition at line 769 of file hawki_load.c.