A simple plug-in to add Raman lines from common test samples to the current spectra.
More...
|
| | generate_points (self, sample) |
| | Generate Raman lines as a list of (x, y) tuples, where x is the Raman shift in wavenumbers and y is the relative intensity scaled to the current spectrum, cropping to only those points visible within the horizontal ROI.
|
| |
| | get_configuration (self) |
| | These would be better as a single drop-down combo box, but we haven't yet added that as a supported plugin input type.
|
| |
| | get_samples (self) |
| |
| | process_request (self, request) |
| |
| | __init__ (self, ctl) |
| |
| | connect (self) |
| | Do whatever you have to do to prepare for processing measurements.
|
| |
| | disconnect (self) |
| | Called when ENLIGHTEN is shutting down.
|
| |
| | field (self, **kwargs) |
| |
| | get_axis (self, processed_reading=None) |
| |
| | get_axis_name (self) |
| |
| | get_axis_short_name (self) |
| |
| | get_configuration_obj (self) |
| | End functional-plugins backend ####.
|
| |
| | get_plugin_field (self, name) |
| | get the associated enlighten.Plugins.PluginFieldWidget (which IS a QWidget, mind you)
|
| |
| | get_widget_from_name (self, name) |
| | get the associated QLabel, QSpinBox, etc
|
| |
| | log (self, *msgs) |
| | Begin functional-plugins backend ###.
|
| |
| | output (self, name, value) |
| |
| | plot (self, y, x=None, title=None, color=None) |
| | When plotting on the main scope graph the (co)domain matches that existing graph.
|
| |
| | process_request_obj (self, request) |
| |
| | to_graph (self, x) |
| | Undo to_pixel conversion, and set point back to currently selected graph X-Axis.
|
| |
| | to_pixel (self, x, domain=None) |
| | domain is an array where the index corresponds to a detector pixel number.
|
| |
| | update_visibility (self) |
| | Something has happened which might cause the plugin to wish to refresh its visible state – perhaps a new spectrometer was connected.
|
| |
| | wavelength_to_pixel (self, wavelength) |
| |
| | wavenumber_to_pixel (self, wavenumber) |
| |
A simple plug-in to add Raman lines from common test samples to the current spectra.
The lines displayed are limited to those appearing within the current spectrometer's configured wavecal and ROI. Lines are scaled to the current spectrum, and relative intensities are roughly set to approximate typical appearance against common transmission curves.