import_spectrum

import_spectrum

import_spectrum(self, num=None)[source]

Import a pickle file of a spectrum to get fast common information shared by all spectra

Parameters

num (index of the spectrum to extract (if None random selection)) –

Return type

Dict[str, Any]

Returns

Return the open pickle file