pipeline.tools.reference_lamp_factory package¶
Subpackages¶
Submodules¶
pipeline.tools.reference_lamp_factory.create_reference_lamps module¶
-
class
pipeline.tools.reference_lamp_factory.create_reference_lamps.
ReferenceLibraryFactory
(arguments=None)¶ Bases:
object
-
class
pipeline.tools.reference_lamp_factory.create_reference_lamps.
Settings
(json_settings)¶ Bases:
object
-
class
pipeline.tools.reference_lamp_factory.create_reference_lamps.
SettingsField
(field)¶ Bases:
object
pipeline.tools.reference_lamp_factory.line_matcher module¶
-
class
pipeline.tools.reference_lamp_factory.line_matcher.
LineMatcher
¶ Bases:
object
-
identify_matching_line
()¶ Interactive recording lines
This function runs in an independent thread and is triggered by a click event on the plot.
There is a very rudimentary locking system defined by a boolean self.lock_identify. This lock is activated at the beginning and deactivated at the end of the execution of this function.
Returns:
-
-
pipeline.tools.reference_lamp_factory.line_matcher.
get_spectral_characteristics
(ccd)¶ Calculates some Goodman’s specific spectroscopic values.
From the header value for Grating, Grating Angle and Camera Angle it is possible to estimate what are the wavelength values at the edges as well as in the center. It was necessary to add offsets though, since the formulas provided are slightly off. The values are only an estimate.
Returns: - Contains the following parameters:
- center: Center Wavelength blue: Blue limit in Angstrom red: Red limit in Angstrom alpha: Angle beta: Angle pix1: Pixel One pix2: Pixel Two
Return type: spectral_characteristics (dict)
pipeline.tools.reference_lamp_factory.wcs_model_calculator module¶
-
class
pipeline.tools.reference_lamp_factory.wcs_model_calculator.
GSPWcsCalculator
(save_pdf_to=None)¶ Bases:
object