![]() |
GIRAFFE Pipeline Reference Manual |
|||
|
|
Fiber Positioner Utilities
Detailed DescriptionTBD Function Documentation
Create a spectrum selection from a reference table.
Definition at line 1489 of file gifiberutils.c. References giraffe_fiberlist_create(), and giraffe_table_get(). Referenced by giraffe_fibers_select().
Associate a fiberlist with a reference list.
The function associates all fibers in the source fiber list fibers which have a corresponding entry in the reference fiber list reference. To associate the source fiber list to the reference list a table column `RINDEX' is added to fibers, if it does not already exist. For each fiber having an entry in both tables the appropriate table cell of the column `RINDEX' is filled with the fiber index (column `INDEX') from the reference table. Definition at line 991 of file gifiberutils.c. References giraffe_table_get(), and giraffe_table_set(). Referenced by giraffe_fibers_setup().
Attach a fiber table to a frame.
The function appends the fiber table fibers to the disk file indicated by the filename property of the frame frame.
Definition at line 853 of file gifiberutils.c. References giraffe_frame_attach_table(), giraffe_table_delete(), giraffe_table_duplicate(), giraffe_table_get(), giraffe_table_get_properties(), and giraffe_table_set_properties().
Remove the reference index column from a fiber list.
If the fiber list fibers contains a columns Definition at line 1133 of file gifiberutils.c. References giraffe_table_get().
Compare two fiber lists.
The function verifies that the fiber list fibers contains the same set of fibers, or is a sub set of the fibers listed in reference. Fibers are identified using their fiber position within the slit, i.e. both tables must have a column named 'FPS'. Definition at line 921 of file gifiberutils.c. References giraffe_table_get().
Creates the fiber table.
The function builds a table of fibers which have to be processed from the slit geometry file slitfile and an OzPoz table if it is present in the input file filename. If spectra is not
Definition at line 93 of file gifiberutils.c. References giraffe_get_mode(), giraffe_table_delete(), giraffe_table_get(), giraffe_table_load(), and giraffe_table_new(). Referenced by giraffe_create_spectrum_selection(), giraffe_fibers_select(), and giraffe_fibers_setup().
Get the list of subslit identifiers from a fiber setup.
The function retrieves all subslit identifiers (SSN numbers) from the fiber setup fibers, for all subslits which contain at least one fiber. Definition at line 1216 of file gifiberutils.c. Referenced by giraffe_fov_build().
Load a fiber table from a file.
The function reads the fiber table from the data set dataset of the file filename. If the data set identifier tag is not The fiber tables which can be loaded using this function have to be created with giraffe_fiberlist_create().
Definition at line 723 of file gifiberutils.c. References giraffe_table_delete(), giraffe_table_load(), and giraffe_table_new(). Referenced by giraffe_fibers_setup(), and giraffe_transmission_attach().
Query a fiber list for the name of the fiber reference index column.
The function queries the fiber list fibers for the name of the reference index column to be used when processing fibers. This name refers to the column which contains the index of a given fiber in an associated calibration frame (typically the fiber localization). Definition at line 1179 of file gifiberutils.c. Referenced by giraffe_slitgeometry_create(), and giraffe_slitgeometry_load().
Save a fiber table to a file.
The function saves the fiber table fibers as an attachment to the file filename.
Definition at line 776 of file gifiberutils.c. References giraffe_table_get(), giraffe_table_get_properties(), and giraffe_table_set_properties().
Parses a spectrum selection string.
The function parses the spectrum selection string selection and creates an array of indices from it. Each entry in the returned array is the number of the selected spectrum, i.e. the position in the slit. Counting of spectra starts at 1. The string to be parsed is a comma separated list of individual spectrum indices (the position of the spectrum within the slit), index ranges with a following, optional step size. Spectra may be excluded explicitly by listing their indices in the same way as described for selected spectra. If spectra should be excluded the list of exclusions must follow the list of selected spectra separated by a semicolon: The created array can be deallocated by a call to cx_free(). Definition at line 1303 of file gifiberutils.c. References gi_warning(). Referenced by giraffe_fibers_select(). |