269 cpl_frame* high_abs_frame)
276 cpl_table* high_abs_tab=NULL;
279 if(high_abs_frame !=NULL) {
280 high_abs_tab=cpl_table_load(cpl_frame_get_filename(high_abs_frame),1,0);
286 if(high_abs_tab!=NULL) {
287 nrow=cpl_table_get_nrow(high_abs_tab);
288 check(pwmin=cpl_table_get_data_double(high_abs_tab,
"LAMBDA_MIN"));
289 check(pwmax=cpl_table_get_data_double(high_abs_tab,
"LAMBDA_MAX"));
292 for(i=0;i<nrow;i++) {
334 cpl_frame* high_abs_frame)
341 cpl_table* high_abs_tab=NULL;
344 if(high_abs_frame !=NULL) {
345 high_abs_tab=cpl_table_load(cpl_frame_get_filename(high_abs_frame),1,0);
351 if(high_abs_tab!=NULL) {
352 nrow=cpl_table_get_nrow(high_abs_tab);
353 check(pwmin=cpl_table_get_data_double(high_abs_tab,
"LAMBDA_MIN"));
354 check(pwmax=cpl_table_get_data_double(high_abs_tab,
"LAMBDA_MAX"));
357 for(i=0;i<nrow;i++) {
400 cpl_frame* high_abs_frame)
407 cpl_table* high_abs_tab=NULL;
410 if(high_abs_frame !=NULL) {
411 high_abs_tab=cpl_table_load(cpl_frame_get_filename(high_abs_frame),1,0);
417 if(high_abs_tab!=NULL) {
418 nrow=cpl_table_get_nrow(high_abs_tab);
419 check(pwmin=cpl_table_get_data_double(high_abs_tab,
"LAMBDA_MIN"));
420 check(pwmax=cpl_table_get_data_double(high_abs_tab,
"LAMBDA_MAX"));
423 for(i=0;i<nrow;i++) {
static xsh_instrument * instrument
XSH_ARM xsh_instrument_get_arm(xsh_instrument *i)
Get an arm on instrument structure.
void xsh_free_table(cpl_table **t)
Deallocate a table and set the pointer to NULL.
HIGH_ABS_REGION NirTellComputeResidRegions[]
HIGH_ABS_REGION * xsh_fill_high_abs_regions(xsh_instrument *instrument, cpl_frame *high_abs_frame)
HIGH_ABS_REGION VisHighAbsRegions[]
HIGH_ABS_REGION NirJhHighAbsRegions[]
HIGH_ABS_REGION UvbHighAbsRegions[]
HIGH_ABS_REGION UvbTellFitRegions[]
HIGH_ABS_REGION UvbTellComputeResidRegions[]
HIGH_ABS_REGION NirJhTellFitRegions[]
HIGH_ABS_REGION VisTellFitRegions[]
HIGH_ABS_REGION VisTellComputeResidRegions[]
HIGH_ABS_REGION * xsh_fill_tell_compute_resid_regions(xsh_instrument *instrument, cpl_frame *high_abs_frame)
HIGH_ABS_REGION NirHighAbsRegions[]
HIGH_ABS_REGION NirTellFitRegions[]
HIGH_ABS_REGION * xsh_fill_tell_fit_regions(xsh_instrument *instrument, cpl_frame *high_abs_frame)