SciFiReaders.readers.spectroscopy.SpeReader.RamanSpeReader

class SciFiReaders.readers.spectroscopy.SpeReader.RamanSpeReader(file_path, *args, **kwargs)[source]

Bases: sidpy.sid.reader.Reader

Parameters

file_path (str) – Path to the file that needs to be read

self._input_file_path

Path to the file that will be read

Type

str

Notes

  • This method will check to make sure that the provided file_path is indeed a string and a valid file path.

  • Consider calling can_read() within __init__() for validating the provided file

Raises

FileNotFoundError

Methods

can_read

Tests whether or not the provided file has .spe extension

read

Reads a single Raman spectra from a Princeton Instruments CCD camera.

can_read()[source]

Tests whether or not the provided file has .spe extension

read()[source]

Reads a single Raman spectra from a Princeton Instruments CCD camera.

Returns

data_set – wraps all the raw data and metadata from the input file into a Dataset object

Return type

sidpy.Dataset object