idstools.compute.spectrometer_visible

Module Contents

class idstools.compute.spectrometer_visible.SpectrometerVisibleCompute(ids_object)[source]

This class provides compute functions for visible spectrometer ids.

ids_object

The visible spectrometer IDS (Integrated Data Structure) object containing spectroscopic measurements from visible light observations including channel definitions and spectral data.

Type:

object

ids_object
get_channels(channel_name_pattern=CHANNEL_NAME_PATTERN)[source]

The get_channels function retrieves information about channels based on a given channel name pattern.

Parameters:
channel_name_pattern=CHANNEL_NAME_PATTERN

The channel_name_pattern parameter is a regular expression pattern used to match the names of channels. It is used to filter out channels whose names do not match th specified pattern.

Returns:

a dictionary called “channels”.

get_valid_spectrometers()[source]

The function get_valid_spectrometers returns a list of valid spectrometers by extracting the names from the channel objects.

Returns:

a list of valid spectrometers.

idstools.compute.spectrometer_visible.CHANNEL_NAME_PATTERN = "'^(\\\\d{2}\\\\.\\\\w{2}) CH#(\\\\d{2}) Spectrum (\\\\d{1})$'"
idstools.compute.spectrometer_visible.LABEL_INTENSITY = "'Intensity (counts)'"
idstools.compute.spectrometer_visible.LABEL_RADIANCE = "'Spectral Radiance (ph s^-1 m^-2 sr^-1 nm^-1)'"
idstools.compute.spectrometer_visible.logger