![]() |
GIRAFFE Pipeline Reference Manual |
|||
|
|
Miscellaneous Utilities
Detailed DescriptionTBD Function Documentation
Add frameset specific information to a property list.
The function adds DFS specific information to the property list plist, used for product frames. This information, name, tag, and MD5SUM of the files used during processing are taken from the contents of the reference frameset set. The recipe sequence number sequence is the index of a recipe within a recipe chain. For single recipe calls this is always Definition at line 586 of file giutils.c. References giraffe_path_get_basename(). Referenced by giraffe_image_add_info(), and giraffe_table_add_info().
Add recipe specific information to a property list. TBD Definition at line 488 of file giutils.c. Referenced by giraffe_image_add_info(), and giraffe_table_add_info().
Determines the instrument mode from a property list.
The function determines the instrument mode by querying the properties properties. Definition at line 305 of file giutils.c. References gi_warning(). Referenced by giraffe_fiberlist_create(), giraffe_fov_build(), giraffe_grating_create(), giraffe_grating_setup(), giraffe_localize_spectra(), and giraffe_slitgeometry_load().
Get the current date and time in ISO 8601 format.
The function formats the current date and the local system time according to the ISO 8601 format and puts both together in a string. The returned string must be deallocated using cx_free().
Gets the name of a file without any leading directory components.
Gets the name of the file without any leading directory components. The function allocates a buffer containing the stripped file name. The returned string should be deallocated using cx_free() when it is no longer needed. Definition at line 383 of file giutils.c. Referenced by giraffe_add_frameset_info().
Retrieve the read-out noise from the given properties.
The function determines the detector read-out noise in electrons from the properties properties. The properties are searched for the measured read-out noise property (bias sigma). If this is not found, the default detector read-out noise property is taken. The conversion factor property is used to convert the read-out noise from ADU into electrons, as necessary. Definition at line 1213 of file giutils.c. Referenced by giraffe_compute_fiber_profiles(), giraffe_extract_spectra(), and giraffe_localize_spectra().
Update a property list.
The function updates the target property list with properties from the source list properties, which are not present in self. If a pattern string is given only properties with names matching the given pattern regexp are taken into account when self is updated. If a pattern is given, it must be a valid regular expression. If the pattern string is either Definition at line 759 of file giutils.c. Referenced by giraffe_extract_spectra(). |