Functions | |
enum uves_chip | uves_chip_get_first (bool blue) |
Get first chip for blue or red arm. | |
enum uves_chip | uves_chip_get_next (enum uves_chip chip) |
Get next chip. | |
int | uves_chip_get_index (enum uves_chip chip) |
Convert to integer. | |
const char * | uves_chip_tostring_lower (enum uves_chip chip) |
Convert to string. | |
const char * | uves_chip_tostring_upper (enum uves_chip chip) |
Convert to string. | |
const char * | uves_chip_get_det (enum uves_chip chip) |
Get letters used in filenames. | |
char | uves_chip_tochar (enum uves_chip chip) |
Get letters used in filenames. |
The CCD chip abstract data type
enum uves_chip uves_chip_get_first | ( | bool | blue | ) |
Get first chip for blue or red arm.
blue | Blue (if true) or red (if false) arm |
This function is used to loop through all (in the case of UVES, 1 or 2) chips of an arm.
for (chip = uves_chip_get_first(blue); chip != UVES_CHIP_INVALID; chip = uves_chip_get_next(chip)) {...}
Definition at line 95 of file uves_chip.c.
Referenced by test_bad_corr(), test_extract(), uves_reduce_mflat(), uves_reduce_mflat_combine(), uves_reduce_scired(), and uves_utl_physmod().
enum uves_chip uves_chip_get_next | ( | enum uves_chip | chip | ) |
Get next chip.
chip | The current chip |
Definition at line 111 of file uves_chip.c.
Referenced by test_bad_corr(), uves_reduce_mflat(), uves_reduce_mflat_combine(), uves_reduce_scired(), and uves_utl_physmod().
int uves_chip_get_index | ( | enum uves_chip | chip | ) |
Convert to integer.
chip | The CCD chip |
Definition at line 127 of file uves_chip.c.
Referenced by uves_reduce_mflat(), uves_reduce_mflat_combine(), uves_reduce_scired(), and uves_utl_physmod().
const char* uves_chip_tostring_lower | ( | enum uves_chip | chip | ) |
Convert to string.
chip | The CCD chip |
Definition at line 142 of file uves_chip.c.
Referenced by uves_physmod_plotmod(), and uves_utl_physmod().
const char* uves_chip_tostring_upper | ( | enum uves_chip | chip | ) |
Convert to string.
chip | The CCD chip |
Definition at line 159 of file uves_chip.c.
Referenced by uves_combine_flats(), uves_merge_orders(), uves_physmod_create_table(), uves_reduce_mflat(), uves_reduce_mflat_combine(), and uves_reduce_scired().
const char* uves_chip_get_det | ( | enum uves_chip | chip | ) |
Get letters used in filenames.
chip | The CCD chip |
Definition at line 175 of file uves_chip.c.
char uves_chip_tochar | ( | enum uves_chip | chip | ) |
Get letters used in filenames.
chip | The CCD chip |
Definition at line 190 of file uves_chip.c.