FORS Pipeline Reference Manual
5.0.9
|
Macros | |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
Functions | |
static cpl_frame * | frame_new (const char *filename, const char *tag, cpl_frame_group group) |
Frame constructor. More... | |
void | create_standard_keys (cpl_propertylist *header, double exptime) |
Write FORS standard keywords to simulated header. More... | |
cpl_frame * | create_bias (const char *filename, const char *tag, cpl_frame_group group) |
Simulate bias image. More... | |
cpl_frame * | create_master_bias (const char *filename, const char *tag, cpl_frame_group group) |
Simulate master bias image. More... | |
cpl_frame * | create_dark (const char *filename, const char *tag, cpl_frame_group group) |
Simulate dark image. More... | |
cpl_frame * | create_screen_flat (const char *filename, const char *tag, cpl_frame_group group) |
Simulate screen flat image. More... | |
cpl_frame * | create_sky_flat (const char *filename, const char *tag, cpl_frame_group group, double exptime) |
Simulate sky flat image. More... | |
cpl_frame * | create_master_sky_flat (const char *filename, const char *tag, cpl_frame_group group, double exptime) |
Simulate master sky flat image. More... | |
cpl_frame * | create_standard (const char *filename, const char *tag, cpl_frame_group group) |
Create standard star image. More... | |
cpl_frame * | create_std_cat (const char *filename, const char *tag, cpl_frame_group group) |
Create standard star catalogue. More... | |
cpl_frame * | create_phot_table (const char *filename, const char *tag, cpl_frame_group group) |
Create photometry table. More... | |
Note: The images simulated here are not meant to be realistic. The purpose is to test the software's behaviour on known input before introducing the complexity of real world data.
#define cleanup |
Definition at line 650 of file test_simulate.c.
#define cleanup |
Definition at line 650 of file test_simulate.c.
#define cleanup |
Definition at line 650 of file test_simulate.c.
#define cleanup |
Definition at line 650 of file test_simulate.c.
#define cleanup |
Definition at line 650 of file test_simulate.c.
#define cleanup |
Definition at line 650 of file test_simulate.c.
|
static |
Frame constructor.
filename | frame filename |
tag | frame tag |
group | frame group |
Definition at line 116 of file test_simulate.c.
Referenced by create_bias(), create_dark(), create_master_bias(), create_master_sky_flat(), create_phot_table(), create_screen_flat(), create_sky_flat(), and create_std_cat().
void create_standard_keys | ( | cpl_propertylist * | header, |
double | exptime | ||
) |
Write FORS standard keywords to simulated header.
header | to update |
exptime | exposure time (s), possibly zero |
Definition at line 133 of file test_simulate.c.
Referenced by create_bias(), create_dark(), create_master_bias(), create_master_sky_flat(), create_screen_flat(), create_sky_flat(), test_image(), and test_photometry().
cpl_frame* create_bias | ( | const char * | filename, |
const char * | tag, | ||
cpl_frame_group | group | ||
) |
Simulate bias image.
filename | save to this file |
tag | output frame tag |
tag | output frame group |
Model: constant + gaussian noise, rounded to nearest integer
Definition at line 230 of file test_simulate.c.
References assure, create_standard_keys(), fors_image_new(), fors_image_save(), fors_rand_gauss(), and frame_new().
Referenced by test_bias(), test_stack(), and test_zeropoint().
cpl_frame* create_master_bias | ( | const char * | filename, |
const char * | tag, | ||
cpl_frame_group | group | ||
) |
Simulate master bias image.
filename | save to this file |
tag | output frame tag |
tag | output frame group |
Model: constant + gaussian noise, rounded to nearest integer
Definition at line 274 of file test_simulate.c.
References assure, create_standard_keys(), fors_image_new(), fors_image_save(), fors_rand_gauss(), and frame_new().
Referenced by test_dark(), test_img_science(), test_img_screen_flat(), and test_img_sky_flat().
cpl_frame* create_dark | ( | const char * | filename, |
const char * | tag, | ||
cpl_frame_group | group | ||
) |
Simulate dark image.
filename | save to this file |
tag | output frame tag |
tag | output frame group |
Model: bias + dark(x,y) Variance = ron**2 + dark(x,y)/conad
Definition at line 327 of file test_simulate.c.
References assure, create_standard_keys(), fors_image_new(), fors_image_save(), fors_rand_gauss(), and frame_new().
Referenced by test_dark().
cpl_frame* create_screen_flat | ( | const char * | filename, |
const char * | tag, | ||
cpl_frame_group | group | ||
) |
Simulate screen flat image.
filename | save to this file |
tag | output frame tag |
group | output frame group |
Model: bias + flat(x,y) Variance = ron**2 + flat(x,y)/conad
Definition at line 390 of file test_simulate.c.
References assure, create_standard_keys(), fors_image_new(), fors_image_save(), fors_rand_gauss(), and frame_new().
Referenced by test_img_screen_flat().
cpl_frame* create_sky_flat | ( | const char * | filename, |
const char * | tag, | ||
cpl_frame_group | group, | ||
double | exptime | ||
) |
Simulate sky flat image.
filename | save to this file |
tag | output frame tag |
group | output frame group |
exptime | exposure time |
Model: bias + flat(x,y) Variance = ron**2 + flat(x,y)/conad
Definition at line 454 of file test_simulate.c.
References assure, create_standard_keys(), fors_image_new(), fors_image_save(), fors_rand_gauss(), and frame_new().
Referenced by create_standard(), test_img_sky_flat(), test_photometry(), test_setting(), and test_zeropoint().
cpl_frame* create_master_sky_flat | ( | const char * | filename, |
const char * | tag, | ||
cpl_frame_group | group, | ||
double | exptime | ||
) |
Simulate master sky flat image.
filename | save to this file |
tag | output frame tag |
group | output frame group |
exptime | exposure time |
Model: bias + flat(x,y) Variance = ron**2 + flat(x,y)/conad
Definition at line 514 of file test_simulate.c.
References assure, create_standard_keys(), fors_image_new(), fors_image_save(), fors_rand_gauss(), and frame_new().
Referenced by test_img_science().
cpl_frame* create_standard | ( | const char * | filename, |
const char * | tag, | ||
cpl_frame_group | group | ||
) |
Create standard star image.
filename | save to this file |
tag | output frame tag |
group | output frame group |
Definition at line 563 of file test_simulate.c.
References create_sky_flat().
Referenced by test_identify(), test_img_science(), test_new(), and test_zeropoint().
cpl_frame* create_std_cat | ( | const char * | filename, |
const char * | tag, | ||
cpl_frame_group | group | ||
) |
Create standard star catalogue.
filename | save to this file |
tag | output frame tag |
group | output frame group |
Definition at line 585 of file test_simulate.c.
References assure, and frame_new().
Referenced by test_identify(), test_img_science(), test_new(), and test_zeropoint().
cpl_frame* create_phot_table | ( | const char * | filename, |
const char * | tag, | ||
cpl_frame_group | group | ||
) |
Create photometry table.
filename | save to this file |
tag | output frame tag |
group | output frame group |
Definition at line 663 of file test_simulate.c.
References assure, and frame_new().
Referenced by test_identify(), test_img_science(), test_new(), test_photometry(), and test_zeropoint().