File: vimos_spec_idp.h

package info (click to toggle)
cpl-plugin-vimos 4.1.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 28,228 kB
  • sloc: ansic: 169,271; cpp: 16,177; sh: 4,344; python: 3,678; makefile: 1,138; perl: 10
file content (25 lines) | stat: -rw-r--r-- 1,042 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef VIMOS_SPEC_IDP_H
#define VIMOS_SPEC_IDP_H

#include <cpl.h>

cpl_error_code vimos_spec_idp_save(cpl_parameterlist * parameter, cpl_frameset * frames);

double vimos_spec_idp_get_sky_align_shift(const cpl_table * offsets,
		const cpl_table * slits);

const char * get_grism_name_tag(const cpl_propertylist * science_plist);

/*Tags used by vimos_spec_idp_save as inputs i.e. somebody has to write them*/
static const char * idp_input_screen_flat_nwave = "ESO DRS NWAVE";
static const char * idp_input_screen_flat_resolution = "ESO DRS RESOLUTION";
static const char * idp_input_screen_flat_accuracy = "ESO DRS ACCURACY";
static const char * idp_input_screen_skyaling_shift = "ESO DRS SKYALIGN SHIFT";

/* Extra tags that vimos_spec_idp_save generates because CSYER & CRDER are not usable
 * for tables and the corresponding tags for tables cannot be used because the columns
 * are not in the right units*/
static const char * idp_output_csyer_tag = "ESO DRS CSYER";
static const char * idp_output_crder_tag = "ESO DRS CRDER";

#endif